Skip to content

Commit

Permalink
Upgrade HTTP client to Cake 5 (#9)
Browse files Browse the repository at this point in the history
* Upgrade HTTP client to Cake 5

* Remove php versions from CI

* Change strategy to get response body, because of mocking errors with many requests
  • Loading branch information
mentisy authored Dec 27, 2024
1 parent 8e65a18 commit 5e293d3
Show file tree
Hide file tree
Showing 6 changed files with 385 additions and 308 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0', '8.1']
php-version: ['8.1']
name: PHP ${{ matrix.php-version }}

steps:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"description": "A package for fetching data from Norwegian Football API service Fotballdata",
"type": "library",
"require": {
"cakephp/http": "^4.4",
"cakephp/http": "^5.0.0",
"ext-json": "*",
"php": "^7.4|^8.0"
"php": "^8.1"
},
"require-dev": {
"phpstan/phpstan": "^1.7",
Expand Down
Loading

0 comments on commit 5e293d3

Please sign in to comment.