From 59a17b6b736c36620316dd128070d44f985347ab Mon Sep 17 00:00:00 2001 From: Kirill Mokevnin Date: Wed, 12 Aug 2026 15:30:23 -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 | 3 +-- composer.json | 11 +++++++---- phpunit.xml | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/phpci.yaml b/.github/workflows/phpci.yaml index f554df5..b353e8d 100644 --- a/.github/workflows/phpci.yaml +++ b/.github/workflows/phpci.yaml @@ -11,8 +11,7 @@ jobs: strategy: matrix: php-versions: - - '8.3' - - '8.4' + - '8.5' steps: - uses: actions/checkout@v7 diff --git a/composer.json b/composer.json index eda48a2..e50d354 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,10 @@ "name": "hexlet/points", "description": "Points implementation", "license": "MIT", - "keywords": ["hexlet", "points"], + "keywords": [ + "hexlet", + "points" + ], "authors": [ { "name": "Sergey Karpuk", @@ -10,7 +13,7 @@ } ], "require": { - "php": ">=8.3" + "php": ">=8.5" }, "autoload": { "files": [ @@ -18,7 +21,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 59044fa..f2ec066 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,13 +1,13 @@