forked from scssphp/scssphp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan-no-baseline.neon
26 lines (22 loc) · 1.12 KB
/
phpstan-no-baseline.neon
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
parameters:
level: 8
inferPrivatePropertyTypeFromConstructor: true
paths:
- ./src/
ignoreErrors:
# Ignore errors about not having typehints for definitions of builtin functions. These won't be typed until they are extracted.
-
message: "#^Property ScssPhp\\\\ScssPhp\\\\Compiler\\:\\:\\$lib[\\w]+ has no typehint specified\\.$#"
path: src/Compiler.php
-
message: "#^Method ScssPhp\\\\ScssPhp\\\\Compiler\\:\\:lib[^(]+\\(\\) has no return typehint specified\\.$#"
path: src/Compiler.php
-
message: "#^Method ScssPhp\\\\ScssPhp\\\\Compiler\\:\\:lib[^(]+\\(\\) has parameter \\$args with no typehint specified\\.$#"
path: src/Compiler.php
-
message: "#^Method ScssPhp\\\\ScssPhp\\\\Compiler\\:\\:lib[^(]+\\(\\) has parameter \\$kwargs with no typehint specified\\.$#"
path: src/Compiler.php
-
message: "#^Method ScssPhp\\\\ScssPhp\\\\Parser\\:\\:[^(]+\\(\\) has parameter \\$out with no value type specified in iterable type array\\.$#"
path: src/Parser.php