diff --git a/Config/phpstan.neon b/Config/phpstan.neon index 8999e42..3a10439 100644 --- a/Config/phpstan.neon +++ b/Config/phpstan.neon @@ -1,10 +1,10 @@ -parameters: - ignoreErrors: - - '#Access to protected property Web\WebApplication::\$[a-zA-Z0-9_]+#' - - '#Calling method prepare\(\) on possibly null value of type PDO\|null.#' - - '#Calling method lastInsertId\(\) on possibly null value of type PDO\|null.#' - - '#Class PHPUnit\\Framework\\TestCase not found and could not be autoloaded.#' - fileExtensions: - - php - excludes_analyse: - - *.tpl.php \ No newline at end of file +parameters: + ignoreErrors: + - '#Access to protected property Web\WebApplication::\$[a-zA-Z0-9_]+#' + - '#Calling method prepare\(\) on possibly null value of type PDO\|null\.#' + - '#Calling method lastInsertId\(\) on possibly null value of type PDO\|null\.#' + fileExtensions: + - php + excludes_analyse: + - *.tpl.php + bootstrap: %currentWorkingDirectory%/Config/phpstan.php \ No newline at end of file diff --git a/Config/phpstan.php b/Config/phpstan.php new file mode 100644 index 0000000..d318452 --- /dev/null +++ b/Config/phpstan.php @@ -0,0 +1,4 @@ +