You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…pped (rbaarsma)
This PR was submitted for the 5.4 branch but it was squashed and merged into the 4.4 branch instead.
Discussion
----------
[Process] fixed uppercase ARGC and ARGV should also be skipped
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#44534
| License | MIT
| Doc PR | no
uppercase env ARGC and ARGV were showing a warning:
```
[09-Dec-2021 17:17:05 Europe/Amsterdam] PHP Warning: Array to string conversion in /var/www/app/vendor/symfony/process/Process.php on line 344
```
This PR fixes that by adding upon the existing functionality blocking argv and argc env vars to become part of the eventual env vars.
Commits
-------
0ced90c [Process] fixed uppercase ARGC and ARGV should also be skipped
Symfony version(s) affected
5.4.0
Description
See #44197
Only difference is that ARGV is coming in with capital letters and therefore not caught by the if statement on Process.php line 343
How to reproduce
We are following the standard approach for liuggio/fastest bundle, executing our tests with this command:
A simple debug of the
$env
at this point shows:Possible Solution
Additional Context
No response
The text was updated successfully, but these errors were encountered: