Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 1.88 KB

CHANGELOG.md

File metadata and controls

64 lines (38 loc) · 1.88 KB

Changelog

v2.3.0

  • Testing on Symfony 4 and make sure test passes
  • Support for named arguments
  • Service/alias names might be FQCNs

v2.2.0

  • Support for Symfony 4

v2.1.0

  • Added support for validating invocation index order of method call (see #69).

v2.0.0

  • Only support PHPUnit 6
  • Only support Symfony 2.* and 3.* LTS versions
  • Require PHP ^7.0
  • Drop support for HHVM

v0.7.2

  • Made alias/service id comparison case insensitive. Reported and fixed by Christian Flothmann (@xabbuh).

v0.7.1

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

v0.7.0

  • Add assertContainerBuilderNotHasService(), contributed by Uwe Jäger (@uwej711).

v0.6.0

  • Fix AbstractCompilerPassTestCase when using strict-mode, contributed by Sebastiaan Stok (@sstok).

v0.5.0

  • Automatically resolve a definition's class before comparing it to the expected class (in ContainerBuilderHasServiceDefinitionConstraint).

v0.4.0

  • Added ContainerBuilderHasSyntheticServiceConstraint and corresponding assertion to AbstractContainerBuilderTestCase (as suggested by @WouterJ).

v0.3.0

  • Renamed AbstractCompilerPassTest to AbstractCompilerPassTestCase (contributed by @mbadolato).

v0.2.0

  • Added AbstractExtensionConfigurationTestCase for testing different types of configuration files.
  • Made the library compatible with Symfony versions 2.0 and up.

v0.1.1

  • Renamed ContainerBuilderTestCase to AbstractContainerBuilderTestCase 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)