Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support php 8.3 #160

Merged
merged 3 commits into from
Nov 27, 2023
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
13 changes: 7 additions & 6 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- cron: '42 23 * * 5'

env:
PHP_VERSION_LATEST: '8.2'
PHP_VERSION_LATEST: '8.3'

jobs:
tests:
Expand All @@ -28,18 +28,19 @@ jobs:
matrix:
os: [ ubuntu-latest ]
php:
- '8.2' # highest supported
- '8.3' # highest supported
- '8.2'
- '8.1'
- '8.0'
- '7.4'
- '7.3' # lowest supported
include:
- # highest supported Windows
os: windows-latest
php: '8.2' # highest supported
- # highest supported MacOs
php: '8.3' # highest supported
- # highest supported macOS
os: macos-latest
php: '8.2'
php: '8.3'
timeout-minutes: 30
steps:
- name: Checkout
Expand Down Expand Up @@ -99,7 +100,7 @@ jobs:
fail-fast: false
matrix:
php-version:
- '8.2' # highest supported
- '8.3' # highest supported
- '7.3' # lowest supported
steps:
- name: Checkout
Expand Down
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## unreleased

* Added
* Officially support PHP8.3 (via [#160])

[#160] https://github.com/package-url/packageurl-php/pull/160

## 1.1.0 - 2023-11-18

* Added
Expand Down
2 changes: 1 addition & 1 deletion tools/composer-require-checker/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"php": ">=7.4"
},
"require-dev": {
"maglnet/composer-require-checker": "3.8.0",
"maglnet/composer-require-checker": "3.8.0||4.7.1",
"roave/security-advisories": "dev-latest"
},
"prefer-stable": true,
Expand Down
2 changes: 1 addition & 1 deletion tools/php-cs-fixer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"php": ">=7.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "3.39.1",
"friendsofphp/php-cs-fixer": "3.40.0",
"roave/security-advisories": "dev-latest"
},
"prefer-stable": true,
Expand Down
5 changes: 1 addition & 4 deletions tools/psalm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"vimeo/psalm": "4.30.0"
"vimeo/psalm": "5.16"
},
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": false
},
"preferred-install": "dist",
"sort-packages": true
}
Expand Down