Skip to content

Commit

Permalink
added excluded files by hand
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Feb 23, 2024
1 parent 75fe263 commit 402a978
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion phpstan-baseline.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
<?php declare(strict_types = 1);

$excludePaths = [
'tests/Ticket/632TestCase.php',
'lib/Doctrine/Search/Indexer.php',
'tests/Collection/SnapshotTestCase.php',
'tests/CollectionTestCase.php',
'tests/IntegrityActionTestCase.php',
'tests/Relation/NestTestCase.php',
'tests/Ticket/1449TestCase.php',
'tests/Ticket/1876TestCase.php',
'tests/Ticket/1876bTestCase.php',
'tests/Ticket/1876bTestCase.php',
'tests/Ticket/632TestCase.php',
'tests/Ticket/632TestCase.php',
'tests/run.php',
];

$ignoreErrors = [];
$ignoreErrors[] = [
'message' => '#^Class Doctrine_Access implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#',
Expand Down Expand Up @@ -40593,4 +40609,4 @@ functionname\\. See call_user_func in php manual for more inforamtion\\)\\: Unex
'path' => __DIR__ . '/tests/unsolved.php',
];

return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
return ['parameters' => ['ignoreErrors' => $ignoreErrors, 'excludePaths' => ['analyse' => $excludePaths]]];

0 comments on commit 402a978

Please sign in to comment.