Skip to content

Commit

Permalink
[TASK] Do not run PHPStan with unstable PHP versions
Browse files Browse the repository at this point in the history
To catch problems in our code and in in association with the used
libraries, we don't need to check with unstable PHP versions.

This also avoids failures that are unrelated to our code.
  • Loading branch information
oliverklee committed Jun 3, 2024
1 parent 27798dd commit 58c6250
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,23 +231,12 @@ jobs:
- '8.1'
- '8.2'
- '8.3'
- 'latest'
dependencies:
- 'lowest'
- 'stable'
- 'highest'
experimental:
- false
include:
- php-version: 'nightly'
dependencies: 'lowest'
experimental: true
- php-version: 'nightly'
dependencies: 'stable'
experimental: true
- php-version: 'nightly'
dependencies: 'highest'
experimental: true

steps:
- name: Checkout
Expand Down Expand Up @@ -286,10 +275,6 @@ jobs:
if: contains(matrix.dependencies, 'highest')
run: composer config minimum-stability alpha

- name: Ignore platfrom requirements for nightly
if: ${{ matrix.php-version == 'nightly' }}
run: echo "COMPOSER_UPDATE_FLAGS=$COMPOSER_UPDATE_FLAGS --ignore-platform-reqs" >> $GITHUB_ENV

- name: Install dependencies without deprecation rules
run: |
composer remove --dev phpstan/phpstan-deprecation-rules --no-update ${{ env.COMPOSER_FLAGS }}
Expand Down

0 comments on commit 58c6250

Please sign in to comment.