Skip to content

Commit

Permalink
Fix compatibility with Symfony 7+
Browse files Browse the repository at this point in the history
From this version there's no need to set container parameters to inline
components, instead we should configure options during the compilation.

This drops the parameter configuration from everywhere and simplifies
the build process.

Signed-off-by: Luís Cobucci <[email protected]>
  • Loading branch information
lcobucci committed Nov 10, 2024
1 parent 83be0ff commit 43646d8
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 124 deletions.
28 changes: 14 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@
"homepage": "https://github.com/lcobucci/di-builder",
"require": {
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"symfony/config": "^6.3.2",
"symfony/dependency-injection": "^6.3.2",
"symfony/expression-language": "^6.3.0",
"symfony/filesystem": "^6.3.1"
"symfony/config": "^7.1",
"symfony/dependency-injection": "^7.1",
"symfony/expression-language": "^7.1",
"symfony/filesystem": "^7.1"
},
"require-dev": {
"infection/infection": "^0.29",
"lcobucci/coding-standard": "^11.0.0",
"mikey179/vfsstream": "^1.6.11",
"phpstan/extension-installer": "^1.2.0",
"phpstan/phpstan": "^1.10.13",
"phpstan/phpstan-deprecation-rules": "^1.1.3",
"phpstan/phpstan-phpunit": "^1.3.11",
"phpstan/phpstan-strict-rules": "^1.5.1",
"phpunit/phpunit": "^11.0",
"squizlabs/php_codesniffer": "^3.7.2",
"symfony/yaml": "^6.3.3"
"lcobucci/coding-standard": "^11.1",
"mikey179/vfsstream": "^1.6.12",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpstan/phpstan-phpunit": "^1.4",
"phpstan/phpstan-strict-rules": "^1.6",
"phpunit/phpunit": "^11.4",
"squizlabs/php_codesniffer": "^3.10",
"symfony/yaml": "^7.1"
},
"replace": {
"symfony/polyfill-php71": "*",
Expand Down
Loading

0 comments on commit 43646d8

Please sign in to comment.