Merge pull request #18632 from MauricioFauth/middleware
[phpmyadmin.git] / phpstan.neon.dist
blob9fb3246a42e4db38f0a6552e7ba0a49943b9dd23
1 includes:
2     - phpstan-baseline.neon
3 parameters:
4     level: max
5     paths:
6         - libraries
7         - public
8         - test
9     scanFiles:
10         - libraries/constants.php
11         - examples/signon-script.php
12     bootstrapFiles:
13         - test/phpstan-constants.php
14     stubFiles:
15         - test/stubs/Query.stub
16         - test/stubs/uploadprogress.stub
17     excludePaths:
18         - libraries/cache/*
19         - test/doctum-config.php
20     dynamicConstantNames:
21         - ROOT_PATH
22         - TEST_PATH
23         - VERSION_SUFFIX
24     checkBenevolentUnionTypes: true
25     checkUninitializedProperties: true
26     checkDynamicProperties: true
27     checkTooWideReturnTypesInProtectedAndPublicMethods: true
28     checkImplicitMixed: true
29     ignoreErrors:
30         -
31             message: '#Dynamic call to static method PHPUnit\\Framework\\Assert::[a-zA-Z]+\(\)\.#'
32             paths:
33                 - test/classes/*
34                 - test/selenium/*
35         -
36             message: '#Dynamic call to static method PHPUnit\\Framework\\TestCase::[a-zA-Z]+\(\)\.#'
37             path: test/classes/*