From b3d6c27d8cb6fe1aeaf9952d33201360703a00ac Mon Sep 17 00:00:00 2001 From: Nyholm Date: Tue, 8 Mar 2022 16:51:05 +0100 Subject: [PATCH 1/5] Release 0.4.1 --- .github/workflows/ci.yml | 2 ++ CHANGELOG.md | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83b3c35..f549f7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ jobs: include: - php: 8.0 sf_version: '6.0.*' + - php: 8.1 + sf_version: '6.0.*' steps: - name: Set up PHP diff --git a/CHANGELOG.md b/CHANGELOG.md index 57eb3a3..6e9e4f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release. +## 0.4.1 + +### Added + +- Support for fractal 0.20.0 + ## 0.4.0 ### Fixed From e0cc68622279e6b61eca480904e9e75b4b9440b8 Mon Sep 17 00:00:00 2001 From: Nyholm Date: Tue, 8 Mar 2022 16:52:05 +0100 Subject: [PATCH 2/5] Minor cleanup --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f549f7d..cfb95e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,9 @@ jobs: php: [ '7.2', '7.3', '7.4', '8.0'] sf_version: [ '4.4.*', '5.3.*' ] include: - - php: 8.0 + - php: '8.0' sf_version: '6.0.*' - - php: 8.1 + - php: '8.1' sf_version: '6.0.*' steps: From 46f8dde666767b822f0461364180b4367e0efa81 Mon Sep 17 00:00:00 2001 From: Nyholm Date: Tue, 8 Mar 2022 16:55:56 +0100 Subject: [PATCH 3/5] Drop support for old versions of Symfony and php --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.md | 7 ++++++- composer.json | 8 ++++---- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfb95e8..84716b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,8 @@ jobs: strategy: max-parallel: 10 matrix: - php: [ '7.2', '7.3', '7.4', '8.0'] - sf_version: [ '4.4.*', '5.3.*' ] + php: [ '7.4', '8.0'] + sf_version: [ '5.4.*' ] include: - php: '8.0' sf_version: '6.0.*' diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e9e4f4..00aae0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,17 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release. -## 0.4.1 +## 0.5.0 ### Added - Support for fractal 0.20.0 +### Removed + +- Support for PHP 7.2 and 7.3 +- Support for Symfony 4 + ## 0.4.0 ### Fixed diff --git a/composer.json b/composer.json index 2e47d59..1393a77 100644 --- a/composer.json +++ b/composer.json @@ -14,15 +14,15 @@ } ], "require": { - "php": ">=7.2", + "php": ">=7.4", "ext-json": "*", "league/fractal": "^0.18 || ^0.19 || ^0.20", - "symfony/http-foundation": "^4.4 || ^5.2 || ^6.0", - "symfony/validator": "^4.4 || ^5.2 || ^6.0" + "symfony/http-foundation": "^5.4 || ^6.0", + "symfony/validator": "^5.4 || ^6.0" }, "require-dev": { "nyholm/nsa": "^1.1", - "phpunit/phpunit": "^8.5 || ^9.5" + "phpunit/phpunit": "^9.5" }, "minimum-stability": "dev", "prefer-stable": true, From f3966ffa8ce1d39091196b13b2a3b5bf7f93ae92 Mon Sep 17 00:00:00 2001 From: Nyholm Date: Tue, 8 Mar 2022 16:56:09 +0100 Subject: [PATCH 4/5] lowerst fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84716b1..22bb8ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@2.5.0 with: - php-version: 7.3 + php-version: 7.4 coverage: none - name: Checkout code From f7b2796dc69a0098deed5f4c51e1df7c043ab792 Mon Sep 17 00:00:00 2001 From: Nyholm Date: Tue, 8 Mar 2022 16:57:40 +0100 Subject: [PATCH 5/5] fix --- tests/Unit/ResponseFactoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/ResponseFactoryTest.php b/tests/Unit/ResponseFactoryTest.php index 5076cc3..780c968 100644 --- a/tests/Unit/ResponseFactoryTest.php +++ b/tests/Unit/ResponseFactoryTest.php @@ -147,7 +147,7 @@ public function getPerPage(): int return 10; } - public function getUrl(int $page): string + public function getUrl($page): string { return 'http://dummy-domain-name.dummy-domain'; }