Phing > tests > add task for Psalm (https://psalm.dev)

This commit is contained in:
Meritoo
2019-04-18 14:31:31 +02:00
parent f5e8c8c740
commit 0f2c6bb099
3 changed files with 8 additions and 0 deletions

View File

@@ -45,6 +45,7 @@
depends="check:cs,
check:cpd,
check:phpstan,
check:psalm,
check:coveralls"
/>
@@ -77,6 +78,11 @@
<exec command="${check.phpstan.command}" passthru="true"/>
</target>
<!-- Run static analysis -->
<target name="check:psalm" depends="build:prepare">
<exec command="${check.psalm.command}" passthru="true"/>
</target>
<!-- Run analysis of code coverage -->
<target name="check:coveralls" depends="test:phpunit">
<exec command="${check.php_coveralls.command}" passthru="true"/>