diff options
| author | 2023-04-23 11:58:15 +0200 | |
|---|---|---|
| committer | 2023-04-23 11:58:15 +0200 | |
| commit | 115724622fa32e1b7981e378e87ccfb770450cb1 (patch) | |
| tree | 4d7072768076fd76f2f1877757f3e2e395ab2ded /tests | |
| parent | 8abe53d879ef188a5c1cc394894ce211fcfa9f92 (diff) | |
PHPStan Level 7 for ten more files (#5327)
* PHPStan Level 7 for nine more files
* Minor syntax
* One more
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/cli/i18n/I18nFileTest.php | 2 | ||||
| -rw-r--r-- | tests/phpstan-next.txt | 10 |
2 files changed, 1 insertions, 11 deletions
diff --git a/tests/cli/i18n/I18nFileTest.php b/tests/cli/i18n/I18nFileTest.php index 662c14608..d584fdd22 100644 --- a/tests/cli/i18n/I18nFileTest.php +++ b/tests/cli/i18n/I18nFileTest.php @@ -15,7 +15,7 @@ class I18nFileTest extends PHPUnit\Framework\TestCase { $this->assertEquals($before, $after); } - /** @return array<string,string> */ + /** @return array<string,string|false> */ private function computeFilesHash(): array { $hashes = []; diff --git a/tests/phpstan-next.txt b/tests/phpstan-next.txt index 308edc346..fe033acd9 100644 --- a/tests/phpstan-next.txt +++ b/tests/phpstan-next.txt @@ -16,27 +16,17 @@ ./app/Models/EntryDAO.php ./app/Models/Feed.php ./app/Models/FeedDAO.php -./app/Models/ReadingMode.php ./app/Models/Search.php ./app/Models/Share.php ./app/Models/StatsDAO.php ./app/Models/TagDAO.php -./app/Models/Themes.php -./app/Services/ExportService.php -./app/Services/ImportService.php ./app/views/helpers/logs_pagination.phtml -./app/views/index/reader.phtml ./app/views/stats/index.phtml ./app/views/stats/repartition.phtml -./app/views/user/details.phtml ./cli/check.translation.php -./cli/delete-user.php -./cli/do-install.php ./cli/manipulate.translation.php ./lib/Minz/Error.php ./lib/Minz/Mailer.php ./lib/Minz/Migrator.php ./lib/Minz/ModelPdo.php ./lib/Minz/Request.php -./p/api/greader.php -./tests/cli/i18n/I18nFileTest.php |
