matthiasnoback/symfony-dependency-injection-test
Library for testing user classes related to the Symfony Dependency Injection Component
6.3.0
9.8M downloads/mo
#2035 most downloaded on Packagist
SymfonyTest/SymfonyDependencyInjectionTest
What this package is like to depend on
Last release 5 months ago
25 Feb 2026
Release timing varies
gaps range from 9 days to 1.7 years
Most releases are documented
notes for 26 of 39 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
39 releases · first in 2013
2 releases in the last 12 months
see the full history below
Release timeline
39 releases · Sep 2013 to Feb 2026Releases
latest 39-
6.3.025 Feb 2026 -
6.2.029 Nov 2025Release notes
Open source →What's Changed
- Add PHP 8.4 build, run tests with Symfony 7.3 and 7.4, add Symfony 8.0 support by @mbabker in #165
- improve ci with newer versions by @garak in #169
- Use the PHPUnit Exporter util class by @mbabker in #166
- Misc. readme and CI updates before release by @mbabker in #170
New Contributors
Full Changelog: 6.1.0...6.2.0
-
6.1.008 Mar 2025Release notes
Open source →What's Changed
- Update version matrix in readme by @jdreesen in #162
- phpunit 12 by @wickedOne in #164
Full Changelog: 6.0.0...6.1.0
-
6.0.026 Apr 2024Release notes
Open source →What's Changed
- add support for phpunit 11 by @wickedOne in #157
- chore: remove testruns for symfony 6.3 by @Chris53897 in #161
- chore: fix ci deprecations, bump actions/cache 3 => 4 by @Chris53897 in #160
New Contributors
- @wickedOne made their first contribution in #157
Full Changelog: 5.1.0...6.0.0
-
5.1.013 Dec 2023Release notes
Open source →What's Changed
- docs: fix ci badge in README.md by @Chris53897 in #152
- Use the correct argument in
assertContainerBuilderServiceDecoration()by @mbabker in #147 - Add basic tests for
DefinitionDecoratesConstraintby @stloyd in #155 - Fail when comparing arguments with reference by @stloyd in #154
- Check identity of the Container parameter by @Zales0123 in #128
New Contributors
- @Zales0123 made their first contribution in #128
Full Changelog: 5.0.0...5.1.0
-
5.0.016 Nov 2023Release notes
Open source →What's Changed
- 5.0 Proposal by @mbabker in #148
- chore: fix ci deprecations by @Chris53897 in #150
- Add PhpUnit 9.x to the supported version matrix in the readme by @jdreesen in #145
- Fix link in readme by @jdreesen in #144
- Symfony 7 support by @kbond in #149
- Switch to modern syntax for arrays in readme by @andrew-demb in #139
- minor CS fix by @Nyholm in #151
- Proper hierarchy for usage example chapters in readme by @andrew-demb in #140
- Make it easy to copy require command from Github interface by @loevgaard in #138
New Contributors
- @Chris53897 made their first contribution in #150
- @jdreesen made their first contribution in #145
- @kbond made their first contribution in #149
Full Changelog: v4.3.1...5.0.0
-
v4.3.125 May 2023Nothing published for this version
-
4.3.015 Sep 2021Release notes
Open source →Changes:
- Added support for Symfony 6,
- Removed support for Symfony <4.4 & >5.0 - <5.3
Release notes
Open source →- Added support for Symfony 6,
- Removed support for Symfony <4.4 & >5.0 - <5.3
-
4.2.115 Nov 2020 -
4.2.008 Oct 2020Release notes
Open source →- Fix: PSR-4 autoloading (#132)
- Add
@coversNothingannotation to prevent raising risky warnings in PHPUnit 9 - Fix: run
prepend()for all extensions first, thenload()then extensions (#126)
-
4.1.103 Dec 2019Nothing published for this version
-
4.1.023 Nov 2019 -
4.0.028 Mar 2019Release notes
Open source →- 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.
-
v3.1.025 Dec 2018 -
v3.0.006 Mar 2018Release notes
Open source →- 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
-
v2.3.106 Mar 2018Nothing published for this version
-
v2.3.030 Nov 2017Release notes
Open source →- Testing on Symfony 4 and make sure test passes
- Support for named arguments
- Service/alias names might be FQCNs
-
v2.2.017 Oct 2017 -
v2.1.020 Mar 2017Release notes
Open source →- Added support for validating invocation index order of method call (see #69).
-
v2.0.008 Feb 2017Release notes
Open source →- Only support PHPUnit 6
- Only support Symfony 2.* and 3.* LTS versions
- Require PHP ^7.0
- Drop support for HHVM
-
v1.2.030 Nov 2017Nothing published for this version
-
v1.1.030 Nov 2016Nothing published for this version
-
v1.0.119 Oct 2016Nothing published for this version
-
v1.0.004 Jul 2016Nothing published for this version
-
v0.7.612 Nov 2015Nothing published for this version
-
v0.7.529 Oct 2015Nothing published for this version
-
v0.7.420 Jun 2015Nothing published for this version
-
v0.7.319 Apr 2015Nothing published for this version
-
v0.7.218 Apr 2015Release notes
Open source →- Made alias/service id comparison case insensitive. Reported and fixed by Christian Flothmann (@xabbuh).
-
v0.7.107 Jul 2014Release notes
Open source →- 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).
- Fixed a bug in
-
v0.7.024 Jun 2014Release notes
Open source →- Add
assertContainerBuilderNotHasService(), contributed by Uwe Jäger (@uwej711).
- Add
-
v0.6.028 Apr 2014Release notes
Open source →- Fix AbstractCompilerPassTestCase when using strict-mode, contributed by Sebastiaan Stok (@sstok).
-
v0.5.010 Apr 2014Release notes
Open source →- Automatically resolve a definition's class before comparing it to the expected class (in
ContainerBuilderHasServiceDefinitionConstraint).
- Automatically resolve a definition's class before comparing it to the expected class (in
-
v0.4.026 Feb 2014Release notes
Open source →- Added
ContainerBuilderHasSyntheticServiceConstraintand corresponding assertion toAbstractContainerBuilderTestCase(as suggested by @WouterJ).
- Added
-
v0.3.016 Nov 2013Release notes
Open source →- Renamed
AbstractCompilerPassTesttoAbstractCompilerPassTestCase(contributed by @mbadolato).
- Renamed
-
v0.2.113 Nov 2013Nothing published for this version
-
v0.2.013 Nov 2013Release notes
Open source →- Added
AbstractExtensionConfigurationTestCasefor testing different types of configuration files. - Made the library compatible with Symfony versions 2.0 and up.
- Added
-
v0.1.120 Oct 2013Release notes
Open source →- Renamed
ContainerBuilderTestCasetoAbstractContainerBuilderTestCaseand made it abstract. - Added
DefinitionIsChildOfConstraintto 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)
- Renamed
-
v0.1.004 Sep 2013Nothing published for this version