8.2 and up

This commit is contained in:
Robin Appelman 2025-10-25 16:52:20 +02:00
commit b5cfe5d2ac
2 changed files with 5 additions and 7 deletions

View file

@ -18,7 +18,7 @@ jobs:
- name: Setup PHP - name: Setup PHP
uses: https://github.com/shivammathur/setup-php@v2 uses: https://github.com/shivammathur/setup-php@v2
with: with:
php-version: '8.1' php-version: '8.2'
extensions: apcu extensions: apcu
- name: Composer - name: Composer
run: composer install run: composer install
@ -34,7 +34,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
php-version: php-version:
- "8.1"
- "8.2" - "8.2"
- "8.3" - "8.3"
- "8.4" - "8.4"
@ -133,7 +132,7 @@ jobs:
- name: Setup PHP - name: Setup PHP
uses: https://github.com/shivammathur/setup-php@v2 uses: https://github.com/shivammathur/setup-php@v2
with: with:
php-version: 8.1 php-version: 8.2
extensions: apcu, smbclient extensions: apcu, smbclient
coverage: pcov coverage: pcov
- name: Composer - name: Composer
@ -189,13 +188,12 @@ jobs:
static-psalm-analysis: static-psalm-analysis:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Psalm static analysis name: Psalm static analysis - PHP ${{ matrix.php-version }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
php-version: php-version:
- "8.1"
- "8.2" - "8.2"
- "8.3" - "8.3"
- "8.4" - "8.4"

View file

@ -9,14 +9,14 @@
} }
], ],
"require": { "require": {
"php": ">=8.1", "php": ">=8.2",
"icewind/streams": ">=0.7.3" "icewind/streams": ">=0.7.3"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^8.5|^9.3.8", "phpunit/phpunit": "^8.5|^9.3.8",
"friendsofphp/php-cs-fixer": "v3.89.0", "friendsofphp/php-cs-fixer": "v3.89.0",
"phpstan/phpstan": "^0.12.57", "phpstan/phpstan": "^0.12.57",
"psalm/phar": "5.26.1" "psalm/phar": "6.*"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {