From ee468db6d98df37cb4972e6ab817795d51eefde7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BDernovi=C4=8D?= Date: Wed, 7 Jan 2026 12:10:47 +0100 Subject: [PATCH 1/2] update minimum PHP to version 8.2 (currently still supported version) + update league/fractal library --- CHANGELOG.md | 2 ++ composer.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22fe454..5b169ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file. Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles. ## [Unreleased][unreleased] +### Changed +* update minimum PHP to version 8.2 (currently still supported version) + update league/fractal library [BC] ## 3.2.0 diff --git a/composer.json b/composer.json index 9c2c094..7925b51 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": ">= 7.1.0", + "php": ">= 8.2.0", "ext-curl": "*", "ext-json": "*", "ext-session": "*", @@ -19,7 +19,7 @@ "nette/application": "^3.0", "nette/http": "^3.0", "tracy/tracy": "^2.6", - "league/fractal": "~0.17", + "league/fractal": "~0.20", "tomaj/nette-bootstrap-form": "^2.0", "justinrainbow/json-schema": "^5.2|^6.6" }, From 05e23788fc039c1884a32a478a084d7aa9104189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BDernovi=C4=8D?= Date: Wed, 7 Jan 2026 12:35:44 +0100 Subject: [PATCH 2/2] update workflows --- .github/workflows/phpunit.yml | 2 +- .github/workflows/syntax_checker.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 18614b8..3e6f366 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ] + php: [ '8.2', '8.3', '8.4' ] name: PHPunit PHP ${{ matrix.php }} diff --git a/.github/workflows/syntax_checker.yml b/.github/workflows/syntax_checker.yml index 828b008..4032b34 100644 --- a/.github/workflows/syntax_checker.yml +++ b/.github/workflows/syntax_checker.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ] + php: [ '8.2', '8.3', '8.4' ] name: PHP syntax checker PHP ${{ matrix.php }}