Skip to content

Commit

Permalink
Remove PHP 8.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jlevers committed Jun 8, 2024
1 parent 42ca0e9 commit 4c81f52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.2, 8.3]
php: [8.2, 8.3]

steps:
- uses: actions/checkout@v3
Expand All @@ -23,7 +23,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
# extensions: json, dom, curl, libxml, mbstring
extensions: json, curl, mbstring
coverage: none

- name: Validate composer.json and composer.lock
Expand All @@ -44,5 +44,5 @@ jobs:
- name: Lint
run: php vendor/bin pint --test

- name: Check PHP 8.1+ compatibility
- name: Check PHP 8.2+ compatibility
run: composer php-compatibility-check
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"require": {
"php": ">=8.1",
"php": ">=8.2",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
Expand Down Expand Up @@ -58,7 +58,7 @@
"@php-compatibility-check"
],
"pint": "php vendor/bin/pint",
"php-compatibility-check": "./vendor/bin/phpcs -p ./src ./bin --standard=PHPCompatibility --runtime-set testVersion 8.1-",
"php-compatibility-check": "./vendor/bin/phpcs -p ./src ./bin --standard=PHPCompatibility --runtime-set testVersion 8.2-",
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"post-update-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility"
},
Expand Down

0 comments on commit 4c81f52

Please sign in to comment.