Commit ac3631a
committed
bug symfony#44538 [Process] fixed uppercase ARGC and ARGV should also be skipped (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 symfony#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 skipped1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
977 | | - | |
978 | 976 | | |
979 | 977 | | |
980 | 978 | | |
| |||
1503 | 1501 | | |
1504 | 1502 | | |
1505 | 1503 | | |
1506 | | - | |
1507 | | - | |
1508 | 1504 | | |
1509 | 1505 | | |
1510 | 1506 | | |
| |||
0 commit comments