Skip to content

Conversation

@txdFabio
Copy link
Contributor

@txdFabio txdFabio commented Dec 5, 2024

use of explicit nullable type for php-8.4 compatibility

Copy link
Member

@aik099 aik099 left a comment

Choose a reason for hiding this comment

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

This change breaks support for PHP versions below PHP 7.2.

@txdFabio
Copy link
Contributor Author

txdFabio commented Dec 5, 2024

you're right... can we change composer requirements to supporto only newer versions? Do I have to submit another PR?

@aik099
Copy link
Member

aik099 commented Dec 6, 2024

@davedevelopment, should we raise the minimum supported PHP version of the library (e.g., to PHP 7.2) to allow changes like the one proposed in this PR to work on PHP 8.4?

@PNardman
Copy link

  • 1 already waiting for this. 👍

@PNardman
Copy link

PNardman commented Mar 5, 2025

Any update on when this could be merged? Updated?

@aik099
Copy link
Member

aik099 commented Mar 5, 2025

Any update on when this could be merged? Updated?

@PNardma , no updates.

@davedevelopment , ping.

@PNardman
Copy link

PNardman commented Apr 7, 2025

Still no update. 😢

@aik099
Copy link
Member

aik099 commented Apr 7, 2025

Still no update. 😢

@PNardman , Please try contacting @davedevelopment and other library maintainers by other communication channels (e.g. e-mail, twitter, etc.).

@davedevelopment
Copy link
Member

I'm sorry, I've been away from Hamcrest for some time and completely forgot about my responsibilities here. Generally, I'd say yes, 7.2 is very old and they can always version pin.

@aik099
Copy link
Member

aik099 commented Apr 29, 2025

@davedevelopment , then here are the next steps:

  1. create another PR that will set a minimum compatible PHP version to PHP 7.2 (or even PHP 7.4)
  2. make a release
  3. rebase & merge this PR

.

@davedevelopment
Copy link
Member

Opened #87

@davedevelopment davedevelopment merged commit b1093f2 into hamcrest:master Apr 29, 2025
@txdFabio
Copy link
Contributor Author

I've seen the 2.1.0 release which remove older php constraints, but - while it's merged to master - it doesn't include the implicit nullable fix, is there anything else we need to do?

@davedevelopment
Copy link
Member

Generally I'd avoid tagging for every fix, but go on then...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants