diff options
author | Alexandre Alapetite <alexandre@alapetite.fr> | 2024-05-15 08:57:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 08:57:58 +0200 |
commit | 2d17c020b6695d47debda065804db4e2d2f92e55 (patch) | |
tree | 4e03d16b1f59eabe347b8a89a7f375646269e13a /cli | |
parent | f958eaef2f733553132c4880f9e2e56003476545 (diff) | |
download | freshrss-2d17c020b6695d47debda065804db4e2d2f92e55.tar.gz freshrss-2d17c020b6695d47debda065804db4e2d2f92e55.zip |
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
Diffstat (limited to 'cli')
-rw-r--r-- | cli/CliOptionsParser.php | 2 | ||||
-rwxr-xr-x | cli/reconfigure.php | 2 |
2 files changed, 2 insertions, 2 deletions
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; } } |