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

chore: set PHPStan to level 5 with baseline

Übergeordneter 9e9d9023
No related branches found
No related tags found
3 Merge Requests!25Update 'next-3.x' with latest changes from 'main',!23feat: show product images in basket setting,!15Add 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\\\\Interfaces\\\\Projects\\\\Site\\:\\:getCachePath\\(\\)\\.$#"
count: 1
path: src/QUI/TemplateCologne/Controls/Menu/Categories.php
-
message: "#^Access to constant PRODUCT_FIELD_SHIPPING_TIME on an unknown class QUI\\\\ERP\\\\Shipping\\\\Shipping\\.$#"
count: 1
path: src/QUI/TemplateCologne/Utils.php
-
message: "#^Access to constant PRODUCT_FIELD_STOCK on an unknown class QUI\\\\ERP\\\\StockManagement\\\\StockManager\\.$#"
count: 1
path: src/QUI/TemplateCologne/Utils.php
-
message: "#^Call to method setProduct\\(\\) on an unknown class QUI\\\\ERP\\\\StockManagement\\\\Products\\\\Fields\\\\StockView\\.$#"
count: 1
path: src/QUI/TemplateCologne/Utils.php
-
message: "#^Call to static method getShippingTimeFrontendViewByProduct\\(\\) on an unknown class QUI\\\\ERP\\\\StockManagement\\\\StockManager\\.$#"
count: 1
path: src/QUI/TemplateCologne/Utils.php
-
message: "#^Method QUI\\\\TemplateCologne\\\\Utils\\:\\:getStockFrontendView\\(\\) should return QUI\\\\ERP\\\\Products\\\\Field\\\\View\\|false but returns QUI\\\\ERP\\\\StockManagement\\\\Products\\\\Fields\\\\StockView\\.$#"
count: 1
path: src/QUI/TemplateCologne/Utils.php
-
message: "#^PHPDoc tag @var for variable \\$StockView contains unknown class QUI\\\\ERP\\\\StockManagement\\\\Products\\\\Fields\\\\StockView\\.$#"
count: 1
path: src/QUI/TemplateCologne/Utils.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$Site Site\\)\\: Unexpected token \"\\$Site\", expected type at offset 9$#"
count: 1
path: src/QUI/TemplateCologne/Utils.php
-
message: "#^Variable \\$Project might not be defined\\.$#"
count: 2
path: src/QUI/TemplateCologne/settings.css.php
-
message: "#^Variable \\$Site might not be defined\\.$#"
count: 1
path: src/QUI/TemplateCologne/settings.css.php
......@@ -2,8 +2,10 @@ includes:
- phpstan-baseline.neon
parameters:
level: 8
level: 5
paths:
- src
- ajax
bootstrapFiles:
- tests/phpstan-bootstrap.php
tipsOfTheDay: false
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