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
2 changes: 1 addition & 1 deletion .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["7.4", "8.0", "8.1", "8.2"]
php: ["7.4", "8.0", "8.1", "8.2", "8.3"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 The composer constraint now allows PHP 8.4 (<8.5), but 8.4 is not included in the test matrix. PHP 8.4 has been released since November 2024 and ships several deprecation-to-error promotions and other behavioural changes that could silently break consumers. Without a 8.4 CI run, the package is effectively advertising support it hasn't verified.

Suggested change
php: ["7.4", "8.0", "8.1", "8.2", "8.3"]
php: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/pr_test.yml
Line: 14

Comment:
The composer constraint now allows PHP 8.4 (`<8.5`), but 8.4 is not included in the test matrix. PHP 8.4 has been released since November 2024 and ships several deprecation-to-error promotions and other behavioural changes that could silently break consumers. Without a 8.4 CI run, the package is effectively advertising support it hasn't verified.

```suggestion
        php: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
```

How can I resolve this? If you propose a fix, please make it concise.

composer-version: [prefer-lowest, prefer-stable]
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"minimum-stability": "stable",
"require": {
"php" : ">=7.4 <8.3",
"php" : ">=7.4 <8.4",
"rexlabs/utility-belt": "^4.0"
},
"require-dev": {
Expand Down
Loading