Skip to content

Conversation

@matteotrubini
Copy link
Contributor

Tests have been successfully run locally using the latest PHP 8.4 release (8.4.6 at the time of writing).

@matteotrubini matteotrubini requested a review from clash82 as a code owner April 29, 2025 11:08
@matteotrubini
Copy link
Contributor Author

PHPStan reports an error, but the same code passes validation in their official playground: https://phpstan.org/r/c5714443-717f-4693-9619-591a707b18bd - not sure why there's a discrepancy.

I suggest ignoring the PHPStan false-positive rather than reintroducing explicit casting or workarounds just to make it green.

@clash82
Copy link
Owner

clash82 commented May 15, 2025

Hey @matteotrubini

Thanks for your contribution, I really appreciate it. Just a moment ago, I released v4.1.0, which drops support for PHP versions earlier than v8.3. For now, I’d like to stick with this, as php-cs-fixer does not yet support v8.4. Let’s revisit your PR once php-cs-fixer supports v8.4, unless you have another idea?

@matteotrubini
Copy link
Contributor Author

I reviewed the PR according to the changes introduced in v4.1.0. Honestly, I don't see any reason to wait for php-cs-fixer to merge.

@clash82 clash82 merged commit 38fdc2c into clash82:master May 19, 2025
8 checks passed
@clash82
Copy link
Owner

clash82 commented May 19, 2025

@matteotrubini Nice work, thank you. Anything else you would like to commit before I will release new version?

@matteotrubini matteotrubini deleted the php84-update branch May 19, 2025 13:16
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.

2 participants