Skip to content

Commit

Permalink
Merge pull request #9 from inpsyde/reusable-phpstan
Browse files Browse the repository at this point in the history
Use reusable PHP static analysis workflow
  • Loading branch information
tfrommen authored Jan 9, 2025
2 parents 88863b0 + b86cad4 commit a213cef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/_phpstan.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/quality-assurance-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ jobs:

static-code-analysis-php:
if: ${{ (github.event_name != 'workflow_dispatch') || ((github.event.inputs.jobs == 'Run all') || (github.event.inputs.jobs == 'Run PHPStan only') || (github.event.inputs.jobs == 'Run static analysis')) }}
# TODO: Replace with public Syde static-analysis-php reusable workflow as soon as PHPStan support is added.
uses: ./.github/workflows/_phpstan.yml
uses: inpsyde/reusable-workflows/.github/workflows/static-analysis-php.yml@main
strategy:
matrix:
php-version: [ '8.1', '8.2', '8.3', '8.4' ]
Expand Down

0 comments on commit a213cef

Please sign in to comment.