@@ -66,7 +66,7 @@ public function itDoesNotFlagRegularClassnames(): void
6666 }
6767
6868 #[Test, DataProvider('knownExceptionNameProvider ' )]
69- public function itRecognisesAllExceptionNames (string $ name ): void
69+ public function itRecognisesAllKnownExceptionNames (string $ name ): void
7070 {
7171 self ::assertTrue (ExceptionNameSniff::looksLikeException ($ name ));
7272 }
@@ -288,6 +288,25 @@ public static function knownExceptionNameProvider(): iterable
288288 'ParseError ' ,
289289 'PDOException ' ,
290290 'PharException ' ,
291+ 'parallel \\Channel \\Error \\Closed ' ,
292+ 'parallel \\Channel \\Error \\Existence ' ,
293+ 'parallel \\Channel \\Error \\IllegalValue ' ,
294+ 'parallel \\Events \\Error \\Existence ' ,
295+ 'parallel \\Events \\Error \\Timeout ' ,
296+ 'parallel \\Events \\Input \\Error \\Existence ' ,
297+ 'parallel \\Events \\Input \\Error \\IllegalValue ' ,
298+ 'parallel \\Future \\Error \\Cancelled ' ,
299+ 'parallel \\Future \\Error \\Foreign ' ,
300+ 'parallel \\Future \\Error \\Killed ' ,
301+ 'parallel \\Runtime \\Error \\Bootstrap ' ,
302+ 'parallel \\Runtime \\Error \\Closed ' ,
303+ 'parallel \\Runtime \\Error \\IllegalFunction ' ,
304+ 'parallel \\Runtime \\Error \\IllegalInstruction ' ,
305+ 'parallel \\Runtime \\Error \\IllegalParameter ' ,
306+ 'parallel \\Runtime \\Error \\IllegalReturn ' ,
307+ 'parallel \\Runtime \\Error \\IllegalVariable ' ,
308+ 'parallel \\Runtime \\Error \\Killed ' ,
309+ 'parallel \\Sync \\Error \\IllegalValue ' ,
291310 'Random \\BrokenRandomEngineError ' ,
292311 'Random \\RandomError ' ,
293312 'Random \\RandomException ' ,
@@ -299,6 +318,8 @@ public static function knownExceptionNameProvider(): iterable
299318 'SoapFault ' ,
300319 'SodiumException ' ,
301320 'SQLite3Exception ' ,
321+ 'svmexception ' ,
322+ 'Swoole \\Exception \\ArrayKeyNotExists ' ,
302323 'TypeError ' ,
303324 'UnderflowException ' ,
304325 'UnexpectedValueException ' ,
@@ -308,6 +329,13 @@ public static function knownExceptionNameProvider(): iterable
308329 'Uri \\UriException ' ,
309330 'Uri \\WhatWg \\InvalidUrlException ' ,
310331 'ValueError ' ,
332+ 'Yaf \\Exception \\DispatchFailed ' ,
333+ 'Yaf \\Exception \\LoadFailed ' ,
334+ 'Yaf \\Exception \\LoadFailed \\Action ' ,
335+ 'Yaf \\Exception \\LoadFailed \\Controller ' ,
336+ 'Yaf \\Exception \\LoadFailed \\Module ' ,
337+ 'Yaf \\Exception \\LoadFailed \\View ' ,
338+ 'Yaf \\Exception \\RouterFailed ' ,
311339 ];
312340
313341 foreach ($ names as $ name ) {
0 commit comments