Skip to content

Commit 402a978

Browse files
committed
added excluded files by hand
1 parent 75fe263 commit 402a978

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

phpstan-baseline.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
<?php declare(strict_types = 1);
22

3+
$excludePaths = [
4+
'tests/Ticket/632TestCase.php',
5+
'lib/Doctrine/Search/Indexer.php',
6+
'tests/Collection/SnapshotTestCase.php',
7+
'tests/CollectionTestCase.php',
8+
'tests/IntegrityActionTestCase.php',
9+
'tests/Relation/NestTestCase.php',
10+
'tests/Ticket/1449TestCase.php',
11+
'tests/Ticket/1876TestCase.php',
12+
'tests/Ticket/1876bTestCase.php',
13+
'tests/Ticket/1876bTestCase.php',
14+
'tests/Ticket/632TestCase.php',
15+
'tests/Ticket/632TestCase.php',
16+
'tests/run.php',
17+
];
18+
319
$ignoreErrors = [];
420
$ignoreErrors[] = [
521
'message' => '#^Class Doctrine_Access implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#',
@@ -40593,4 +40609,4 @@ functionname\\. See call_user_func in php manual for more inforamtion\\)\\: Unex
4059340609
'path' => __DIR__ . '/tests/unsolved.php',
4059440610
];
4059540611

40596-
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
40612+
return ['parameters' => ['ignoreErrors' => $ignoreErrors, 'excludePaths' => ['analyse' => $excludePaths]]];

0 commit comments

Comments
 (0)