Skip to content

Add numeric check on unary plus and unary minus #319

Add numeric check on unary plus and unary minus

Add numeric check on unary plus and unary minus #319

Triggered via pull request May 25, 2025 21:28
Status Failure
Total duration 1m 28s
Artifacts

build.yml

on: pull_request
Coding Standard
17s
Coding Standard
Matrix: Lint
Matrix: PHPStan
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

121 errors
PHPStan (8.3, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.3, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.3, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.3, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (8.3, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.3, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.3, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.3, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
PHPStan (8.4, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.4, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.4, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.4, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (8.4, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.4, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.4, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.4, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
PHPStan (8.4, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (8.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
PHPStan (8.2, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.2, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.2, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.2, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (8.2, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.2, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.2, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.2, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
PHPStan (7.4, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (7.4, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (7.4, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (7.4, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (7.4, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (7.4, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (7.4, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (7.4, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
PHPStan (8.2, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.2, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.2, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.2, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (8.2, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.2, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.2, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.2, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
PHPStan (8.0, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.0, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.0, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.0, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (8.0, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.0, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.0, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.0, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
PHPStan (8.3, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.3, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.3, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.3, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (8.3, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.3, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.3, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.3, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
Coding Standard
Process completed with exit code 2.
PHPStan (7.4, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (7.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (7.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (7.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (7.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (7.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (7.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (7.4, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
PHPStan (8.0, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.0, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.0, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.0, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (8.0, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.0, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.0, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.0, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
PHPStan (8.1, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, highest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.1, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.1, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.1, highest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (8.1, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.1, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.1, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.1, highest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.
PHPStan (8.1, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L21
Creating new PHPStan\Rules\Operators\OperatorRuleHelper is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, lowest): tests/Rules/Operators/OperandInArithmeticUnaryMinusRuleTest.php#L20
Creating new PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.1, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.1, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.1, lowest): src/Rules/Operators/OperandInArithmeticUnaryPlusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryPlusRule has @extends tag, but does not extend any class.
PHPStan (8.1, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L35
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.1, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L34
Access to an undefined property PhpParser\Node::$expr.
PHPStan (8.1, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule implements generic interface PHPStan\Rules\Rule but does not specify its types: TNodeType
PHPStan (8.1, lowest): src/Rules/Operators/OperandInArithmeticUnaryMinusRule.php#L15
Class PHPStan\Rules\Operators\OperandInArithmeticUnaryMinusRule has @extends tag, but does not extend any class.