From 22a2c2baa0a1ad10b34c402d25237c12a5032dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edi=20Modri=C4=87?= Date: Tue, 2 Dec 2025 09:12:05 +0100 Subject: [PATCH 1/2] Update php-enum dependency version to ^4.4 Hi, Versions of `mark-mabe/php-enum` lower than 4.4 emit a warning on PHP 8: ``` PHP Warning: Private methods cannot be final as they are never overridden by other classes ``` so it would be nice to restrict installs to versions that work fine. There is no BC breaks with this and no change in dependencies. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e8e847e6..5dfe65d1 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "require": { "php": "^7.2 || ^8.0", "ext-json": "*", - "marc-mabe/php-enum":"^4.0" + "marc-mabe/php-enum":"^4.4" }, "require-dev": { "friendsofphp/php-cs-fixer": "3.3.0", From 24eee897c384ae4ff6c529737849bc3c4b74ac61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edi=20Modri=C4=87?= Date: Tue, 2 Dec 2025 10:27:10 +0100 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f8aab32..5c371991 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- Restricted `mark-mabe/php-enum` dependency to `^4.4` due to lower versions emitting a warning on PHP 8 ([#854](https://github.com/jsonrainbow/json-schema/pull/854)) ## [6.6.2] - 2025-11-28 ### Changed