Translated using Weblate (Portuguese (Brazil))
[phpmyadmin.git] / phpstan.neon.dist
blobc9846217621220656b6ad8b3896d8b02fd4a99bf
1 includes:
2     - phpstan-baseline.neon
3 parameters:
4     level: max
5     paths:
6         - app
7         - public
8         - src
9         - test
10     scanFiles:
11         - app/constants.php
12         - examples/signon-script.php
13     bootstrapFiles:
14         - test/phpstan-constants.php
15     stubFiles:
16         - test/stubs/uploadprogress.stub
17     excludePaths:
18         - app/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/*