Commit dc496b8
fix: make Application constructor/run params explicitly nullable
PHP 8.4 deprecates implicitly-nullable parameters (a typed parameter
with a `null` default). `Application::__construct()`'s $output and
`Application::run()`'s $argv used `Type $x = null`, which tripped the
PHPStan 8.4 job in CI. Prefix both with `?` (valid since PHP 7.1, so the
>=7.2 floor is unaffected).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b8c7f92 commit dc496b8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
0 commit comments