aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cli/i18n/I18nFileTest.php2
-rw-r--r--tests/phpstan-next.txt10
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