diff options
| author | 2025-10-25 11:21:28 +0200 | |
|---|---|---|
| committer | 2025-10-25 11:21:28 +0200 | |
| commit | f1c91c84ddee0a9f3ef6d0775f630822c184963f (patch) | |
| tree | 5a5291a2b29ff7614fc35d6d6c891abb1e090a52 /cli/CliOptionsParser.php | |
| parent | 11863fa00e71b05fe29529ab7588a4b845b6805a (diff) | |
Bump phpstan/phpstan from 2.1.29 to 2.1.31 (#8156)
* Bump phpstan/phpstan from 2.1.29 to 2.1.31
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan-phar-composer-source) from 2.1.29 to 2.1.31.
- [Commits](https://github.com/phpstan/phpstan-phar-composer-source/commits)
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-version: 2.1.31
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fixes
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'cli/CliOptionsParser.php')
| -rw-r--r-- | cli/CliOptionsParser.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/CliOptionsParser.php b/cli/CliOptionsParser.php index 9ef9e9f10..dd507d341 100644 --- a/cli/CliOptionsParser.php +++ b/cli/CliOptionsParser.php @@ -122,6 +122,7 @@ abstract class CliOptionsParser { foreach ($this->options as $name => $data) { if (in_array($alias, $data->getAliases(), true)) { $this->inputs[$name]['aliasUsed'] = $alias; + // @phpstan-ignore assign.propertyType (PHPStan error?) $this->inputs[$name]['values'] = $value === false ? [$data->getOptionalValueDefault()] : (is_array($value) |
