Skip to content

Prevent reporting property.inInterface error when PHP version is 8.4 or later #18926

Prevent reporting property.inInterface error when PHP version is 8.4 or later

Prevent reporting property.inInterface error when PHP version is 8.4 or later #18926

Triggered via pull request November 23, 2024 15:41
Status Cancelled
Total duration 3m 29s
Artifacts 1

static-analysis.yml

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

Annotations

101 errors and 1 warning
PHPStan with result cache (8.2): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.2): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.2): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.2): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan with result cache (8.2): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan with result cache (8.2): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan with result cache (8.2)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan (8.1, ubuntu-latest): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.3): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.3): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.3): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan with result cache (8.3): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan with result cache (8.3): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.1): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.1): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.1): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan with result cache (8.1): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan with result cache (8.1): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.4): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.4): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan with result cache (8.4): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan with result cache (8.4): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan with result cache (8.4): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan (8.1, windows-latest): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.1, windows-latest): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.1, windows-latest): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest)
Canceling since a higher priority waiting request for 'sa-allow-properties-in-interface-on-php-84' exists
PHPStan (8.2, windows-latest): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.2, windows-latest): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.2, windows-latest): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.2, windows-latest): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan (8.2, windows-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan (8.2, windows-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest)
Canceling since a higher priority waiting request for 'sa-allow-properties-in-interface-on-php-84' exists
PHPStan (8.3, windows-latest): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.3, windows-latest): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.3, windows-latest): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.3, windows-latest): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan (8.3, windows-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan (8.3, windows-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan (8.3, windows-latest)
The operation was canceled.
PHPStan (8.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-allow-properties-in-interface-on-php-84' exists
PHPStan (8.4, windows-latest): src/Rules/Properties/PropertiesInInterfaceRule.php#L28
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.4, windows-latest): src/Rules/PropertyHooks/NonEmptyPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.4, windows-latest): src/Rules/PropertyHooks/NonPublicPropertyHookRule.php#L33
Instanceof between PHPStan\Node\ClassPropertyNode and PHPStan\Node\ClassPropertyNode will always evaluate to true.
PHPStan (8.4, windows-latest): tests/PHPStan/Rules/Properties/NonPublicPropertyHookRuleTest.php#L20
Method PHPStan\Rules\Properties\NonPublicPropertyHookRuleTest::getRule() should return PHPStan\Rules\PropertyHooks\NonEmptyPropertyHookRule but returns PHPStan\Rules\PropertyHooks\NonPublicPropertyHookRule.
PHPStan (8.4, windows-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L16
Property PHPStan\Rules\Properties\PropertiesInInterfaceRuleTest::$phpVersion is never read, only written.
PHPStan (8.4, windows-latest): tests/PHPStan/Rules/Properties/PropertiesInInterfaceRuleTest.php#L25
Class PHPStan\Rules\Properties\PropertiesInInterfaceRule does not have a constructor and must be instantiated without any parameters.
PHPStan (8.4, windows-latest)
The operation was canceled.
PHPStan (7.4, ubuntu-latest)
Canceling since a higher priority waiting request for 'sa-allow-properties-in-interface-on-php-84' exists
PHPStan (7.4, ubuntu-latest)
The operation was canceled.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-allow-properties-in-interface-on-php-84' exists
PHPStan (7.4, windows-latest)
The operation was canceled.
PHPStan (8.0, windows-latest)
Canceling since a higher priority waiting request for 'sa-allow-properties-in-interface-on-php-84' exists
PHPStan (8.0, windows-latest)
The operation was canceled.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "transformed-src". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size Digest
transformed-src Expired
4.19 MB