Skip to content

Commit

Permalink
Dropped official php 8.1 support. It should still work just fine, but…
Browse files Browse the repository at this point in the history
… infection and cs fixer are starting to require 8.2 and supporting 8.1 doesn't serve a purpose anyway
  • Loading branch information
Sjustein committed Apr 26, 2024
1 parent f57898f commit ffce166
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 86 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3']
php-version: ['8.2', '8.3']

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3']
php-version: ['8.2', '8.3']

steps:
- uses: actions/checkout@v4
Expand All @@ -72,7 +72,7 @@ jobs:

- name: Run test suite
run: |
if [[ ${{ matrix.php-version }} == '8.1' ]]; then
if [[ ${{ matrix.php-version }} == '8.2' ]]; then
composer coverage --min=100 --coverage-clover=coverage.xml
else
composer pest
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"minimum-stability": "stable",
"require": {
"php": ">=8.1",
"php": ">=8.2",
"monolog/monolog": "^3.0"
},
"autoload": {
Expand All @@ -29,7 +29,7 @@
},
"require-dev": {
"pestphp/pest": "v1.23.1",
"friendsofphp/php-cs-fixer": "3.30.x",
"friendsofphp/php-cs-fixer": "^3.16",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-deprecation-rules": "^1.1",
"vimeo/psalm": "^5.23",
Expand Down
Loading

0 comments on commit ffce166

Please sign in to comment.