|
1 | 1 | <?xml version="1.0"?> |
2 | 2 | <psalm |
3 | | - resolveFromConfigFile="true" |
4 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 | | - xmlns="https://getpsalm.org/schema/config" |
6 | | - xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" |
| 3 | + errorLevel="4" |
| 4 | + usePhpDocMethodsWithoutMagicCall="true" |
| 5 | + findUnusedPsalmSuppress="true" |
| 6 | + findUnusedBaselineEntry="true" |
| 7 | + findUnusedCode="false" |
| 8 | + resolveFromConfigFile="true" |
| 9 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 10 | + xmlns="https://getpsalm.org/schema/config" |
| 11 | + xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" |
| 12 | + autoloader="tests/bootstrap.php" |
7 | 13 | > |
8 | | - <projectFiles> |
9 | | - <directory name="src" /> |
10 | | - <ignoreFiles> |
11 | | - <directory name="vendor" /> |
12 | | - </ignoreFiles> |
13 | | - </projectFiles> |
| 14 | + <projectFiles> |
| 15 | + <directory name="src/"/> |
| 16 | + <ignoreFiles> |
| 17 | + <directory name="vendor/"/> |
| 18 | + </ignoreFiles> |
| 19 | + </projectFiles> |
14 | 20 |
|
15 | | - <issueHandlers> |
16 | | - <MissingClosureReturnType errorLevel="info" /> |
| 21 | + <issueHandlers> |
| 22 | + <LessSpecificReturnType errorLevel="suppress" /> |
| 23 | + <RedundantPropertyInitializationCheck errorLevel="suppress"/> |
| 24 | + <RedundantCast errorLevel="suppress"/> |
| 25 | + <UndefinedAttributeClass errorLevel="suppress"/> |
| 26 | + <LessSpecificReturnType errorLevel="info" /> |
17 | 27 |
|
18 | | - <PropertyNotSetInConstructor errorLevel="info" /> |
19 | | - <MissingConstructor errorLevel="info" /> |
20 | | - <MissingClosureParamType errorLevel="info" /> |
| 28 | + <MissingClosureReturnType errorLevel="info" /> |
21 | 29 |
|
22 | | - <DocblockTypeContradiction errorLevel="info" /> |
23 | | - <RedundantConditionGivenDocblockType errorLevel="info" /> |
24 | | - </issueHandlers> |
| 30 | + <PropertyNotSetInConstructor errorLevel="info" /> |
| 31 | + <MissingConstructor errorLevel="info" /> |
| 32 | + <MissingClosureParamType errorLevel="info" /> |
| 33 | + <MissingParamType errorLevel="info" /> |
| 34 | + |
| 35 | + <DocblockTypeContradiction errorLevel="info" /> |
| 36 | + <RedundantConditionGivenDocblockType errorLevel="info" /> |
| 37 | + </issueHandlers> |
25 | 38 | </psalm> |
0 commit comments