From 7bfa7d6106a998a2eacae1d92d6abebc69927682 Mon Sep 17 00:00:00 2001 From: Kirill Mokevnin Date: Wed, 12 Aug 2026 15:30:18 -0400 Subject: [PATCH] =?UTF-8?q?chore(deps):=20php=208.5,=20phpunit=2013=20?= =?UTF-8?q?=D0=B8=20=D0=BF=D0=B8=D0=BD=20code=20sniffer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Платформенное требование стояло на 8.3 при каноне кита 8.5, и CI гонял матрицу из трёх версий, две из которых в образах кита не встречаются. Ограничение `squizlabs/php_codesniffer: "*"` заменено на `^4.0`: звёздочка означает «любая версия, включая следующий мажор», то есть сборка ломается в день выхода мажора и без единой правки в репозитории. В phpunit.xml атрибут cacheResult переименован в recordTestRunHistory: под phpunit 13 старое имя депрекейтнуто и красит вывод жёлтым. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/phpci.yaml | 2 -- composer.json | 10 ++++++---- phpunit.xml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/phpci.yaml b/.github/workflows/phpci.yaml index 4a051ed..4b103ed 100644 --- a/.github/workflows/phpci.yaml +++ b/.github/workflows/phpci.yaml @@ -11,8 +11,6 @@ jobs: strategy: matrix: php-versions: - - '8.3' - - '8.4' - '8.5' steps: diff --git a/composer.json b/composer.json index 8affb6a..5e6d2d2 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,9 @@ "name": "hexlet/pairs", "description": "Pairs implementation", "license": "MIT", - "keywords": ["pairs"], + "keywords": [ + "pairs" + ], "authors": [ { "name": "Kirill Mokevnin", @@ -10,7 +12,7 @@ } ], "require": { - "php": ">=8.3" + "php": ">=8.5" }, "autoload": { "files": [ @@ -18,7 +20,7 @@ ] }, "require-dev": { - "phpunit/phpunit": "^12", - "squizlabs/php_codesniffer": "*" + "phpunit/phpunit": "^13.3", + "squizlabs/php_codesniffer": "^4.0" } } diff --git a/phpunit.xml b/phpunit.xml index fdc0c27..d18e2b8 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,13 +1,13 @@