1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
psalm/psalm.xml
Matthew Brown f27bd50abe
Add RedundantCondition issue, replacing FailedTypeResolution (#344)
* Group changes

* Don’t worry about vars defined before exiting

* Fix issues with vars defined in conditionals

* Add failing test

* Only add failed reconciliation flag if nothing could be salvaged

* Avoid notice when removing clauses

* Improve handling of loops

* Fix evaluation of binary op expressions

* Remove unset vars from outer context after loop

* Ignore RedundantCondition in some more configs
2017-11-28 00:46:41 -05:00

104 lines
3.0 KiB
XML

<?xml version="1.0"?>
<psalm
name="Psalm for Psalm"
stopOnFirstError="false"
useDocblockTypes="true"
totallyTyped="true"
strictBinaryOperands="false"
rememberPropertyAssignmentsAfterCall="true"
throwExceptionOnError="false"
>
<projectFiles>
<directory name="src" />
<directory name="tests" />
<directory name="examples" />
<ignoreFiles>
<file name="src/Psalm/CallMap.php" />
<directory name="src/Psalm/Stubs" />
<directory name="tests/stubs" />
<!-- @todo fix this -->
<file name="examples/TemplateChecker.php" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<MisplacedRequiredParam errorLevel="suppress" />
<PossiblyNullOperand errorLevel="suppress" />
<MissingConstructor errorLevel="suppress" />
<DeprecatedProperty errorLevel="suppress" />
<PossiblyUnusedVariable>
<errorLevel type="suppress">
<file name="src/Psalm/Plugin.php" />
</errorLevel>
</PossiblyUnusedVariable>
<UnusedMethod>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</UnusedMethod>
<PossiblyUnusedMethod>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</PossiblyUnusedMethod>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<directory name="tests" />
<file name="src/Psalm/Config.php" />
</errorLevel>
</PropertyNotSetInConstructor>
<MixedArgument>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</MixedArgument>
<MixedOperand>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</MixedOperand>
<MixedPropertyFetch>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</MixedPropertyFetch>
<NoInterfaceProperties>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</NoInterfaceProperties>
<NullArrayAccess>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</NullArrayAccess>
<NullPropertyFetch>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</NullPropertyFetch>
<NullArgument>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</NullArgument>
<TypeCoercion>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</TypeCoercion>
</issueHandlers>
</psalm>