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 c59c8e1 commit 8c7b2a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
run: ./vendor/bin/phplint -n --exclude={^vendor/.*} -- .

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

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

0 comments on commit 8c7b2a0

Please sign in to comment.