diff --git a/phpstan.neon b/phpstan.neon index dc6fcdb1..6e37ff4f 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -7,6 +7,8 @@ parameters: - %currentWorkingDirectory%/www bootstrapFiles: - %currentWorkingDirectory%/phpstan-bootstrap.php + # - %currentWorkingDirectory%/www/lib/autoloader.php + - %currentWorkingDirectory%/www/vendor/autoload.php scanDirectories: - www/lib/Smarty scanFiles: diff --git a/www/includes/admin_header.php b/www/includes/admin_header.php index 3e200362..2d72ed97 100644 --- a/www/includes/admin_header.php +++ b/www/includes/admin_header.php @@ -15,8 +15,6 @@ declare(strict_types=1); if (!empty($DEBUG_ALL) && !empty($ENABLE_ERROR_HANDLING)) { include BASE . LIBS . "Error.Handling.php"; } -// predefine vars -$messages = array(); //------------------------------ variable init end //------------------------------ library include start