Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit 5b2f7399 erstellt von Jan Wennrich's avatar Jan Wennrich
Dateien durchsuchen

chore: set PHPStan to level 5 with baseline

Übergeordneter 07d1c375
No related branches found
No related tags found
3 Merge Requests!13Update 'next-3.x' with latest changes from 'main',!12fix(phpstan): improved method validity checks and reduced error handling,!9Add QUIQQER Tooling
<?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"/>
......
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method QUI\\\\CRUD\\\\Child\\:\\:isActive\\(\\)\\.$#"
count: 1
path: ajax/activate.php
-
message: "#^Call to an undefined method QUI\\\\CRUD\\\\Child\\:\\:isActive\\(\\)\\.$#"
count: 1
path: ajax/deactivate.php
-
message: "#^Call to an undefined method QUI\\\\CRUD\\\\Child\\:\\:getTitle\\(\\)\\.$#"
count: 1
path: ajax/get.php
-
message: "#^Parameter \\#2 \\$callback of function usort expects callable\\(mixed, mixed\\)\\: int, Closure\\(mixed, mixed\\)\\: bool given\\.$#"
count: 1
path: ajax/search.php
-
message: "#^Call to an undefined method QUI\\\\CRUD\\\\Child\\:\\:isActive\\(\\)\\.$#"
count: 2
path: ajax/toggle.php
-
message: "#^Call to method getArticles\\(\\) on an unknown class QUI\\\\ERP\\\\Order\\\\OrderInterface\\.$#"
count: 1
path: src/QUI/ERP/Discount/Discount.php
-
message: "#^Parameter \\#2 \\$array of function implode expects array\\|null, string given\\.$#"
count: 1
path: src/QUI/ERP/Discount/Discount.php
-
message: "#^Parameter \\$Order of method QUI\\\\ERP\\\\Discount\\\\Discount\\:\\:canUsedInOrder\\(\\) has invalid type QUI\\\\ERP\\\\Order\\\\OrderInterface\\.$#"
count: 2
path: src/QUI/ERP/Discount/Discount.php
-
message: "#^Parameter \\#2 \\$string of function explode expects string, float\\|int\\<min, \\-1\\>\\|int\\<1, max\\>\\|true given\\.$#"
count: 1
path: src/QUI/ERP/Discount/PriceFactor.php
......@@ -2,7 +2,7 @@ includes:
- phpstan-baseline.neon
parameters:
level: 1
level: 5
paths:
- src
- ajax
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren