WMDE-Fisch has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/370682 )

Change subject: Suppress more phan issues
......................................................................

Suppress more phan issues

I get this issues when run locally following instructions in
https://www.mediawiki.org/wiki/Continuous_integration/Phan#Manual_2

Change-Id: Ib5125166c2fc073c93d3116d16a4680edf20412e
---
M tests/phan/config.php
1 file changed, 14 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/82/370682/1

diff --git a/tests/phan/config.php b/tests/phan/config.php
index 8a82d74..970646b 100644
--- a/tests/phan/config.php
+++ b/tests/phan/config.php
@@ -297,6 +297,10 @@
         * to this black-list to inhibit them from being reported.
         */
        'suppress_issue_types' => [
+               // approximate error count: 16
+               "PhanCommentParamOnEmptyParamList",
+               // approximate error count: 35
+               "PhanCommentParamWithoutRealParam",
                // approximate error count: 8
                "PhanDeprecatedClass",
                // approximate error count: 415
@@ -325,12 +329,18 @@
                "PhanTypeMismatchArgument",
                // approximate error count: 13
                "PhanTypeMismatchArgumentInternal",
+               // approximate error count: 117
+               "PhanTypeMismatchDeclaredParamNullable",
                // approximate error count: 14
                "PhanTypeMismatchForeach",
                // approximate error count: 56
                "PhanTypeMismatchProperty",
+               // approximate error count: 7
+               "PhanTypeMismatchDeclaredParam",
                // approximate error count: 74
                "PhanTypeMismatchReturn",
+               // approximate error count: 2
+               "PhanMisspelledAnnotation",
                // approximate error count: 11
                "PhanTypeMissingReturn",
                // approximate error count: 5
@@ -341,8 +351,12 @@
                "PhanUndeclaredMethod",
                // approximate error count: 1224
                "PhanUndeclaredProperty",
+               // approximate error count: 13
+               "PhanUndeclaredVariable",
                // approximate error count: 3
                "PhanUndeclaredStaticMethod",
+               // approximate error count: 62
+               "PhanUndeclaredVariableDim",
        ],
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/370682
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib5125166c2fc073c93d3116d16a4680edf20412e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: WMDE-Fisch <christoph.jau...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to