adjusted exception message #299
Annotations
10 errors
|
PHPStan
Process completed with exit code 1.
|
|
PHPStan:
src/Neon/Parser.php#L225
Method Nette\Neon\Parser::parseBraces() should return Nette\Neon\Node\InlineArrayNode but return statement is missing.
|
|
PHPStan:
src/Neon/Parser.php#L181
Parameter #1 $chain of class Nette\Neon\Node\EntityChainNode constructor expects array<Nette\Neon\Node\EntityNode>, list<Nette\Neon\Node> given.
|
|
PHPStan:
src/Neon/Parser.php#L129
Method Nette\Neon\Parser::parseBlock() should return Nette\Neon\Node but return statement is missing.
|
|
PHPStan:
src/Neon/Parser.php#L32
Ignored error pattern #^While loop condition is always false\.$# in path /home/runner/work/neon/neon/src/Neon/Parser.php is expected to occur 2 times, but occurred only 1 time.
|
|
PHPStan:
src/Neon/Parser.php#L0
Ignored error pattern #^Parameter \#1 \$chain of class Nette\\Neon\\Node\\EntityChainNode constructor expects array\<Nette\\Neon\\Node\\EntityNode\>, array\<int, Nette\\Neon\\Node\> given\.$# in path /home/runner/work/neon/neon/src/Neon/Parser.php was not matched in reported errors.
|
|
PHPStan:
src/Neon/Node/LiteralNode.php#L90
Binary operation "*" between string and 1 results in an error.
|
|
PHPStan:
src/Neon/Node/EntityNode.php#L52
Parameter #1 $array (array<Nette\Neon\Node\ArrayItemNode>) to function array_filter does not contain falsy values, the array will always stay the same.
|
|
PHPStan:
src/Neon/Node/EntityChainNode.php#L49
Parameter #1 $array (array<Nette\Neon\Node\EntityNode>) to function array_filter does not contain falsy values, the array will always stay the same.
|
|
PHPStan:
src/Neon/Node/ArrayNode.php#L34
Parameter #1 $array (array<Nette\Neon\Node\ArrayItemNode>) to function array_filter does not contain falsy values, the array will always stay the same.
|