From 0f2c6bb0995df2969214d8c2923a53c7624d7ea0 Mon Sep 17 00:00:00 2001 From: Meritoo Date: Thu, 18 Apr 2019 14:31:31 +0200 Subject: [PATCH] Phing > tests > add task for Psalm (https://psalm.dev) --- CHANGELOG.md | 1 + phing/properties.dist | 1 + phing/tests.xml | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bd2df2..2987754 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Common and useful classes, methods, exceptions etc. # 1.0.4 1. PHP Coding Standards Fixer > update configuration +2. Phing > tests > add task for Psalm (https://psalm.dev) # 1.0.3 diff --git a/phing/properties.dist b/phing/properties.dist index 436cec5..74bdba4 100644 --- a/phing/properties.dist +++ b/phing/properties.dist @@ -67,6 +67,7 @@ dir.docker.logs = ${dir.docker}/logs/nginx # - PHPStan # check.phpstan.command = ./vendor/bin/phpstan analyse +check.psalm.command = ./vendor/bin/psalm --report=build/reports/psalm.json check.php_coveralls.command = ./vendor/bin/php-coveralls --ansi -v # -------------------------------------------------------------------------------- diff --git a/phing/tests.xml b/phing/tests.xml index 4ea22f7..1edeb2c 100644 --- a/phing/tests.xml +++ b/phing/tests.xml @@ -45,6 +45,7 @@ depends="check:cs, check:cpd, check:phpstan, + check:psalm, check:coveralls" /> @@ -77,6 +78,11 @@ + + + + +