mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-10 08:28:41 +00:00
Add phpstan bootstrap
This commit is contained in:
parent
0cfb7b5b12
commit
d754a11139
|
|
@ -1,10 +1,10 @@
|
||||||
parameters:
|
parameters:
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
- '#Access to protected property Web\WebApplication::\$[a-zA-Z0-9_]+#'
|
- '#Access to protected property Web\WebApplication::\$[a-zA-Z0-9_]+#'
|
||||||
- '#Calling method prepare\(\) on possibly null value of type PDO\|null.#'
|
- '#Calling method prepare\(\) on possibly null value of type PDO\|null\.#'
|
||||||
- '#Calling method lastInsertId\(\) 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:
|
||||||
fileExtensions:
|
- php
|
||||||
- php
|
excludes_analyse:
|
||||||
excludes_analyse:
|
- *.tpl.php
|
||||||
- *.tpl.php
|
bootstrap: %currentWorkingDirectory%/Config/phpstan.php
|
||||||
4
Config/phpstan.php
Normal file
4
Config/phpstan.php
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
require_once __DIR__ . '/../../vendor/autoload.php';
|
||||||
|
require_once __DIR__ . '/../../phpOMS/Autoloader.php';
|
||||||
Loading…
Reference in New Issue
Block a user