A free, self-hostable news aggregator…
phpstan level 7 for manipulate.translation.php (#5352)
Luc SANCHEZ2199df8ad7e9
diff --git a/cli/manipulate.translation.php b/cli/manipulate.translation.phpindex ed307f302..b52451681 100755--- a/cli/manipulate.translation.php+++ b/cli/manipulate.translation.php@@ -5,7 +5,7 @@ require_once __DIR__ . '/i18n/I18nData.php';require_once __DIR__ . '/i18n/I18nFile.php';require_once __DIR__ . '/../constants.php';-+/** @var array<string,string> $options */$options = getopt("a:hk:l:o:rv:");if (array_key_exists('h', $options)) {diff --git a/tests/phpstan-next.txt b/tests/phpstan-next.txtindex 2f7097559..230ec5a25 100644--- a/tests/phpstan-next.txt+++ b/tests/phpstan-next.txt@@ -17,7 +17,6 @@./app/Models/Share.php./app/views/helpers/logs_pagination.phtml./cli/check.translation.php-./cli/manipulate.translation.php./lib/Minz/Error.php./lib/Minz/Mailer.php./lib/Minz/Migrator.php