feat!: upgrade min. php version to 8.4 (#86)

* feat: upgrade min php to 7.4, upgrade packages

* chore: update ci/cd, docs, supporting config to php 8.4

* chore: update rest of the docs, supporting config to php 8.4
This commit is contained in:
2026-02-01 10:20:40 +02:00
committed by GitHub
parent 3d3448dcf0
commit 47564c5cd6
21 changed files with 348 additions and 356 deletions

View File

@@ -9,8 +9,8 @@ field-level configuration, and custom callbacks. It is designed for easy integra
## Coding Conventions
- **Language:** PHP 8.2+
- **PHP Version:** Ensure compatibility with PHP 8.2 and above.
- **Language:** PHP 8.4+
- **PHP Version:** Ensure compatibility with PHP 8.4 and above.
- **PSR Standards:** Follow PSR-12 for code style and autoloading.
- **Testing:** Use PHPUnit for all tests. Place tests in the `tests/` directory. Run `composer test` to execute tests.
- All tests should be written in a way that they can run independently.

View File

@@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ["8.2", "8.3", "8.4"]
php-version: ["8.4", "8.5"]
name: PHP ${{ matrix.php-version }}
@@ -71,7 +71,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
with:
php-version: "8.2"
php-version: "8.4"
extensions: mbstring, xml, ctype, iconv, intl, json
tools: composer:v2
coverage: xdebug
@@ -100,7 +100,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
with:
php-version: "8.2"
php-version: "8.4"
extensions: mbstring, xml, ctype, iconv, intl, json
tools: composer:v2

View File

@@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
with:
php-version: "8.2"
php-version: "8.4"
- name: Install dependencies
run: composer install --no-interaction --prefer-dist
- name: Run PHP_CodeSniffer (PSR-12)

View File

@@ -24,7 +24,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
with:
php-version: "8.2"
php-version: "8.4"
extensions: mbstring, xml, ctype, iconv, intl, json
tools: composer:v2

View File

@@ -25,7 +25,7 @@ jobs:
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
with:
coverage: pcov
php-version: "8.2"
php-version: "8.4"
- name: Install dependencies
run: composer install --no-interaction --prefer-dist