diff options
| author | 2023-04-28 14:21:54 +0200 | |
|---|---|---|
| committer | 2023-04-28 14:21:54 +0200 | |
| commit | 2199df8ad7e9297f523614115bb323585e0dba83 (patch) | |
| tree | e8d4fac05f0b0c309313c7c4173d90024efc6d6c | |
| parent | c72914bba2363e436574204b3d6093a6f3cfce89 (diff) | |
phpstan level 7 for manipulate.translation.php (#5352)
* phpstan level 7 for manipulate.translation.php
* Update manipulate.translation.php
---------
Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
| -rwxr-xr-x | cli/manipulate.translation.php | 2 | ||||
| -rw-r--r-- | tests/phpstan-next.txt | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/cli/manipulate.translation.php b/cli/manipulate.translation.php index 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.txt index 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 |
