Commit Graph
3 Commits
Author SHA1 Message Date
upstream e65a9b267b Upstream thephpleague/climate state of the touched files before e3f7e51a1a 2026-09-04 09:21:56 +02:00
dualfroz 06b3825ee5 fix: do not read an undefined offset when a value argument is last
The argument parser looked up the next command-line token via $argv[$key + 1]
guarded only by count($argv) === 0. The remaining arguments array is not
reindexed after earlier arguments are removed, so a value-taking argument placed
last (after an unconsumed token) read an undefined offset and raised an Undefined
array key warning under PHP 8, and the argument was set to empty instead of
falling back to its default. Check that the next offset exists with isset().
2026-09-06 00:58:54 +02:00
upstream e8a9b69c46 Upstream thephpleague/climate state of the touched files before c418b12a45 2026-09-04 09:21:56 +02:00