- Added support for Symfony 6,
- Removed support for Symfony <4.4 & >5.0 - <5.3
- Support for PHP8
- Fix: PSR-4 autoloading (#132)
- Add
@coversNothing
annotation to prevent raising risky warnings in PHPUnit 9 - Fix: run
prepend()
for all extensions first, thenload()
then extensions (#126)
- Support for Symfony 5.
- Added support for PHPUnit 8.0
- Dropped support for PHPUnit 7.x
- Dropped support for PHP 7.1
- Made classes and methods final
- Added more type hints.
- Added support for
yaml
file extension.
- Dropped support for PHPUnit < 7.0
- [BC Break] Add return type hints to all
toString()
methods of the constraint classes for compatibility with PHPUnit 7 - Dropped support for PHP < 7.1
- Testing on Symfony 4 and make sure test passes
- Support for named arguments
- Service/alias names might be FQCNs
- Support for Symfony 4
- Added support for validating invocation index order of method call (see #69).
- Only support PHPUnit 6
- Only support Symfony 2.* and 3.* LTS versions
- Require PHP ^7.0
- Drop support for HHVM
- Made alias/service id comparison case insensitive. Reported and fixed by Christian Flothmann (@xabbuh).
- Fixed a bug in
DefinitionHasTagConstraint
: it didn't throw an exception when a tag was missing, which resulted in false positives. Reported and fixed by Christian Flothmann (@xabbuh).
- Add
assertContainerBuilderNotHasService()
, contributed by Uwe Jäger (@uwej711).
- Fix AbstractCompilerPassTestCase when using strict-mode, contributed by Sebastiaan Stok (@sstok).
- Automatically resolve a definition's class before comparing it to the expected class (in
ContainerBuilderHasServiceDefinitionConstraint
).
- Added
ContainerBuilderHasSyntheticServiceConstraint
and corresponding assertion toAbstractContainerBuilderTestCase
(as suggested by @WouterJ).
- Renamed
AbstractCompilerPassTest
toAbstractCompilerPassTestCase
(contributed by @mbadolato).
- Added
AbstractExtensionConfigurationTestCase
for testing different types of configuration files. - Made the library compatible with Symfony versions 2.0 and up.
- Renamed
ContainerBuilderTestCase
toAbstractContainerBuilderTestCase
and made it abstract. - Added
DefinitionIsChildOfConstraint
to verify that a given service has the expected parent service. Also added a shortcut for using this constraint in the test cases:assertContainerBuilderHasServiceDefinitionWithParent($serviceId, $parentServiceId)