Skip to content

Scope->rememberConstructorScope should not remember the function scope #20632

Scope->rememberConstructorScope should not remember the function scope

Scope->rememberConstructorScope should not remember the function scope #20632

Triggered via pull request April 18, 2025 07:09
Status Failure
Total duration 3m 19s
Artifacts

static-analysis.yml

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

Annotations

65 errors
PHPStan with result cache (8.2): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan with result cache (8.2): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan with result cache (8.2): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.1): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan with result cache (8.1): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan with result cache (8.1): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan with result cache (8.1)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.4): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan with result cache (8.4): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan with result cache (8.4): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.3): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan with result cache (8.3): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan with result cache (8.3): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L33
Syntax error, unexpected ')', expecting ']' on line 33
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L33
Syntax error, unexpected T_OBJECT_OPERATOR on line 33
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L13
Class PHPStan\Analyser\InstanceMethodsParameterScopeTest extends generic class PHPStan\Testing\RuleTestCase but does not specify its types: TRule
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L16
Method PHPStan\Analyser\InstanceMethodsParameterScopeTest::getRule() return type with generic interface PHPStan\Rules\Rule does not specify its types: TNodeType
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L30
Return type (list<PHPStan\Rules\RuleError>) of method PHPStan\Rules\Rule@anonymous/tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php:18::processNode() should be covariant with return type (list<PHPStan\Rules\IdentifierRuleError>) of method PHPStan\Rules\Rule<PhpParser\Node>::processNode()
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L33
Syntax error, unexpected ')', expecting ']' on line 33
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php#L33
Syntax error, unexpected T_OBJECT_OPERATOR on line 33
PHPStan (7.4, windows-latest)
Process completed with exit code 1.