diff --git a/.phive/phars.xml b/.phive/phars.xml index 63a030f34ebaa167a4ac0c278a66d42d6f1d11e6..ebb5988ac5456a0286d35a530df2673a49c57c2b 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <phive xmlns="https://phar.io/phive"> - <phar name="phpstan" version="1.11.1" installed="1.11.1" location="./tools/phpstan" copy="false"/> + <phar name="phpstan" version="1.11.8" installed="1.11.8" location="./tools/phpstan" copy="false"/> <phar name="phpunit" version="^10.5.20" installed="10.5.20" location="./tools/phpunit" copy="false"/> <phar name="phpcs" version="^3.10.1" installed="3.10.1" location="./tools/phpcs" copy="false"/> <phar name="phpcbf" version="^3.10.1" installed="3.10.1" location="./tools/phpcbf" copy="false"/> diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..48311efc2d6a9b3195b28a214d6408426bb554cd 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -0,0 +1,6 @@ +parameters: + ignoreErrors: + - + message: "#^Parameter \\#2 \\$val of method QUI\\\\QDOM\\:\\:setAttribute\\(\\) expects array\\|bool\\|object\\|string, int given\\.$#" + count: 1 + path: src/QUI/Interview/Controls/IntervieweeData.php diff --git a/phpstan.dist.neon b/phpstan.dist.neon index 15e9210673a01ed98b39e12b6280cfa0aa90f038..58a61ffc72c1f40e0a78719bbd0039957efa3ccb 100644 --- a/phpstan.dist.neon +++ b/phpstan.dist.neon @@ -2,7 +2,9 @@ includes: - phpstan-baseline.neon parameters: - level: 8 + level: 5 paths: - src + bootstrapFiles: + - tests/phpstan-bootstrap.php tipsOfTheDay: false