Commit 0c199da
committed
bug #58618 [DependencyInjection] Fix linting factories implemented via __callStatic (KevinVanSonsbeek)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[DependencyInjection] Fix linting factories implemented via __callStatic
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix #58614
| License | MIT
This PR is an extension of an old fix made back in symfony/symfony#44710.
Factory calls to static methods handled by the `__callStatic` method currently throw the "Invalid service DYZ: method Class::method() does not exist".
Commits
-------
e2f69af6bd3 [DependencyInjection] Fix linting factories implemented via __callStaticFile tree
2 files changed
+22
-0
lines changed- Compiler
- Tests/Compiler
2 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
205 | 209 | | |
206 | 210 | | |
207 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1015 | 1015 | | |
1016 | 1016 | | |
1017 | 1017 | | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
1018 | 1029 | | |
1019 | 1030 | | |
1020 | 1031 | | |
| |||
1050 | 1061 | | |
1051 | 1062 | | |
1052 | 1063 | | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
0 commit comments