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
11 changes: 10 additions & 1 deletion .github/workflows/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.0', '8.1', '8.2', '8.3', '8.4']
php-version: ['8.2', '8.3', '8.4']
component: [Common, Http, Plugin]
include:
- php-version: '8.0'
component: Http
- php-version: '8.0'
component: Plugin
- php-version: '8.1'
component: Http
- php-version: '8.1'
component: Plugin

name: PHP ${{ matrix.php-version }} / ${{ matrix.component }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.0', '8.1', '8.2', '8.3', '8.4']
php-version: ['8.2', '8.3', '8.4']
deps: ['low', 'high']
name: PHP ${{ matrix.php-version }} (${{ matrix.deps }})
steps:
Expand Down Expand Up @@ -63,5 +63,5 @@ jobs:
extensions: curl
- name: Install dependencies
run: composer install --no-progress
- name: Run PHPStan
- name: Run php-cs-fixer
run: composer run-script cs
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"homepage": "http://geocoder-php.org",
"require": {
"php": "^8.0",
"php": ">=8.2",
"igorw/get-in": "^1.0",
"php-http/discovery": "^1.17",
"php-http/promise": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Common/.github/workflows/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.0', '8.1', '8.2', '8.3', '8.4']
php-version: ['8.2', '8.3', '8.4']
steps:
- uses: actions/checkout@v4
- name: Use PHP ${{ matrix.php-version }}
Expand Down
5 changes: 5 additions & 0 deletions src/Common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.

## 5.0.0

- Drop support for PHP < 8.2
- Added return values on classes and interfaces

## 4.6.0

### Removed
Expand Down
6 changes: 3 additions & 3 deletions src/Common/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
],
"require": {
"php": "^8.0"
"php": ">=8.2"
},
"require-dev": {
"nyholm/nsa": "^1.1",
Expand All @@ -29,7 +29,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "4.1-dev"
"dev-master": "5.1-dev"
}
},
"autoload": {
Expand All @@ -49,4 +49,4 @@
"php-http/discovery": false
}
}
}
}
2 changes: 1 addition & 1 deletion src/Http/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"php-http/discovery": "^1.17",
"psr/http-client-implementation": "^1.0",
"psr/http-factory-implementation": "^1.0",
"willdurand/geocoder": "^4.0"
"willdurand/geocoder": "^4.0|^5.0"
},
"require-dev": {
"nyholm/psr7": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"php-http/promise": "^1.0",
"psr/log": "^1.0|^2.0|^3.0",
"psr/simple-cache": "^1.0|^2.0|^3.0",
"willdurand/geocoder": "^4.0"
"willdurand/geocoder": "^4.0|^5.0"
},
"require-dev": {
"cache/void-adapter": "^1.0",
Expand Down
Loading