Skip to content

Drop support for PHP 8.1, add support for PHP 8.5 - #73

Merged
Ocramius merged 5 commits into
laminas:2.21.xfrom
gsteel:php8.5
Oct 16, 2025
Merged

Drop support for PHP 8.1, add support for PHP 8.5#73
Ocramius merged 5 commits into
laminas:2.21.xfrom
gsteel:php8.5

Conversation

@gsteel

@gsteel gsteel commented Oct 16, 2025

Copy link
Copy Markdown
Member

Upgrades PHPUnit to 11.x

Upgrades PHPUnit to 11.x

Signed-off-by: George Steel <george@net-glue.co.uk>
@gsteel gsteel added this to the 2.21.0 milestone Oct 16, 2025
@gsteel gsteel added Enhancement Dependencies Updates and changes to dependencies labels Oct 16, 2025
Signed-off-by: George Steel <george@net-glue.co.uk>
…decouple tests from service manager lib

Signed-off-by: George Steel <george@net-glue.co.uk>
…ailing and also need dependencies installed anyway

Signed-off-by: George Steel <george@net-glue.co.uk>
@gsteel
gsteel requested a review from a team October 16, 2025 11:50
@gsteel gsteel added this to PHP 8.5 Oct 16, 2025
@github-project-automation github-project-automation Bot moved this to Todo in PHP 8.5 Oct 16, 2025

@Ocramius Ocramius left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm quite unconvinced of the reflection based tests introduced here: can we instead check the observable behaviour from an API perspective?

Comment thread test/AdapterPluginManagerCompatibilityTest.php Outdated
Comment thread test/ScrollingStylePluginManagerCompatibilityTest.php Outdated
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in PHP 8.5 Oct 16, 2025
@gsteel

gsteel commented Oct 16, 2025

Copy link
Copy Markdown
Member Author

I'm quite unconvinced of the reflection based tests introduced here: can we instead check the observable behaviour from an API perspective?

I don't disagree - these are just inlined from the trait shipped by laminas-servicemanager - I was being lazy :)

Signed-off-by: George Steel <george@net-glue.co.uk>
@Ocramius

Copy link
Copy Markdown
Member

TIL: they are rubbish 🤣

Right, let's ship this, and we'll get breakages on ServiceManager upgrades later on

@Ocramius Ocramius self-assigned this Oct 16, 2025
@Ocramius
Ocramius merged commit ca58805 into laminas:2.21.x Oct 16, 2025
17 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in PHP 8.5 Oct 16, 2025
@Ocramius

Copy link
Copy Markdown
Member

Thanks @gsteel!

@gsteel
gsteel deleted the php8.5 branch October 16, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Updates and changes to dependencies Enhancement

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants