From 2e64569b41a8710fa66ff25607ebfb043f6e921e Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 22 Sep 2026 12:29:35 +0530 Subject: [PATCH] Update PHP version and dependencies constraints --- .github/workflows/ci.yml | 7 ++++--- composer.json | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c099c7a..0aa9861 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: branches: - master - '5.x' + - '6.x' pull_request: branches: - '*' @@ -15,10 +16,10 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['8.1', '8.2', '8.3', '8.4'] + php-version: ['8.4', '8.5'] dependencies: ['highest'] include: - - php-version: '8.1' + - php-version: '8.4' dependencies: 'lowest' steps: @@ -48,7 +49,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.4' tools: phive, cs2pr coverage: none diff --git a/composer.json b/composer.json index da7a648..e7a26b8 100644 --- a/composer.json +++ b/composer.json @@ -18,14 +18,14 @@ "source": "https://github.com/cakephp/cakephp-codesniffer" }, "require": { - "php": ">=8.1", + "php": ">=8.4", "dealerdirect/phpcodesniffer-composer-installer": "^1.1.2", "phpstan/phpdoc-parser": "^2.1", "slevomat/coding-standard": "^8.23", "squizlabs/php_codesniffer": "^4.0.2" }, "require-dev": { - "phpunit/phpunit": "^10.5.32 || ^11.3.3" + "phpunit/phpunit": "^12.1.3 || ^13.0" }, "autoload": { "psr-4": {