PHPStan Level 5 Fehler
Beim Ausführen von PHPStan auf Level 5 gibt es die nachfolgenden Fehler.
Die Fehler wurden ersteinmal in die Baseline übernommen.
Bitte die Fehler sichten und die wichtigsten beheben.
Möglicherweise sind die Fehler nicht mehr aktuell, daher besser PHPStan ohne Baseline selbst ausführen.
-
ajax/activate.php:25:Call to an undefined method QUI\CRUD\Child::isActive().
-
ajax/deactivate.php:25:Call to an undefined method QUI\CRUD\Child::isActive().
-
ajax/get.php:25:Call to an undefined method QUI\CRUD\Child::getTitle().
-
ajax/search.php:69:Parameter #2 $callback of function usort expects callable(mixed, mixed): int, Closure(mixed, mixed): bool given.
-
ajax/toggle.php:22:Call to an undefined method QUI\CRUD\Child::isActive().
-
ajax/toggle.php:30:Call to an undefined method QUI\CRUD\Child::isActive().
-
src/QUI/ERP/Discount/Discount.php:287:Parameter #2 $array of function implode expects array|null, string given.
-
src/QUI/ERP/Discount/Discount.php:443:Parameter $Order of method QUI\ERP\Discount\Discount::canUsedInOrder() has invalid type QUI\ERP\Order\OrderInterface.
-
src/QUI/ERP/Discount/Discount.php:443:Parameter $Order of method QUI\ERP\Discount\Discount::canUsedInOrder() has invalid type QUI\ERP\Order\OrderInterface.
-
src/QUI/ERP/Discount/Discount.php:449:Call to method getArticles() on an unknown class QUI\ERP\Order\OrderInterface.
-
src/QUI/ERP/Discount/PriceFactor.php:50:Parameter #2 $string of function explode expects string, float|int<min, -1>|int<1, max>|true given.