Skip to content

Commit

Permalink
Bump test to 8.1 as the base
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo committed Apr 24, 2024
1 parent e2651e9 commit 2be3cbb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
php: [5.3]
php: [8.1]
setup: [prefer-stable]

name: Release phar
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4' ]
php: [ '8.1' ]
setup: [ 'stable' ]
phpstan: [1.10.57]

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ jobs:
symfony/filesystem:^${{ matrix.symfony }} \
symfony/config:^${{ matrix.symfony }}
- name: Upgrade PHPUnit
if: matrix.php >= 7.2
run: cd src/test && composer require phpunit/phpunit:^5.7.27 --no-update --no-interaction --dev

- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer update --prefer-dist --no-progress --prefer-stable --ignore-platform-req=php+
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
php: [ '8.1', '8.2', '8.3', '8.4' ]
setup: [ 'lowest', 'stable' ]

name: PHP ${{ matrix.php }} - ${{ matrix.setup }}
Expand Down Expand Up @@ -57,10 +57,6 @@ jobs:
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer update --prefer-dist --no-progress --prefer-${{ matrix.setup }}

- name: Upgrade PHPUnit
if: matrix.php >= 7.2
run: cd src/test && composer require phpunit/phpunit:^5.7.27 --no-update --no-interaction --dev

- name: Install test dependencies
if: steps.composer-test-cache.outputs.cache-hit != 'true'
run: cd src/test && composer update --prefer-dist --no-progress --prefer-stable --ignore-platform-req=php+
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
php: [7.4]
php: [8.1]
setup: [prefer-stable]

name: Build website
Expand Down
6 changes: 4 additions & 2 deletions src/test/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"license": "BSD-3-Clause",
"type": "library",
"require": {
"php": ">=5.3.7",
"phpunit/phpunit": "^4.8.36|^5.7.27"
"php": ">=8.1"
},
"require-dev": {
"phpunit/phpunit": "^5.7.27"
}
}

0 comments on commit 2be3cbb

Please sign in to comment.