From 115724622fa32e1b7981e378e87ccfb770450cb1 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 23 Apr 2023 11:58:15 +0200 Subject: PHPStan Level 7 for ten more files (#5327) * PHPStan Level 7 for nine more files * Minor syntax * One more --- tests/cli/i18n/I18nFileTest.php | 2 +- tests/phpstan-next.txt | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) (limited to 'tests') 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 */ + /** @return array */ 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 -- cgit v1.2.3