-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
946d30e
commit 718e5fb
Showing
5 changed files
with
76 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/sh | ||
|
||
./phpqa --verbose --report --config tests/.travis --tools phpcs:0,php-cs-fixer:0,phpmd:0,phpcpd:0,parallel-lint:0,phpstan:0,phpmetrics:0,phploc,pdepend,phpunit:0,psalm | ||
./phpqa --verbose --report --config tests/.travis --tools phpcs:0,php-cs-fixer:0,phpmd:0,phpcpd:0,parallel-lint:0,phpstan:0,phpmetrics:0,phploc,pdepend,phpunit:0,psalm:0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?xml version="1.0"?> | ||
<psalm | ||
name="Example Psalm config with recommended defaults" | ||
stopOnFirstError="false" | ||
useDocblockTypes="true" | ||
totallyTyped="false" | ||
> | ||
<projectFiles> | ||
<directory name="./" /> | ||
<ignoreFiles> | ||
<directory name="vendor" /> | ||
<file name="src/Task/NonParallelExecV0.php" /> | ||
<file name="src/Task/NonParallelExecV1.php" /> | ||
<file name="src/Task/RoboAdapter.php" /> | ||
</ignoreFiles> | ||
</projectFiles> | ||
|
||
<issueHandlers> | ||
<!-- phpqa specifics (compatibility classes, dynamic tools, ...) --> | ||
<UnusedClass> | ||
<errorLevel type="info"> | ||
<directory name="tests" /> | ||
<directory name="src/Tools/Analyzer" /> | ||
</errorLevel> | ||
</UnusedClass> | ||
<UndefinedClass> | ||
<errorLevel type="info"> | ||
<file name="src/Tools/Analyzer/Phpcs.php" /> | ||
<file name="src/Tools/Analyzer/PhpcsV3.php" /> | ||
</errorLevel> | ||
</UndefinedClass> | ||
<PossiblyUnusedMethod> | ||
<errorLevel type="info"> | ||
<file name="src/CodeAnalysisTasks.php" /> | ||
<file name="src/Tools/Tool.php" /> | ||
<file name="src/RunningTool.php" /> | ||
</errorLevel> | ||
<errorLevel type="suppress"> | ||
<directory name="tests" /> | ||
</errorLevel> | ||
</PossiblyUnusedMethod> | ||
<DeprecatedMethod errorLevel="info" /> | ||
|
||
<!-- Ignored rules --> | ||
<PropertyNotSetInConstructor errorLevel="info" /> | ||
<UndefinedConstant errorLevel="info" /> | ||
<MissingReturnType errorLevel="suppress" /> | ||
<MissingPropertyType errorLevel="suppress" /> | ||
<MissingClosureReturnType errorLevel="suppress" /> | ||
<MissingPropertyDeclaration errorLevel="suppress" /> | ||
<UntypedParam errorLevel="suppress" /> | ||
|
||
<!-- false positive --> | ||
<UnusedVariable errorLevel="info" /> | ||
<PossiblyUnusedVariable errorLevel="info" /> | ||
<UndefinedThisPropertyAssignment errorLevel="info" /> | ||
<TooFewArguments> | ||
<errorLevel type="info"> | ||
<file name="src/report.php" /><!-- Too few arguments for method XSLTProcessor::setparameter --> | ||
</errorLevel> | ||
</TooFewArguments> | ||
<TooManyArguments> | ||
<errorLevel type="suppress"> | ||
<directory name="tests" /><!-- Too many arguments for method assertthat --> | ||
</errorLevel> | ||
</TooManyArguments> | ||
|
||
</issueHandlers> | ||
</psalm> |