8000 Upgrade libraries to avoid PHP Warnings on PHP 8.4 by maks-rafalko · Pull Request #2012 · infection/infection · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Upgrade libraries to avoid PHP Warnings on PHP 8.4 #2012

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

Merged
merged 3 commits into from
Dec 8, 2024

Conversation

maks-rafalko
Copy link
Member

Running Infection on PHP 8.4 is currently produces a lot of warnings:

Implicitly marking parameter $var as nullable is deprecated

This PR updates libs to avoid it.

```
Implicitly marking parameter $var as nullable is deprecated
```
@maks-rafalko maks-rafalko changed the title Upgrade libraries to avoid PHP Warnings Upgrade libraries to avoid PHP Warnings on PHP 8.4 Dec 8, 2024
Copy link
@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Could you please add tests to make sure this change works as expected?

@@ -65,7 +65,7 @@
"symfony/filesystem": "^5.4 || ^6.0 || ^7.0",
"symfony/finder": "^5.4 || ^6.0 || ^7.0",
"symfony/process": "^5.4 || ^6.0 || ^7.0",
"thecodingmachine/safe": "^2.1.2",
Copy link
Member Author

Choose a reason for hiding this comment

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

thecodingmachine/safe has fixes in master, but didn't create a new tag since 2023

Copy link
Member
@sanmai sanmai left a comment

Choose a reason for hiding this comment

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

Bummer that we can't get a new version of thecodingmachine/safe

@maks-rafalko
Copy link
Member Author

Bummer that we can't get a new version of thecodingmachine/safe

seems like they have ongoing discussion on how to proceed: thecodingmachine/safe#500 (comment)

but yeah, currently no new release unfortunately

@maks-rafalko maks-rafalko marked this pull request as ready for review December 8, 2024 14:06
@maks-rafalko maks-rafalko merged commit 69e9359 into master Dec 8, 2024
70 checks passed
@maks-rafalko maks-rafalko deleted the feature/php-84-warnings branch December 8, 2024 14:06
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
0