- 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)