Drop Support for Php 8.1

This PR will be merged at the end of this month. As the README says, we maintain support for Php Versions for six months beyond their end of life. That time has now arrived for 8.1.
This commit is contained in:
oleibman
2026-06-08 09:15:57 -07:00
parent fd5f72edd7
commit 1388efb080
17 changed files with 461 additions and 344 deletions
+2 -3
View File
@@ -10,7 +10,6 @@ jobs:
experimental:
- false
php-version:
- '8.1'
- '8.2'
- '8.3'
- '8.4'
@@ -99,7 +98,7 @@ jobs:
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
php-version: 8.2
extensions: ctype, dom, fileinfo, filter, gd, iconv, intl, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
coverage: none
tools: cs2pr
@@ -181,7 +180,7 @@ jobs:
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Code Version Compatibility check with PHP_CodeSniffer
run: ./vendor/bin/phpcs -q --report-width=200 --report=summary,full src/ --standard=PHPCompatibility --runtime-set testVersion 8.1- --exclude=PHPCompatibility.Variables.ForbiddenThisUseContexts
run: ./vendor/bin/phpcs -q --report-width=200 --report=summary,full src/ --standard=PHPCompatibility --runtime-set testVersion 8.2- --exclude=PHPCompatibility.Variables.ForbiddenThisUseContexts
phpstan:
runs-on: ubuntu-latest