Skip to content

feat: add optional rule to report properties that should be promoted #21813

feat: add optional rule to report properties that should be promoted

feat: add optional rule to report properties that should be promoted #21813

Triggered via pull request July 19, 2025 02:04
Status Failure
Total duration 12m 54s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 42s
Generate baseline
Generate PHP baseline
1m 50s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

106 errors
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan with result cache (8.3): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan with result cache (8.3): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan with result cache (8.3): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan with result cache (8.3): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan with result cache (8.3): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.4, ubuntu-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.2, ubuntu-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan with result cache (8.2): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan with result cache (8.2): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan with result cache (8.2): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan with result cache (8.2): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan with result cache (8.2): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan with result cache (8.4): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan with result cache (8.4): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan with result cache (8.4): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan with result cache (8.4): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan with result cache (8.4): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.3, ubuntu-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.1, ubuntu-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.0, ubuntu-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.3, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (8.3, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.3, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (8.3, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.3, windows-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.4, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (8.4, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.4, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (8.4, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.4, windows-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.2, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (8.2, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.2, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (8.2, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.2, windows-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.1, windows-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.0, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (8.0, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.0, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (8.0, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (8.0, windows-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (7.4, ubuntu-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L72
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() should return PHPStan\Rules\Rule but returns PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (7.4, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L17
Instantiated class PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted not found.
PHPStan (7.4, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L15
Method PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromotedRuleTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (7.4, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
Type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted in generic type PHPStan\Testing\RuleTestCase<PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted> in PHPDoc tag @extends is not subtype of template type TRule of PHPStan\Rules\Rule of class PHPStan\Testing\RuleTestCase.
PHPStan (7.4, windows-latest): tests/PHPStan/Rules/Properties/ReportPropertiesThatShouldBePromotedRuleTest.php#L12
PHPDoc tag @extends has invalid type PHPStan\Rules\Properties\ReportPropertiesThatShouldBePromoted.
PHPStan (7.4, windows-latest): src/Rules/Properties/ReportPropertiesThatShouldBePromotedRule.php#L72
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.