Skip to content

Commit 61e7705

Browse files
committed
qa: ignore missing file errors for several tests
The files are created during testing, prior to being included by the individual tests. Psalm does not know that, and assumes they are missing. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent f18a24c commit 61e7705

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

psalm.xml.dist

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@
3333
<referencedMethod name="PHPUnit\Framework\MockObject\Builder\InvocationMocker::with"/>
3434
</errorLevel>
3535
</InternalMethod>
36+
37+
<MissingFile>
38+
<errorLevel type="suppress">
39+
<file name="test/Model/DbAutodiscoveryModelFactoryTest.php" />
40+
<file name="test/Model/DbConnectedRestServiceModelTest.php" />
41+
<file name="test/Model/RestServiceModelTest.php" />
42+
<file name="test/Model/RestServiceResourceTest.php" />
43+
</errorLevel>
44+
</MissingFile>
3645
</issueHandlers>
3746

3847
<plugins>

0 commit comments

Comments
 (0)