|
| 1 | +parameters: |
| 2 | + ignoreErrors: |
| 3 | + - |
| 4 | + message: "#^Parameter \\#1 \\$autoload_function of function spl_autoload_register expects callable\\(string\\)\\: void, array\\('PhpParser\\\\\\\\Autoloader', 'autoload'\\) given\\.$#" |
| 5 | + count: 1 |
| 6 | + path: PHP-Parser/lib/PhpParser/Autoloader.php |
| 7 | + |
| 8 | + - |
| 9 | + message: "#^PHPDoc tag @param references unknown parameter\\: \\$interfaces$#" |
| 10 | + count: 1 |
| 11 | + path: PHP-Parser/lib/PhpParser/Builder/Class_.php |
| 12 | + |
| 13 | + - |
| 14 | + message: "#^PHPDoc tag @param references unknown parameter\\: \\$interfaces$#" |
| 15 | + count: 1 |
| 16 | + path: PHP-Parser/lib/PhpParser/Builder/Interface_.php |
| 17 | + |
| 18 | + - |
| 19 | + message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$stmts\\.$#" |
| 20 | + count: 1 |
| 21 | + path: PHP-Parser/lib/PhpParser/Builder/Interface_.php |
| 22 | + |
| 23 | + - |
| 24 | + message: "#^Result of && is always false\\.$#" |
| 25 | + count: 1 |
| 26 | + path: PHP-Parser/lib/PhpParser/BuilderAbstract.php |
| 27 | + |
| 28 | + - |
| 29 | + message: "#^Method PhpParser\\\\BuilderAbstract\\:\\:normalizeValue\\(\\) should return PhpParser\\\\Node\\\\Expr but returns PhpParser\\\\Node\\.$#" |
| 30 | + count: 1 |
| 31 | + path: PHP-Parser/lib/PhpParser/BuilderAbstract.php |
| 32 | + |
| 33 | + - |
| 34 | + message: "#^Else branch is unreachable because previous condition is always true\\.$#" |
| 35 | + count: 1 |
| 36 | + path: PHP-Parser/lib/PhpParser/BuilderAbstract.php |
| 37 | + |
| 38 | + - |
| 39 | + message: "#^Access to an undefined property PhpParser\\\\BuilderAbstract\\:\\:\\$flags\\.$#" |
| 40 | + count: 2 |
| 41 | + path: PHP-Parser/lib/PhpParser/BuilderAbstract.php |
| 42 | + |
| 43 | + - |
| 44 | + message: "#^PHPDoc tag @param has invalid value \\(string\\|Node\\\\Name Name to alias\\)\\: Unexpected token \"Name\", expected variable at offset 88$#" |
| 45 | + count: 1 |
| 46 | + path: PHP-Parser/lib/PhpParser/BuilderFactory.php |
| 47 | + |
| 48 | + - |
| 49 | + message: "#^Expression \"@\\$undefinedVariable\" on a separate line does not do anything\\.$#" |
| 50 | + count: 1 |
| 51 | + path: PHP-Parser/lib/PhpParser/Lexer.php |
| 52 | + |
| 53 | + - |
| 54 | + message: "#^Undefined variable\\: \\$undefinedVariable$#" |
| 55 | + count: 1 |
| 56 | + path: PHP-Parser/lib/PhpParser/Lexer.php |
| 57 | + |
| 58 | + - |
| 59 | + message: "#^Unreachable statement \\- code above always terminates\\.$#" |
| 60 | + count: 1 |
| 61 | + path: PHP-Parser/lib/PhpParser/Lexer.php |
| 62 | + |
| 63 | + - |
| 64 | + message: "#^Empty array passed to foreach\\.$#" |
| 65 | + count: 1 |
| 66 | + path: PHP-Parser/lib/PhpParser/Lexer/Emulative.php |
| 67 | + |
| 68 | + - |
| 69 | + message: "#^Method PhpParser\\\\Node\\\\Expr\\\\Closure\\:\\:getStmts\\(\\) should return array\\<PhpParser\\\\Node\\\\Stmt\\> but returns array\\<PhpParser\\\\Node\\>\\.$#" |
| 70 | + count: 1 |
| 71 | + path: PHP-Parser/lib/PhpParser/Node/Expr/Closure.php |
| 72 | + |
| 73 | + - |
| 74 | + message: "#^Unsafe usage of new static\\(\\)\\.$#" |
| 75 | + count: 4 |
| 76 | + path: PHP-Parser/lib/PhpParser/Node/Name.php |
| 77 | + |
| 78 | + - |
| 79 | + message: "#^Method PhpParser\\\\Node\\\\Stmt\\\\ClassMethod\\:\\:getStmts\\(\\) should return array\\<PhpParser\\\\Node\\\\Stmt\\> but returns array\\<PhpParser\\\\Node\\>\\|null\\.$#" |
| 80 | + count: 1 |
| 81 | + path: PHP-Parser/lib/PhpParser/Node/Stmt/ClassMethod.php |
| 82 | + |
| 83 | + - |
| 84 | + message: "#^Method PhpParser\\\\Node\\\\Stmt\\\\Function_\\:\\:getStmts\\(\\) should return array\\<PhpParser\\\\Node\\\\Stmt\\> but returns array\\<PhpParser\\\\Node\\>\\.$#" |
| 85 | + count: 1 |
| 86 | + path: PHP-Parser/lib/PhpParser/Node/Stmt/Function_.php |
| 87 | + |
| 88 | + - |
| 89 | + message: "#^PHPDoc tag @param for parameter \\$attributes with type array\\|null is not subtype of native type array\\.$#" |
| 90 | + count: 1 |
| 91 | + path: PHP-Parser/lib/PhpParser/Node/Stmt/TryCatch.php |
| 92 | + |
| 93 | + - |
| 94 | + message: "#^Method PhpParser\\\\NodeVisitor\\\\NameResolver\\:\\:beforeTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#" |
| 95 | + count: 1 |
| 96 | + path: PHP-Parser/lib/PhpParser/NodeVisitor/NameResolver.php |
| 97 | + |
| 98 | + - |
| 99 | + message: "#^Method PhpParser\\\\NodeVisitor\\\\NameResolver\\:\\:enterNode\\(\\) should return int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#" |
| 100 | + count: 1 |
| 101 | + path: PHP-Parser/lib/PhpParser/NodeVisitor/NameResolver.php |
| 102 | + |
| 103 | + - |
| 104 | + message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$name\\.$#" |
| 105 | + count: 1 |
| 106 | + path: PHP-Parser/lib/PhpParser/NodeVisitor/NameResolver.php |
| 107 | + |
| 108 | + - |
| 109 | + message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$namespacedName\\.$#" |
| 110 | + count: 1 |
| 111 | + path: PHP-Parser/lib/PhpParser/NodeVisitor/NameResolver.php |
| 112 | + |
| 113 | + - |
| 114 | + message: "#^Method PhpParser\\\\NodeVisitorAbstract\\:\\:beforeTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#" |
| 115 | + count: 1 |
| 116 | + path: PHP-Parser/lib/PhpParser/NodeVisitorAbstract.php |
| 117 | + |
| 118 | + - |
| 119 | + message: "#^Method PhpParser\\\\NodeVisitorAbstract\\:\\:enterNode\\(\\) should return int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#" |
| 120 | + count: 1 |
| 121 | + path: PHP-Parser/lib/PhpParser/NodeVisitorAbstract.php |
| 122 | + |
| 123 | + - |
| 124 | + message: "#^Method PhpParser\\\\NodeVisitorAbstract\\:\\:leaveNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|false\\|null but return statement is missing\\.$#" |
| 125 | + count: 1 |
| 126 | + path: PHP-Parser/lib/PhpParser/NodeVisitorAbstract.php |
| 127 | + |
| 128 | + - |
| 129 | + message: "#^Method PhpParser\\\\NodeVisitorAbstract\\:\\:afterTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#" |
| 130 | + count: 1 |
| 131 | + path: PHP-Parser/lib/PhpParser/NodeVisitorAbstract.php |
| 132 | + |
| 133 | + - |
| 134 | + message: "#^Access to an undefined property PhpParser\\\\Node\\\\Expr\\:\\:\\$class\\.$#" |
| 135 | + count: 1 |
| 136 | + path: PHP-Parser/lib/PhpParser/Parser/Php5.php |
| 137 | + |
| 138 | + - |
| 139 | + message: "#^Access to an undefined property PhpParser\\\\Node\\\\Expr\\:\\:\\$name\\.$#" |
| 140 | + count: 1 |
| 141 | + path: PHP-Parser/lib/PhpParser/Parser/Php5.php |
| 142 | + |
| 143 | + - |
| 144 | + message: "#^Variable \\$s might not be defined\\.$#" |
| 145 | + count: 3 |
| 146 | + path: PHP-Parser/lib/PhpParser/Parser/Php5.php |
| 147 | + |
| 148 | + - |
| 149 | + message: "#^Variable \\$s might not be defined\\.$#" |
| 150 | + count: 3 |
| 151 | + path: PHP-Parser/lib/PhpParser/Parser/Php7.php |
| 152 | + |
| 153 | + - |
| 154 | + message: "#^Property PhpParser\\\\ParserAbstract\\:\\:\\$endAttributes \\(array\\) does not accept string\\.$#" |
| 155 | + count: 1 |
| 156 | + path: PHP-Parser/lib/PhpParser/ParserAbstract.php |
| 157 | + |
| 158 | + - |
| 159 | + message: "#^Property PhpParser\\\\ParserAbstract\\:\\:\\$endAttributeStack \\(array\\<array\\>\\) does not accept array\\<int, string\\>\\.$#" |
| 160 | + count: 1 |
| 161 | + path: PHP-Parser/lib/PhpParser/ParserAbstract.php |
| 162 | + |
| 163 | + - |
| 164 | + message: "#^Comparison operation \"\\<\" between array\\|float\\|int\\<0, max\\> and int results in an error\\.$#" |
| 165 | + count: 2 |
| 166 | + path: PHP-Parser/lib/PhpParser/ParserAbstract.php |
| 167 | + |
| 168 | + - |
| 169 | + message: "#^Comparison operation \"\\>\\=\" between \\(array\\|float\\|int\\) and 0 results in an error\\.$#" |
| 170 | + count: 3 |
| 171 | + path: PHP-Parser/lib/PhpParser/ParserAbstract.php |
| 172 | + |
| 173 | + - |
| 174 | + message: "#^Comparison operation \"\\<\" between \\(array\\|float\\|int\\) and int results in an error\\.$#" |
| 175 | + count: 1 |
| 176 | + path: PHP-Parser/lib/PhpParser/ParserAbstract.php |
| 177 | + |
| 178 | + - |
| 179 | + message: "#^Variable \\$tokenValue might not be defined\\.$#" |
| 180 | + count: 1 |
| 181 | + path: PHP-Parser/lib/PhpParser/ParserAbstract.php |
| 182 | + |
| 183 | + - |
| 184 | + message: "#^Variable \\$action might not be defined\\.$#" |
| 185 | + count: 1 |
| 186 | + path: PHP-Parser/lib/PhpParser/ParserAbstract.php |
| 187 | + |
| 188 | + - |
| 189 | + message: "#^Negated boolean expression is always true\\.$#" |
| 190 | + count: 1 |
| 191 | + path: PHP-Parser/lib/PhpParser/ParserAbstract.php |
| 192 | + |
| 193 | + - |
| 194 | + message: "#^Strict comparison using \\=\\=\\= between null and PhpParser\\\\Node will always evaluate to false\\.$#" |
| 195 | + count: 1 |
| 196 | + path: PHP-Parser/lib/PhpParser/PrettyPrinterAbstract.php |
| 197 | + |
| 198 | + - |
| 199 | + message: "#^Else branch is unreachable because previous condition is always true\\.$#" |
| 200 | + count: 1 |
| 201 | + path: PHP-Parser/lib/PhpParser/PrettyPrinterAbstract.php |
| 202 | + |
| 203 | + - |
| 204 | + message: "#^Argument of an invalid type PhpParser\\\\Node supplied for foreach, only iterables are supported\\.$#" |
| 205 | + count: 1 |
| 206 | + path: PHP-Parser/lib/PhpParser/Serializer/XML.php |
| 207 | + |
0 commit comments