|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <psalm
|
3 |
| - errorLevel="4" |
4 |
| - findUnusedVariablesAndParams="true" |
5 |
| - resolveFromConfigFile="true" |
6 |
| - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
7 |
| - xmlns="https://getpsalm.org/schema/config" |
8 |
| - xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" |
9 |
| - cacheDirectory="./build/psalm/" |
10 |
| - errorBaseline="psalm-baseline.xml" |
| 3 | + cacheDirectory="./build/psalm/" |
| 4 | + errorBaseline="psalm-baseline.xml" |
| 5 | + errorLevel="4" |
| 6 | + findUnusedBaselineEntry="true" |
| 7 | + findUnusedCode="false" |
| 8 | + findUnusedVariablesAndParams="true" |
| 9 | + resolveFromConfigFile="true" |
| 10 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 11 | + xmlns="https://getpsalm.org/schema/config" |
| 12 | + xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" |
11 | 13 | >
|
12 |
| - <projectFiles> |
13 |
| - <directory name="app"/> |
14 |
| - <directory name="tests"/> |
15 |
| - <ignoreFiles allowMissingFiles="true"> |
16 |
| - <directory name="vendor"/> |
17 |
| - <file name="app/xxx.php"/> |
18 |
| - </ignoreFiles> |
19 |
| - </projectFiles> |
| 14 | + <projectFiles> |
| 15 | + <directory name="app"/> |
| 16 | + <directory name="tests"/> |
| 17 | + <ignoreFiles allowMissingFiles="true"> |
| 18 | + <directory name="vendor"/> |
| 19 | + <file name="app/xxx.php"/> |
| 20 | + </ignoreFiles> |
| 21 | + </projectFiles> |
20 | 22 |
|
21 |
| - <issueHandlers> |
22 |
| - <PropertyNotSetInConstructor errorLevel="info"/> |
23 |
| - <UnusedVariable> |
24 |
| - <errorLevel type="suppress"> |
25 |
| - <file name="app/Commands/CommitCommand.php"/> |
26 |
| - <file name="app/Generators/OpenAIGenerator.php"/> |
27 |
| - </errorLevel> |
28 |
| - </UnusedVariable> |
29 |
| - <InternalMethod> |
30 |
| - <errorLevel type="suppress"> |
31 |
| - <directory name="tests"/> |
32 |
| - </errorLevel> |
33 |
| - </InternalMethod> |
34 |
| - <InvalidScope> |
35 |
| - <errorLevel type="suppress"> |
36 |
| - <directory name="tests"/> |
37 |
| - </errorLevel> |
38 |
| - </InvalidScope> |
39 |
| - <UndefinedFunction> |
40 |
| - <errorLevel type="suppress"> |
41 |
| - <directory name="tests"/> |
42 |
| - </errorLevel> |
43 |
| - </UndefinedFunction> |
44 |
| - </issueHandlers> |
| 23 | + <issueHandlers> |
| 24 | + <PropertyNotSetInConstructor errorLevel="info"/> |
| 25 | + <UnusedVariable> |
| 26 | + <errorLevel type="suppress"> |
| 27 | + <file name="app/Commands/CommitCommand.php"/> |
| 28 | + <file name="app/Generators/OpenAIGenerator.php"/> |
| 29 | + </errorLevel> |
| 30 | + </UnusedVariable> |
| 31 | + <InternalMethod> |
| 32 | + <errorLevel type="suppress"> |
| 33 | + <directory name="tests"/> |
| 34 | + </errorLevel> |
| 35 | + </InternalMethod> |
| 36 | + <InvalidScope> |
| 37 | + <errorLevel type="suppress"> |
| 38 | + <directory name="tests"/> |
| 39 | + </errorLevel> |
| 40 | + </InvalidScope> |
| 41 | + <UndefinedFunction> |
| 42 | + <errorLevel type="suppress"> |
| 43 | + <directory name="tests"/> |
| 44 | + </errorLevel> |
| 45 | + </UndefinedFunction> |
| 46 | + <UndefinedPropertyFetch> |
| 47 | + <errorLevel type="suppress"> |
| 48 | + <directory name="tests"/> |
| 49 | + </errorLevel> |
| 50 | + </UndefinedPropertyFetch> |
| 51 | + </issueHandlers> |
45 | 52 |
|
46 |
| - <plugins> |
47 |
| - <!--<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>--> |
48 |
| - </plugins> |
| 53 | + <plugins> |
| 54 | + <!--<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>--> |
| 55 | + </plugins> |
49 | 56 | </psalm>
|
0 commit comments