From 2d17c020b6695d47debda065804db4e2d2f92e55 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 15 May 2024 08:57:58 +0200 Subject: 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 --- cli/CliOptionsParser.php | 2 +- cli/reconfigure.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cli') diff --git a/cli/CliOptionsParser.php b/cli/CliOptionsParser.php index be325bd91..1a0967b53 100644 --- a/cli/CliOptionsParser.php +++ b/cli/CliOptionsParser.php @@ -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); } } diff --git a/cli/reconfigure.php b/cli/reconfigure.php index 853e05297..ef86516f9 100755 --- a/cli/reconfigure.php +++ b/cli/reconfigure.php @@ -108,7 +108,7 @@ foreach ($values as $name => $value) { } break; } - // @phpstan-ignore-next-line (change to `@phpstan-ignore property.dynamicName` when upgrading to PHPStan 1.11+) + // @phpstan-ignore assign.propertyType, property.dynamicName $systemConf->$name = $value; } } -- cgit v1.2.3