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

chore: set PHPStan to level 5 with baseline

Übergeordneter 06aff2bb
No related branches found
No related tags found
3 Merge Requests!37Update 'next-3.x' with latest changes from 'main',!36Next 2.x,!33Add 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: "#^Property QUI\\\\Bricks\\\\Brick\\:\\:\\$uniqueId \\(string\\) does not accept default value of type false\\.$#"
count: 1
path: src/QUI/Bricks/Brick.php
-
message: "#^Call to an undefined method QUI\\\\Interfaces\\\\Projects\\\\Media\\\\File\\:\\:getImages\\(\\)\\.$#"
count: 1
path: src/QUI/Bricks/Controls/Slider/BasicSlider.php
-
message: "#^Call to an undefined method DOMNode\\:\\:getAttribute\\(\\)\\.$#"
count: 2
path: src/QUI/Bricks/Manager.php
-
message: "#^Class QUI\\\\Database\\\\Exception referenced with incorrect case\\: QUI\\\\DataBase\\\\Exception\\.$#"
count: 2
path: src/QUI/Bricks/Manager.php
-
message: "#^Method QUI\\\\Bricks\\\\Manager\\:\\:copyBrick\\(\\) should return int but returns string\\|false\\.$#"
count: 1
path: src/QUI/Bricks/Manager.php
-
message: "#^Method QUI\\\\Bricks\\\\Manager\\:\\:createBrickForProject\\(\\) should return int but returns string\\|false\\.$#"
count: 1
path: src/QUI/Bricks/Manager.php
-
message: "#^Parameter \\#1 \\$Setting of method QUI\\\\Bricks\\\\Manager\\:\\:parseSettingToBrickArray\\(\\) expects DOMElement, DOMNode given\\.$#"
count: 2
path: src/QUI/Bricks/Manager.php
-
message: "#^Parameter \\#2 \\$Site of method QUI\\\\Bricks\\\\Manager\\:\\:createUniqueBrickId\\(\\) expects QUI\\\\Projects\\\\Site, QUI\\\\Interfaces\\\\Projects\\\\Site given\\.$#"
count: 2
path: src/QUI/Bricks/Manager.php
-
message: "#^Parameter \\#2 \\$code of class QUI\\\\Exception constructor expects int, string given\\.$#"
count: 1
path: src/QUI/Bricks/Manager.php
-
message: "#^Call to an undefined method DOMNode\\:\\:getAttribute\\(\\)\\.$#"
count: 7
path: src/QUI/Bricks/Utils.php
-
message: "#^Parameter \\#1 \\$Brick of static method QUI\\\\Bricks\\\\Utils\\:\\:parseAreaToArray\\(\\) expects DOMElement, DOMNode given\\.$#"
count: 4
path: src/QUI/Bricks/Utils.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