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

Add PHP 8.4 support #86

Merged
merged 6 commits into from
Nov 26, 2024
Merged

Add PHP 8.4 support #86

merged 6 commits into from
Nov 26, 2024

Conversation

weierophinney
Copy link
Member

Q A
Documentation no
Bugfix no
BC Break no
New Feature yes
RFC no
QA no

Description

  • Adds PHP 8.4 to the allowed constraints
  • Bumps PHPUnit to a version known to be tested against 8.4
  • Indents heredocs for readability

Adds PHP 8.4 to the PHP constraint list

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
This has been supported since PHP 7.3, and helps improve readability

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
- Adds 8.4 to PHP constraints
- Bumps PHPUnit version slightly to pick up PHP 8.4-compatible version

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
@weierophinney
Copy link
Member Author

I'm able to resolve the phpcs issues. However, the PHP 8.4 ones appear to be due to having a version of composer that is outdated on CI; I'm unable to reproduce locally when I run the composer update/composer update --prefer-lowest commands.

@weierophinney weierophinney added this to the 3.5.0 milestone Nov 25, 2024
@weierophinney
Copy link
Member Author

The phpcs issues here I cannot reproduce locally, either (I fixed different issues reported when I ran it). Will try running with PHP 8.1 to see if that demonstrates the issue.

@weierophinney
Copy link
Member Author

Cannot reproduce the phpcs issues locally either.

@gsteel
Copy link
Member

gsteel commented Nov 25, 2024

LCS 3.0 is working OK in CI - Only a few pointless param/return types to fix. Can you just bump it to 3.0 to see if the problem is fixed?

@gsteel
Copy link
Member

gsteel commented Nov 25, 2024

Also, psalm won't install on 8.4 so .laminas-ci.json will need an update

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Copy link
Member

@gsteel gsteel left a comment

Choose a reason for hiding this comment

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

Thanks @weierophinney :)

@gsteel gsteel self-assigned this Nov 26, 2024
@gsteel gsteel merged commit 8752d73 into laminas:3.5.x Nov 26, 2024
16 checks passed
@weierophinney weierophinney deleted the feature/php-8.4 branch November 26, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants