Translated using Weblate (Slovenian)
[phpmyadmin.git] / phpstan.neon.dist
blob0168a9e63c48e294fba0365d68eb94e0a557492d
1 includes:
2     - phpstan-baseline.neon
3 parameters:
4     level: max
5     paths:
6         - .
7     scanFiles:
8         - libraries/constants.php
9     bootstrapFiles:
10         - test/phpstan-constants.php
11     stubFiles:
12         - test/stubs/Query.stub
13         - test/stubs/uploadprogress.stub
14     excludePaths:
15         - examples/openid.php
16         - node_modules/*
17         - libraries/cache/*
18         - test/doctum-config.php
19         - tmp/*
20         - twig-templates/*
21         - vendor/*
22     dynamicConstantNames:
23         - ROOT_PATH
24         - VERSION_SUFFIX
25     strictRules:
26         # Allow non-booleans in conditions.
27         booleansInConditions: false
28         # Allow the empty() construct.
29         disallowedConstructs: false
30         # Allow dynamic calls to static methods.
31         strictCalls: false
32     checkBenevolentUnionTypes: true
33     checkAlwaysTrueCheckTypeFunctionCall: true
34     checkAlwaysTrueStrictComparison: true
35     checkUninitializedProperties: true
36     polluteScopeWithAlwaysIterableForeach: true
37     checkDynamicProperties: true
38     checkTooWideReturnTypesInProtectedAndPublicMethods: true
39     polluteScopeWithLoopInitialAssignments: true