Prevent possible warnings on unset variables#542
Prevent possible warnings on unset variables#542GrahamCampbell merged 5 commits intoguzzle:masterfrom sudo-plz:master
Conversation
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 2 weeks if no further activity occurs. Thank you for your contributions. |
|
@GrahamCampbell Can you please take a look? |
|
Thanks for the PR. Can you add test coverage please? |
|
Thanks for your feedback, I added some cases, I hope its up to your standards! Update: Currently searching why Psalm suddenly decided to call out some unrelated improvements. Are you fine with just updating the baselines? |
I suspect this is because of psr/http-message 1.1 being tagged. |
|
Please revert the baseline changes, and leave it to fail, so that the PR is atomic. |
This reverts commit 8b323ef.
|
Great, thanks. |
|
We are likely going to do a 2.4.5 release on Monday 17th, so this will be included in that. 🎉 |
PHP version: 8.0
Problem
Our server supplies the following value in $_FILES
Causing warnings such as: