Skip to content

Commit

Permalink
test(github): Remove phpstan install workaround for removed PHP 7.1 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
klausi authored Jun 11, 2023
1 parent 8a4b9e0 commit bae4c1f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ jobs:
- name: Install Composer dependencies
# Running composer install without a lock file will also update cached
# dependencies in vendor.
# Remove the PHPStan dependency from composer.json if it should not be
# run for this PHP version.
run: |
if [[ ${{ matrix.phpstan }} == "0" ]]; then sed -i "/phpstan/d" composer.json; fi
composer install --no-progress --prefer-dist --optimize-autoloader
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Run PHPUnit
run: ./vendor/bin/phpunit
- name: Run PHPCS
Expand Down

0 comments on commit bae4c1f

Please sign in to comment.