|
1 | 1 | <?xml version="1.0"?> |
2 | 2 | <psalm |
3 | | - errorLevel="5" |
4 | | - resolveFromConfigFile="true" |
5 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
6 | | - xmlns="https://getpsalm.org/schema/config" |
7 | | - xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" |
| 3 | + errorLevel="5" |
| 4 | + resolveFromConfigFile="true" |
| 5 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 6 | + xmlns="https://getpsalm.org/schema/config" |
| 7 | + xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" |
8 | 8 | > |
9 | 9 | <projectFiles> |
10 | | - <directory name="../../../src" /> |
| 10 | + <directory name="../../../src"/> |
11 | 11 | <ignoreFiles> |
12 | | - <directory name="../../../vendor" /> |
13 | | - <directory name="../vendor" /> |
| 12 | + <directory name="../../../vendor"/> |
| 13 | + <directory name="../vendor"/> |
14 | 14 | </ignoreFiles> |
15 | 15 | </projectFiles> |
16 | 16 | <issueHandlers> |
17 | 17 | <UndefinedInterfaceMethod> |
18 | 18 | <errorLevel type="suppress"> |
19 | 19 | <referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::integerNode"/> |
20 | 20 | <referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode"/> |
21 | | - <referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::stringNode"/> |
22 | 21 | </errorLevel> |
23 | 22 | </UndefinedInterfaceMethod> |
24 | 23 | <UndefinedMethod> |
|
29 | 28 | <file name="../../../src/Payload/Alert.php"/> |
30 | 29 | </errorLevel> |
31 | 30 | </UndefinedMethod> |
32 | | - <PropertyTypeCoercion> |
33 | | - <errorLevel type="suppress"> |
34 | | - <referencedProperty name="CrowdSec\LapiClient\Payload\Alert::$properties"/> |
35 | | - <referencedProperty name="CrowdSec\LapiClient\Payload\Alert::$source"/> |
36 | | - <referencedProperty name="CrowdSec\LapiClient\Payload\Alert::$decisions"/> |
37 | | - <referencedProperty name="CrowdSec\LapiClient\Payload\Alert::$events"/> |
38 | | - <referencedProperty name="CrowdSec\LapiClient\Payload\Alert::$meta"/> |
39 | | - <referencedProperty name="CrowdSec\LapiClient\Metrics::$items"/> |
40 | | - </errorLevel> |
41 | | - </PropertyTypeCoercion> |
42 | | - <MissingClassConstType> |
43 | | - <errorLevel type="suppress"> |
44 | | - <directory name="../../../src"/> |
45 | | - </errorLevel> |
46 | | - </MissingClassConstType> |
47 | | - <NonInvariantDocblockPropertyType> |
48 | | - <errorLevel type="suppress"> |
49 | | - <file name="../../../src/AbstractLapiClient.php"/> |
50 | | - </errorLevel> |
51 | | - </NonInvariantDocblockPropertyType> |
52 | | - <MoreSpecificReturnType> |
53 | | - <errorLevel type="suppress"> |
54 | | - <file name="../../../src/AlertsClient.php"/> |
55 | | - </errorLevel> |
56 | | - </MoreSpecificReturnType> |
57 | | - <LessSpecificReturnStatement> |
58 | | - <errorLevel type="suppress"> |
59 | | - <file name="../../../src/AlertsClient.php"/> |
60 | | - </errorLevel> |
61 | | - </LessSpecificReturnStatement> |
62 | 31 | <UndefinedDocblockClass> |
63 | 32 | <errorLevel type="suppress"> |
64 | 33 | <file name="../../../src/AlertsClient.php"/> |
|
67 | 36 | <InvalidReturnStatement> |
68 | 37 | <errorLevel type="suppress"> |
69 | 38 | <file name="../../../src/AlertsClient.php"/> |
70 | | - <file name="../../../src/Payload/Alert.php"/> |
71 | 39 | </errorLevel> |
72 | 40 | </InvalidReturnStatement> |
73 | 41 | <RiskyTruthyFalsyComparison> |
74 | 42 | <errorLevel type="suppress"> |
75 | 43 | <file name="../../../src/Bouncer.php"/> |
76 | 44 | </errorLevel> |
77 | 45 | </RiskyTruthyFalsyComparison> |
78 | | - <InvalidArgument> |
79 | | - <errorLevel type="suppress"> |
80 | | - <file name="../../../src/Payload/Alert.php"/> |
81 | | - </errorLevel> |
82 | | - </InvalidArgument> |
83 | | - <InvalidReturnType> |
84 | | - <errorLevel type="suppress"> |
85 | | - <file name="../../../src/Payload/Alert.php"/> |
86 | | - </errorLevel> |
87 | | - </InvalidReturnType> |
88 | | - <PropertyNotSetInConstructor> |
89 | | - <errorLevel type="suppress"> |
90 | | - <file name="../../../src/Payload/Alert.php"/> |
91 | | - </errorLevel> |
92 | | - </PropertyNotSetInConstructor> |
93 | 46 | <PossiblyNullReference> |
94 | 47 | <errorLevel type="suppress"> |
95 | 48 | <file name="../../../src/Configuration.php"/> |
96 | 49 | <file name="../../../src/Configuration/Metrics.php"/> |
97 | 50 | <file name="../../../src/Configuration/Metrics/Items.php"/> |
98 | 51 | <file name="../../../src/Configuration/Metrics/Meta.php"/> |
| 52 | + <file name="../../../src/Configuration/Alert.php"/> |
99 | 53 | </errorLevel> |
100 | 54 | </PossiblyNullReference> |
101 | 55 | </issueHandlers> |
|
0 commit comments