-
-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
47 lines (43 loc) · 1.61 KB
/
phpstan.dist.neon
File metadata and controls
47 lines (43 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
includes:
- maintenance/phpstan-ignore-by-php-version.php
parameters:
level: 7
paths:
- maintenance/Rector
- src
- tests
bootstrapFiles:
- vendor/bin/.phpunit/phpunit/vendor/autoload.php
ignoreErrors:
# because we check for some HTTP client to exist or not (cURL)
-
message: '#Http\\Client\\Curl\\Client given#'
path: %currentWorkingDirectory%/tests/Extractor/HttpClientTest.php
# phpstan does not seem to recognize the class override for JSLikeHTMLElement
-
message: '#Call to an undefined method DOMElement::setInnerHtml\(\)#'
path: %currentWorkingDirectory%/src/Extractor/ContentExtractor.php
-
message: '#\$innerHTML#'
path: %currentWorkingDirectory%
-
identifier: property.uninitializedReadonly
-
identifier: offsetAccess.nonOffsetAccessible
path: %currentWorkingDirectory%/tests
count: 13
-
identifier: argument.type
paths:
- %currentWorkingDirectory%/tests/Extractor/HttpClientTest.php
- %currentWorkingDirectory%/tests/SiteConfig/ConfigBuilderTest.php
-
identifier: argument.type
path: %currentWorkingDirectory%/src/Extractor/ContentExtractor.php
count: 18
-
identifier: property.notFound
path: %currentWorkingDirectory%/src/Extractor/ContentExtractor.php
count: 5
inferPrivatePropertyTypeFromConstructor: true
treatPhpDocTypesAsCertain: false