mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
Add phpstan bootstrap
This commit is contained in:
parent
0cfb7b5b12
commit
d754a11139
|
|
@ -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
|
||||
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
|
||||
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