diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83b3c35..22bb8ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,10 +8,12 @@ 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 + - php: '8.0' + sf_version: '6.0.*' + - php: '8.1' sf_version: '6.0.*' steps: @@ -41,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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 57eb3a3..00aae0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release. +## 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, 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'; }