PHPStan 1.11 + minor update dev dependencies (#6459)

* PHPStan 1.11 + minor update dev dependencies
https://github.com/phpstan/phpstan/releases/tag/1.11.0

* Comment style
This commit is contained in:
Alexandre Alapetite
2024-05-15 08:57:58 +02:00
committed by GitHub
parent f958eaef2f
commit 2d17c020b6
16 changed files with 139 additions and 194 deletions

View File

@@ -101,7 +101,7 @@ abstract class CliOptionsParser {
}
if (!empty($typedValues)) {
// @phpstan-ignore-next-line (change to `@phpstan-ignore property.dynamicName` when upgrading to PHPStan 1.11+)
// @phpstan-ignore property.dynamicName
$this->$name = $types['isArray'] ? $typedValues : array_pop($typedValues);
}
}