From a6c7685e8cded5a0bc565aad5a624370fd63a7ac Mon Sep 17 00:00:00 2001 From: asakasinsky Date: Mon, 25 May 2026 23:14:19 +0300 Subject: [PATCH] Update dependencies: PHP 8.4+, PHPUnit 13, PHPCS 4.x - Require PHP >=8.4 (was >=8.3) - Update phpunit/phpunit from ^12 to ^13 - Switch to phpcsstandards/php_codesniffer ^4.0 (squizlabs abandoned) - Update CI: PHP 8.4 only, setup-php@v2.37.0 --- .github/workflows/phpci.yaml | 4 +--- composer.json | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/phpci.yaml b/.github/workflows/phpci.yaml index a2ed485..5e39804 100644 --- a/.github/workflows/phpci.yaml +++ b/.github/workflows/phpci.yaml @@ -11,15 +11,13 @@ jobs: strategy: matrix: php-versions: - - '8.3' - '8.4' - - '8.5' steps: - uses: actions/checkout@v6 - name: Set up PHP ${{ matrix.php-versions }} - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@v2.37.0 with: php-version: ${{ matrix.php-versions }} diff --git a/composer.json b/composer.json index 8affb6a..d49d68c 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": ">=8.3" + "php": ">=8.4" }, "autoload": { "files": [ @@ -18,7 +18,7 @@ ] }, "require-dev": { - "phpunit/phpunit": "^12", - "squizlabs/php_codesniffer": "*" + "phpunit/phpunit": "^13", + "phpcsstandards/php_codesniffer": "^4.0" } }