Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ResponseFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down