From 4cc3374f9f6cdd6ea05d4d16942d0165d8b2ed90 Mon Sep 17 00:00:00 2001 From: wn_ Date: Wed, 10 Nov 2021 21:38:25 +0000 Subject: Initial go at PHPStan rule level 6. --- phpstan.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpstan.neon') diff --git a/phpstan.neon b/phpstan.neon index 7fe02b07e..8f0447e80 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,5 @@ parameters: - level: 5 + level: 6 ignoreErrors: - '#Constant.*\b(SUBSTRING_FOR_DATE|SCHEMA_VERSION|SELF_USER_AGENT|LABEL_BASE_INDEX|PLUGIN_FEED_BASE_INDEX)\b.*not found#' - '#Comparison operation ">" between int<1, max> and 0 is always true.#' -- cgit v1.2.3-54-g00ecf From a92070da068f1c4be7a35c7f92a5905c1307335b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Nov 2021 08:20:56 +0300 Subject: unignore several phpstan errors --- phpstan.neon | 4 ---- 1 file changed, 4 deletions(-) (limited to 'phpstan.neon') diff --git a/phpstan.neon b/phpstan.neon index 8f0447e80..63132d801 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -3,10 +3,6 @@ parameters: ignoreErrors: - '#Constant.*\b(SUBSTRING_FOR_DATE|SCHEMA_VERSION|SELF_USER_AGENT|LABEL_BASE_INDEX|PLUGIN_FEED_BASE_INDEX)\b.*not found#' - '#Comparison operation ">" between int<1, max> and 0 is always true.#' - - '#Access to an undefined property DOMNode::\$tagName.#' - - '#Call to an undefined method DOMNode::(get|remove|set|has)Attribute\(\).#' - - '#Call to an undefined method DOMNode::(getElementsByTagName)\(\).#' - - '#PHPDoc tag @param has invalid value#' - message: '##' paths: - lib/* -- cgit v1.2.3-54-g00ecf