mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
PHPStan: Fix level 0 errors
This commit is contained in:
13
phpstan.neon
Normal file
13
phpstan.neon
Normal file
@@ -0,0 +1,13 @@
|
||||
parameters:
|
||||
level: 0
|
||||
ignoreErrors:
|
||||
- identifier: include.fileNotFound # relative includes
|
||||
- identifier: includeOnce.fileNotFound # ./adminer-plugins.php
|
||||
- "~^Function (set_magic_quotes_runtime|mysql_)~" # PHP < 7 functions
|
||||
- "~^Instantiated class Adminer\\w~" # no support for classes defined inside function
|
||||
paths:
|
||||
- .
|
||||
phpVersion:
|
||||
min: 70100
|
||||
max: 80499
|
||||
checkMissingCallableSignature: true
|
Reference in New Issue
Block a user