forked from Respect/Validation
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon.dist
52 lines (52 loc) · 3.3 KB
/
phpstan.neon.dist
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
48
49
50
51
52
parameters:
fileExtensions:
- php
- phpt
ignoreErrors:
-
# Why: SimpleXMLElement is weird and doesn't implement anything ArrayAccess-like
message: '/Instanceof between mixed and SimpleXMLElement will always evaluate to false\./'
path: library/Rules/ArrayVal.php
- message: '/Call to an undefined method .+::(skip|throws)\(\)/'
path: tests/feature
- message: '/Call to an undefined method .+::expectException\(\)/'
path: tests/Pest.php
- message: '/Undefined variable: \$this/'
path: tests/feature
- message: '/Variable \$this might not be defined./'
path: tests/feature
- message: '/Undefined variable: \$this/'
path: tests/Pest.php
- message: '/Call to deprecated method optional\(\).+/'
path: tests/feature/Transformers/AliasesTest.php
- message: '/Call to an undefined static method Respect\\Validation\\Validator::(min|max)Age\(\)./'
path: tests/feature/Transformers/Deprecated/AgeRuleTest.php
- message: '/Static method Respect\\Validation\\Mixins\\Builder::.+Of\(\) invoked with \d parameters?, at least 2 required/'
path: tests/feature/Transformers/Deprecated/CompositeArgumentsTest.php
- message: '/Call to an undefined static method Respect\\Validation\\Validator::attribute\(\)./'
path: tests/feature/Transformers/Deprecated/AttributeRuleTest.php
- message: '/Static method Respect\\Validation\\Mixins\\Builder::key\(\) invoked with \d parameters?, 2 required/'
path: tests/feature/Transformers/Deprecated/KeyArgumentsTest.php
- message: '/Call to an undefined static method Respect\\Validation\\Validator::keyNested\(\)./'
path: tests/feature/Transformers/Deprecated/KeyNestedRuleTest.php
- message: '/Call to an undefined static method Respect\\Validation\\Validator::keyValue\(\)./'
path: tests/feature/Transformers/Deprecated/KeyValueRuleTest.php
- message: '/Parameter #1 \$rule of static method Respect\\Validation\\Mixins\\Builder::length\(\) expects Respect\\Validation\\Rule.+/'
path: tests/feature/Transformers/Deprecated/LengthArgumentsTest.php
- message: '/Static method Respect\\Validation\\Mixins\\Builder::length\(\) invoked with \d parameters, 1 required/'
path: tests/feature/Transformers/Deprecated/LengthArgumentsTest.php
- message: '/Parameter #1 \$rule of static method Respect\\Validation\\Mixins\\Builder::(min|max)\(\) expects Respect\\Validation\\Rule.+/'
path: tests/feature/Transformers/Deprecated/MinAndMaxArgumentsTest.php
- message: '/Parameter #(1|2) \$(unit|rule) of static method Respect\\Validation\\Mixins\\Builder::size\(\) expects .+/'
path: tests/feature/Transformers/Deprecated/SizeArgumentsTest.php
- message: '/Call to an undefined static method Respect\\Validation\\Validator::type\(\)./'
path: tests/feature/Transformers/Deprecated/TypeRuleTest.php
- message: '/Method .+\\TestingStringifier::stringify\(\) never returns null so it can be removed from the return type./'
path: tests/library/Message/TestingStringifier.php
- message: '/Parameter #1 \$messages of class .+\\ArrayTranslator constructor expects array<string, string>, array<string, int> given./'
path: tests/unit/Message/Translator/ArrayTranslatorTest.php
level: 8
treatPhpDocTypesAsCertain: false
paths:
- library/
- tests/