aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/CliOptionsParser.php2
-rwxr-xr-xcli/reconfigure.php2
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;
}
}