You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #38100 [ErrorHandler] Parse "x not found" errors correctly on php 8 (derrabus)
This PR was merged into the 4.4 branch.
Discussion
----------
[ErrorHandler] Parse "x not found" errors correctly on php 8
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | #36872
| License | MIT
| Doc PR | N/A
This PR is #38049 applied to the 4.4 branch.
Commits
-------
d9c9aea [ErrorHandler] Parse "x not found" errors correctly on php 8.
"Attempted to load class \"WhizBangFactory\" from the global namespace.\nDid you forget a \"use\" statement?",
87
+
],
84
88
[
85
89
'Class \'WhizBangFactory\' not found',
86
90
"Attempted to load class \"WhizBangFactory\" from the global namespace.\nDid you forget a \"use\" statement?",
87
91
],
92
+
[
93
+
'Class "Foo\\Bar\\WhizBangFactory" not found',
94
+
"Attempted to load class \"WhizBangFactory\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?",
95
+
],
88
96
[
89
97
'Class \'Foo\\Bar\\WhizBangFactory\' not found',
90
98
"Attempted to load class \"WhizBangFactory\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?",
91
99
],
100
+
[
101
+
'Interface "Foo\\Bar\\WhizBangInterface" not found',
102
+
"Attempted to load interface \"WhizBangInterface\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?",
103
+
],
104
+
[
105
+
'Trait "Foo\\Bar\\WhizBangTrait" not found',
106
+
"Attempted to load trait \"WhizBangTrait\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?",
107
+
],
92
108
[
93
109
'Class \'UndefinedFunctionError\' not found',
94
110
"Attempted to load class \"UndefinedFunctionError\" from the global namespace.\nDid you forget a \"use\" statement for \"Symfony\Component\ErrorHandler\Error\UndefinedFunctionError\"?",