Skip to content

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

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

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

Triggered via pull request July 19, 2025 01:55
Status Cancelled
Total duration 6m 33s
Artifacts

static-analysis.yml

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

Annotations

103 errors
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#L70
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#L70
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#L70
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
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#L70
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#L70
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#L70
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#L70
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#L70
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#L70
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#L70
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#L70
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#L70
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#L70
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (7.4, ubuntu-latest)
The operation was canceled.
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#L71
Argument of an invalid type array<PhpParser\Node\Stmt>|null supplied for foreach, only iterables are supported.
PHPStan (7.4, ubuntu-latest)
Canceling since a higher priority waiting request for sa-calebdw/push-zypoqzwrlsns exists
Static Analysis
Canceling since a higher priority waiting request for sa-calebdw/push-zypoqzwrlsns exists
PHPStan (7.4, windows-latest)
The operation was canceled.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-calebdw/push-zypoqzwrlsns exists