Skip to content

Commit

Permalink
update phpstan config
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 19, 2024
1 parent c9e06cb commit 396e058
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpstan" version="1.12.3" installed="1.12.3" location="./tools/phpstan" copy="false"/>
<phar name="phpstan" version="1.12.4" installed="1.12.4" location="./tools/phpstan" copy="false"/>
<phar name="psalm" version="5.26.1" installed="5.26.1" location="./tools/psalm" copy="false"/>
</phive>
4 changes: 3 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ parameters:
ignoreErrors:
-
identifier: missingType.iterableValue

-
identifier: missingType.generics

-
message: "#^Parameter \\#1 \\$field of method Cake\\\\Datasource\\\\EntityInterface\\:\\:get\\(\\) expects string, array\\<string\\>\\|string given\\.$#"
message: "#^Parameter \\#1 \\$field of method Cake\\\\Datasource\\\\EntityInterface\\:\\:get\\(\\) expects string, array\\<int, string\\>\\|string given\\.$#"
count: 1
path: src/File/Path/DefaultProcessor.php

Expand Down

0 comments on commit 396e058

Please sign in to comment.