Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #24671 [DI] Handle container.autowiring.strict_mode to opt-ou…
…t from legacy autowiring (nicolas-grekas) This PR was merged into the 3.4 branch. Discussion ---------- [DI] Handle container.autowiring.strict_mode to opt-out from legacy autowiring | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - To preserve BC, autowiring still wires things in hybrid 2.8/3.3 modes. But 2.8 mode is really a foot gun. I propose to add a new parameter in SF3.4, to opt-out of this 2.8 mode, and enable this strict mode for all new projects. WDYT? (see symfony/recipes#221 for corresponding change on Flex recipe) Commits ------- a4a0ae2 [DI] Handle container.autowiring.strict_mode to opt-out from legacy autowiring
- Loading branch information