Commit f7c4870
committed
minor #18346 [DependencyInjection] Warns
This PR was merged into the 5.4 branch.
Discussion
----------
[DependencyInjection] Warns `instanceof` should be called before services registration
Fixes symfony/symfony#49988 and symfony/symfony#50329
Order matters when configuring the service container using PHP.
Maybe we should warn about `defaults` too but I’m not sure where 🤔
Commits
-------
dc2d048 [DependencyInjection] Warns `instanceof` should be called before services registrationinstanceof should be called before services registration (MatTheCat)1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
0 commit comments