From 0e1e9e4b23a46864bb58c96f8530f60474461f53 Mon Sep 17 00:00:00 2001 From: Paramtamtam Date: Wed, 25 Dec 2019 21:06:58 +0500 Subject: Workflow updated --- .github/workflows/ci-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 95634566..2aa6c5f8 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -46,6 +46,9 @@ jobs: - name: Syntax check only (lint) run: find ./src/ -name "*.php" -print0 | xargs -0 -n1 -P8 php -l + - name: Check PHP sources using phpstan + run: composer require phpstan/phpstan '~0.12' && php ./vendor/bin/phpstan analyze --level max --no-progress --ansi ./src + - name: Get Composer Cache Directory # Docs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" -- cgit v1.2.3