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
Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ public function provideClassNotFoundData()
99
99
'file' => 'foo.php',
100
100
'message' => 'Class \'WhizBangFactory\' not found',
101
101
],
102
-
"Attempted to load class \"WhizBangFactory\" from the global namespace.\nDid you forget a \"use\" statement?",
102
+
"/^Attempted to load class \"WhizBangFactory\" from the global namespace.\nDid you forget a \"use\" statement\?$/",
103
103
],
104
104
[
105
105
[
@@ -108,7 +108,7 @@ public function provideClassNotFoundData()
108
108
'file' => 'foo.php',
109
109
'message' => 'Class \'Foo\\Bar\\WhizBangFactory\' not found',
110
110
],
111
-
"Attempted to load class \"WhizBangFactory\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?",
111
+
"/^Attempted to load class \"WhizBangFactory\" from namespace \"Foo\\\\Bar\".\nDid you forget a \"use\" statement for another namespace\?$/",
112
112
],
113
113
[
114
114
[
@@ -144,7 +144,7 @@ public function provideClassNotFoundData()
144
144
'file' => 'foo.php',
145
145
'message' => 'Class \'UndefinedFunctionException\' not found',
146
146
],
147
-
"Attempted to load class \"UndefinedFunctionException\" from the global namespace.\nDid you forget a \"use\" statement for \"Symfony\Component\Debug\Exception\UndefinedFunctionException\"?",
147
+
"/^Attempted to load class \"UndefinedFunctionException\" from the global namespace.\nDid you forget a \"use\" statement for .*\"Symfony\\\\Component\\\\Debug\\\\Exception\\\\UndefinedFunctionException\"\?$/",
148
148
[$debugClassLoader, 'loadClass'],
149
149
],
150
150
[
@@ -154,7 +154,7 @@ public function provideClassNotFoundData()
154
154
'file' => 'foo.php',
155
155
'message' => 'Class \'PEARClass\' not found',
156
156
],
157
-
"Attempted to load class \"PEARClass\" from the global namespace.\nDid you forget a \"use\" statement for \"Symfony_Component_Debug_Tests_Fixtures_PEARClass\"?",
157
+
"/^Attempted to load class \"PEARClass\" from the global namespace.\nDid you forget a \"use\" statement for \"Symfony_Component_Debug_Tests_Fixtures_PEARClass\"\?$/",
158
158
[$debugClassLoader, 'loadClass'],
159
159
],
160
160
[
@@ -164,7 +164,7 @@ public function provideClassNotFoundData()
164
164
'file' => 'foo.php',
165
165
'message' => 'Class \'Foo\\Bar\\UndefinedFunctionException\' not found',
166
166
],
167
-
"Attempted to load class \"UndefinedFunctionException\" from namespace \"Foo\Bar\".\nDid you forget a \"use\" statement for \"Symfony\Component\Debug\Exception\UndefinedFunctionException\"?",
167
+
"/^Attempted to load class \"UndefinedFunctionException\" from namespace \"Foo\\\\Bar\".\nDid you forget a \"use\" statement for .*\"Symfony\\\\Component\\\\Debug\\\\Exception\\\\UndefinedFunctionException\"\?$/",
168
168
[$debugClassLoader, 'loadClass'],
169
169
],
170
170
[
@@ -174,7 +174,7 @@ public function provideClassNotFoundData()
174
174
'file' => 'foo.php',
175
175
'message' => 'Class \'Foo\\Bar\\UndefinedFunctionException\' not found',
176
176
],
177
-
"Attempted to load class \"UndefinedFunctionException\" from namespace \"Foo\Bar\".\nDid you forget a \"use\" statement for \"Symfony\Component\Debug\Exception\UndefinedFunctionException\"?",
177
+
"/^Attempted to load class \"UndefinedFunctionException\" from namespace \"Foo\\\\Bar\".\nDid you forget a \"use\" statement for \"Symfony\\\\Component\\\\Debug\\\\Exception\\\\UndefinedFunctionException\"\?$/",
178
178
[$autoloader, 'loadClass'],
179
179
],
180
180
[
@@ -184,7 +184,7 @@ public function provideClassNotFoundData()
184
184
'file' => 'foo.php',
185
185
'message' => 'Class \'Foo\\Bar\\UndefinedFunctionException\' not found',
186
186
],
187
-
"Attempted to load class \"UndefinedFunctionException\" from namespace \"Foo\Bar\".\nDid you forget a \"use\" statement for \"Symfony\Component\Debug\Exception\UndefinedFunctionException\"?",
187
+
"/^Attempted to load class \"UndefinedFunctionException\" from namespace \"Foo\\\\Bar\".\nDid you forget a \"use\" statement for \"Symfony\\\\Component\\\\Debug\\\\Exception\\\\UndefinedFunctionException\"\?/",
188
188
[$debugClassLoader, 'loadClass'],
189
189
],
190
190
[
@@ -194,7 +194,7 @@ public function provideClassNotFoundData()
194
194
'file' => 'foo.php',
195
195
'message' => 'Class \'Foo\\Bar\\UndefinedFunctionException\' not found',
196
196
],
197
-
"Attempted to load class \"UndefinedFunctionException\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?",
197
+
"/^Attempted to load class \"UndefinedFunctionException\" from namespace \"Foo\\\\Bar\".\nDid you forget a \"use\" statement for another namespace\?$/",
0 commit comments