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.
-
src/QUI/Menu/Bricks/Submenu.php:73:Strict comparison using === between mixed and '' will always evaluate to false.
-
src/QUI/Menu/DropDownMenu.php:58:Call to an undefined method QUI\Interfaces\Projects\Site::getCachePath().
-
src/QUI/Menu/Independent/Factory.php:29:Parameter #1 $menuId of static method QUI\Menu\Independent\Handler::getMenu() expects int, string|false given.
-
src/QUI/Menu/MegaMenu.php:111:Call to an undefined method QUI\Interfaces\Projects\Site::getCachePath().
-
src/QUI/Menu/NavTabs.php:156:Variable $Site in PHPDoc tag @var does not match any variable in the foreach loop: $data, $dataSet