Skip to content

Commit

Permalink
Ignore phpstan errors of dummy StringStream
Browse files Browse the repository at this point in the history
  • Loading branch information
rojtjo committed Sep 18, 2024
1 parent 0684fdb commit 5250150
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,2 +1,46 @@
parameters:
ignoreErrors:
-
message: "#^Method Dummy\\\\StringStream\\:\\:eof\\(\\) should return bool but return statement is missing\\.$#"
count: 1
path: tests/Dummy/StringStream.php

-
message: "#^Method Dummy\\\\StringStream\\:\\:getContents\\(\\) should return string but return statement is missing\\.$#"
count: 1
path: tests/Dummy/StringStream.php

-
message: "#^Method Dummy\\\\StringStream\\:\\:getSize\\(\\) should return int\\|null but return statement is missing\\.$#"
count: 1
path: tests/Dummy/StringStream.php

-
message: "#^Method Dummy\\\\StringStream\\:\\:isReadable\\(\\) should return bool but return statement is missing\\.$#"
count: 1
path: tests/Dummy/StringStream.php

-
message: "#^Method Dummy\\\\StringStream\\:\\:isSeekable\\(\\) should return bool but return statement is missing\\.$#"
count: 1
path: tests/Dummy/StringStream.php

-
message: "#^Method Dummy\\\\StringStream\\:\\:isWritable\\(\\) should return bool but return statement is missing\\.$#"
count: 1
path: tests/Dummy/StringStream.php

-
message: "#^Method Dummy\\\\StringStream\\:\\:read\\(\\) should return string but return statement is missing\\.$#"
count: 1
path: tests/Dummy/StringStream.php

-
message: "#^Method Dummy\\\\StringStream\\:\\:tell\\(\\) should return int but return statement is missing\\.$#"
count: 1
path: tests/Dummy/StringStream.php

-
message: "#^Method Dummy\\\\StringStream\\:\\:write\\(\\) should return int but return statement is missing\\.$#"
count: 1
path: tests/Dummy/StringStream.php

0 comments on commit 5250150

Please sign in to comment.