Skip to content

Commit

Permalink
Github Action: Run phpstan even if codeSniffer fails
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Aug 30, 2023
1 parent 8e5c3d3 commit 027f497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
run: ./vendor/bin/phplint -n --exclude={^vendor/.*} -- .

- name: PHP CodeSniffer
if: success() || matrix.allow_failure
if: ${{ ! cancelled() }}
run: phpcs

- name: PHPStan
if: ${{ ! cancelled() }}
uses: php-actions/phpstan@v3
if: success() || matrix.allow_failure

test:
name: Unit tests with php ${{ matrix.php }} on ${{ matrix.os }}
Expand Down

0 comments on commit 027f497

Please sign in to comment.