Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <psalm |
| 3 | totallyTyped="false" |
| 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 file:///mnt/share/php-u2flib-server/vendor/vimeo/psalm/config.xsd" |
| 7 | > |
| 8 | <projectFiles> |
| 9 | <directory name="src" /> |
| 10 | <ignoreFiles> |
| 11 | <directory name="vendor" /> |
| 12 | </ignoreFiles> |
| 13 | </projectFiles> |
| 14 | |
| 15 | <issueHandlers> |
| 16 | <LessSpecificReturnType errorLevel="info" /> |
| 17 | |
| 18 | <!-- level 3 issues - slightly lazy code writing, but provably low false-negatives --> |
| 19 | |
| 20 | <DeprecatedMethod errorLevel="info" /> |
| 21 | <DeprecatedProperty errorLevel="info" /> |
| 22 | <DeprecatedClass errorLevel="info" /> |
| 23 | <DeprecatedInterface errorLevel="info" /> |
| 24 | |
| 25 | <MissingClosureReturnType errorLevel="info" /> |
| 26 | <MissingReturnType errorLevel="info" /> |
| 27 | <MissingPropertyType errorLevel="info" /> |
| 28 | <InvalidDocblock errorLevel="info" /> |
| 29 | <MisplacedRequiredParam errorLevel="info" /> |
| 30 | |
| 31 | <PropertyNotSetInConstructor errorLevel="info" /> |
| 32 | <MissingConstructor errorLevel="info" /> |
| 33 | <MissingClosureParamType errorLevel="info" /> |
| 34 | <MissingParamType errorLevel="info" /> |
| 35 | |
| 36 | <RedundantCondition errorLevel="info" /> |
| 37 | |
| 38 | <DocblockTypeContradiction errorLevel="suppress" /> |
| 39 | <RedundantConditionGivenDocblockType errorLevel="suppress" /> |
| 40 | |
| 41 | <UnresolvableInclude errorLevel="info" /> |
| 42 | |
| 43 | <RawObjectIteration errorLevel="info" /> |
| 44 | |
| 45 | <!-- psalm seems to wrongly complain about this, set the errorLevel to info for now --> |
| 46 | <UndefinedConstant errorLevel="info" /> |
| 47 | </issueHandlers> |
| 48 | </psalm> |