Add PhpVersion param on isSmallerThanOrEqual and isGreaterThanOrEqual #16528
Annotations
10 errors
Extension build:
src/Ast/NodeVisitor/CloningVisitor.php#L12
Method PHPStan\PhpDocParser\Ast\NodeVisitor\CloningVisitor::enterNode() never returns 1 so it can be removed from the return type.
|
Extension build:
src/Ast/NodeVisitor/CloningVisitor.php#L12
Method PHPStan\PhpDocParser\Ast\NodeVisitor\CloningVisitor::enterNode() never returns 2 so it can be removed from the return type.
|
Extension build:
src/Ast/NodeVisitor/CloningVisitor.php#L12
Method PHPStan\PhpDocParser\Ast\NodeVisitor\CloningVisitor::enterNode() never returns 3 so it can be removed from the return type.
|
Extension build:
src/Ast/NodeVisitor/CloningVisitor.php#L12
Method PHPStan\PhpDocParser\Ast\NodeVisitor\CloningVisitor::enterNode() never returns 4 so it can be removed from the return type.
|
Extension build:
src/Ast/NodeVisitor/CloningVisitor.php#L12
Method PHPStan\PhpDocParser\Ast\NodeVisitor\CloningVisitor::enterNode() never returns array<PHPStan\PhpDocParser\Ast\Node> so it can be removed from the return type.
|
Extension build:
src/Ast/NodeVisitor/CloningVisitor.php#L12
Method PHPStan\PhpDocParser\Ast\NodeVisitor\CloningVisitor::enterNode() never returns null so it can be removed from the return type.
|
Extension build:
src/Parser/PhpDocParser.php#L123
Parameter #1 $array (list<PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocChildNode>) of array_values is already a list, call has no effect.
|
Extension build:
src/Printer/Printer.php#L595
Parameter &$tokenIndex by-ref type of method PHPStan\PhpDocParser\Printer\Printer::printArrayFormatPreserving() expects int, (float|int) given.
|
Extension build:
src/Printer/Printer.php#L634
Parameter &$tokenIndex by-ref type of method PHPStan\PhpDocParser\Printer\Printer::printArrayFormatPreserving() expects int, (float|int) given.
|
Extension build:
src/Printer/Printer.php#L659
Parameter &$tokenIndex by-ref type of method PHPStan\PhpDocParser\Printer\Printer::printArrayFormatPreserving() expects int, (float|int) given.
|
Loading