aboutsummaryrefslogtreecommitdiff
path: root/phpstan-next.neon
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-09-11 17:14:53 +0200
committerGravatar GitHub <noreply@github.com> 2024-09-11 17:14:53 +0200
commitdfac9f5813df7d4c7c812c381364c8898333f559 (patch)
tree978496d0a8d8b0d6b5dbe836c6829296133b337c /phpstan-next.neon
parent31c8846791d4b5316fbc790202f79545c012f9c2 (diff)
PHPStan booleansInConditions (#6793)
* PHPStan booleansInConditions * Uniformisation
Diffstat (limited to 'phpstan-next.neon')
-rw-r--r--phpstan-next.neon35
1 files changed, 1 insertions, 34 deletions
diff --git a/phpstan-next.neon b/phpstan-next.neon
index aa8dc678a..5593c6049 100644
--- a/phpstan-next.neon
+++ b/phpstan-next.neon
@@ -1,41 +1,8 @@
includes:
- phpstan.neon
+ - vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
- strictRules:
- booleansInConditions: true
- ignoreErrors:
- - '#Only booleans are allowed in (a negated boolean|a ternary operator condition|an elseif condition|an if condition|&&|\|\|), (bool|false|int(<[0-9, max]+>)?|true|null|\|)+ given.*#'
excludePaths:
analyse:
# TODO: Update files below and remove them from this list
- - app/Controllers/feedController.php
- - app/Controllers/importExportController.php
- - app/Controllers/subscriptionController.php
- - app/Controllers/tagController.php
- - app/FreshRSS.php
- - app/Models/CategoryDAO.php
- - app/Models/CategoryDAOSQLite.php
- - app/Models/DatabaseDAOSQLite.php
- - app/Models/Entry.php
- - app/Models/EntryDAO.php
- - app/Models/EntryDAOSQLite.php
- - app/Models/Feed.php
- - app/Models/FeedDAO.php
- - app/Models/FeedDAOSQLite.php
- - app/Models/FormAuth.php
- - app/Models/LogDAO.php
- - app/Models/TagDAO.php
- - app/Models/Themes.php
- - app/Services/ExportService.php
- - app/Services/ImportService.php
- - app/views/configure/archiving.phtml
- - app/views/configure/queries.phtml
- - app/views/configure/query.phtml
- - app/views/helpers/stream-footer.phtml
- - app/views/stats/repartition.phtml
- - app/views/subscription/feed.phtml
- - cli/CliOptionsParser.php
- - cli/create-user.php
- - cli/update-user.php
- - lib/lib_rss.php