-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
30 lines (24 loc) · 864 Bytes
/
phpstan.neon
File metadata and controls
30 lines (24 loc) · 864 Bytes
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
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
parameters:
level: max
treatPhpDocTypesAsCertain: false
paths:
- src
- PHPStan
ignoreErrors:
-
message: '#Call to function is_object\(\) with object will always evaluate to true\.#'
path: src/URLSearchParams.php
count: 1
# Note to self: You can't escape single quotes in neon. Another possible alternative would be to replace single quotes with \x27.
services:
-
class: Rowbot\URL\PHPStan\PregMatchParameterOutExtension
tags:
- phpstan.methodParameterOutTypeExtension
-
class: Rowbot\URL\PHPStan\PregMatchTypeSpecifyingExtension
tags:
- phpstan.typeSpecifier.methodTypeSpecifyingExtension