diff options
| author | 2023-04-17 08:30:21 +0200 | |
|---|---|---|
| committer | 2023-04-17 08:30:21 +0200 | |
| commit | f3760f138dcbaf7a2190336a0378cf1b2190c9f5 (patch) | |
| tree | 6fac8fbf9efd7aa74a8e3970ab70ccf85287b2cd /tests/phpstan-next.txt | |
| parent | 41fa4e746df8c2e2399ed753b4994ca85cb21358 (diff) | |
Complete PHPStan Level 6 (#5305)
* Complete PHPStan Level 6
Fix https://github.com/FreshRSS/FreshRSS/issues/4112
And initiate PHPStan Level 7
* PHPStan Level 6 for tests
* Use phpstan/phpstan-phpunit
* Update to PHPStan version 1.10
* Fix mixed bug
* Fix mixed return bug
* Fix paginator bug
* Fix FreshRSS_UserConfiguration
* A couple more Minz_Configuration bug fixes
* A few trivial PHPStan Level 7 fixes
* A few more simple PHPStan Level 7
* More files passing PHPStan Level 7
Add interface to replace removed class from https://github.com/FreshRSS/FreshRSS/pull/5251
* A few more PHPStan Level 7 preparations
* A few last details
Diffstat (limited to 'tests/phpstan-next.txt')
| -rw-r--r-- | tests/phpstan-next.txt | 48 |
1 files changed, 43 insertions, 5 deletions
diff --git a/tests/phpstan-next.txt b/tests/phpstan-next.txt index 5b5b33e45..e2e081ecf 100644 --- a/tests/phpstan-next.txt +++ b/tests/phpstan-next.txt @@ -1,10 +1,48 @@ -# List of files, which are not yet passing PHPStan level 6 https://phpstan.org/user-guide/rule-levels -# https://github.com/FreshRSS/FreshRSS/issues/4112 +# List of files, which are not yet passing PHPStan level 7 https://phpstan.org/user-guide/rule-levels # Used for automated tests to avoid regressions in files already passing that level. # Can be regenerated with something like: -# find . -type d -name 'vendor' -prune -o -name '*.php' -exec sh -c 'vendor/bin/phpstan analyse --level 6 --memory-limit 512M {} >/dev/null 2>/dev/null || echo {}' \; +# find . -type d -name 'vendor' -prune -o -name '*.php' -exec sh -c 'vendor/bin/phpstan analyse --level 7 --memory-limit 512M {} >/dev/null 2>/dev/null || echo {}' \; -./app/install.php +./app/Controllers/configureController.php +./app/Controllers/feedController.php +./app/Controllers/importExportController.php +./app/Controllers/indexController.php +./app/Controllers/updateController.php +./app/Controllers/userController.php +./app/Models/CategoryDAO.php +./app/Models/Context.php +./app/Models/DatabaseDAO.php +./app/Models/DatabaseDAOPGSQL.php +./app/Models/Entry.php +./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/Models/UserQuery.php +./app/Services/ExportService.php ./app/Services/ImportService.php -./lib/Minz/Paginator.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 +./cli/user-info.php +./lib/lib_date.php +./lib/Minz/ActionController.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 +./tests/lib/Minz/MigratorTest.php |
