mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
Implement PHPStan (https://github.com/phpstan/phpstan)
This commit is contained in:
@@ -43,7 +43,8 @@
|
||||
<!-- Check target -->
|
||||
<target name="build:check"
|
||||
depends="check:cs,
|
||||
check:cpd"
|
||||
check:cpd,
|
||||
check:phpstan"
|
||||
/>
|
||||
|
||||
<!-- Test target -->
|
||||
@@ -69,6 +70,11 @@
|
||||
</phpcpd>
|
||||
</target>
|
||||
|
||||
<!-- Run static analysis -->
|
||||
<target name="check:phpstan" depends="build:prepare">
|
||||
<exec command="${check.phpstan.command}" passthru="true"/>
|
||||
</target>
|
||||
|
||||
<!-- PHPUnit tests -->
|
||||
<target name="test:phpunit" depends="build:prepare">
|
||||
<exec command="${tests.phpunit.command}" passthru="true"/>
|
||||
|
||||
Reference in New Issue
Block a user