Christian Flothmann
777acfbac9
do not mock the container builder in tests
2018-02-14 11:03:57 +01:00
Maxime Steinhausser
68c1917af9
[FrameworkBundle][Validator] Move the PSR-11 factory to the component
2017-05-26 10:48:50 +02:00
Maxime Steinhausser
df747ce43f
[FrameworkBundle][Validator] Deprecate passing validator instances/aliases over using the service locator
2017-05-21 19:05:02 +02:00
Peter Rehm
ddd2dff9b2
Update to PHPUnit namespaces
2017-02-18 08:02:39 -08:00
Fabien Potencier
71d059cad1
fixed obsolete getMock() usage
2016-12-19 16:22:46 +01:00
Yonel Ceruto
b66ea5e16e
added friendly exception when constraint validator does not exist or it is not enabled
2016-08-24 03:54:03 -07:00
Christian Flothmann
2f2a732807
fix components tests
...
Since #12006 , the `ContainerBuilder` contains the
`addExpressionLanguageProvider()` method which references a class from
the ExpressionLanguage component. By default, the PHPUnit mock API
tries to mock all methods of the class being doubled. Since the
ExpressionLanguage component is not required to run the tests,
creating the mock objects fails when the mock API fails to mock
the `addExpressionLanguageProvider()` method.
2014-10-01 00:07:12 +02:00
Ait boudad Abdellatif
fc232a5d9a
[validator] throw an exception if isn't an instance of ConstraintValidatorInterface.
2013-12-07 09:07:04 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Johannes M. Schmitt
c5ef113b18
DI container optimization
2011-01-05 15:41:11 +01:00
Kris Wallsmith
7639fde3f2
[FrameworkBundle] updated constraint validator factory to work with non-DIC validators
2010-10-16 08:34:44 +02:00
Kris Wallsmith
e1f842344e
[FrameworkBundle] added a DIC tag-based constraint validator factory
2010-10-16 08:34:40 +02:00