Skip to content

Difference between Instance and Static properties #20435

Difference between Instance and Static properties

Difference between Instance and Static properties #20435

Triggered via pull request March 29, 2025 10:09
Status Cancelled
Total duration 7m 2s
Artifacts

static-analysis.yml

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

Annotations

104 errors and 2 warnings
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.1): src/Analyser/MutatingScope.php#L4240
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.1): src/Analyser/MutatingScope.php#L6112
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L3024
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L5566
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L5567
Call to deprecated method getProperty() of interface PHPStan\Type\Type: Use getInstanceProperty or getStaticProperty instead
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L5638
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.1): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.1): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.1): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan with result cache (8.1): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.3): src/Analyser/MutatingScope.php#L4240
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.3): src/Analyser/MutatingScope.php#L6112
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L3024
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L5566
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L5567
Call to deprecated method getProperty() of interface PHPStan\Type\Type: Use getInstanceProperty or getStaticProperty instead
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L5638
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.3): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.3): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.3): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan with result cache (8.3): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.4): src/Analyser/MutatingScope.php#L4240
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.4): src/Analyser/MutatingScope.php#L6112
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L3024
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L5566
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L5567
Call to deprecated method getProperty() of interface PHPStan\Type\Type: Use getInstanceProperty or getStaticProperty instead
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L5638
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.4): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.4): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.4): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan with result cache (8.4): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.2, ubuntu-latest): src/Analyser/MutatingScope.php#L4240
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.2, ubuntu-latest): src/Analyser/MutatingScope.php#L6112
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L3024
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5566
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5567
Call to deprecated method getProperty() of interface PHPStan\Type\Type: Use getInstanceProperty or getStaticProperty instead
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5638
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.2, ubuntu-latest): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.2, ubuntu-latest): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.2, ubuntu-latest): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (8.2, ubuntu-latest): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.1, ubuntu-latest): src/Analyser/MutatingScope.php#L4240
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.1, ubuntu-latest): src/Analyser/MutatingScope.php#L6112
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L3024
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5566
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5567
Call to deprecated method getProperty() of interface PHPStan\Type\Type: Use getInstanceProperty or getStaticProperty instead
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5638
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.1, ubuntu-latest): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.1, ubuntu-latest): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.1, ubuntu-latest): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (8.1, ubuntu-latest): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.3, ubuntu-latest): src/Analyser/MutatingScope.php#L4240
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.3, ubuntu-latest): src/Analyser/MutatingScope.php#L6112
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L3024
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5566
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5567
Call to deprecated method getProperty() of interface PHPStan\Type\Type: Use getInstanceProperty or getStaticProperty instead
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5638
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.3, ubuntu-latest): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.3, ubuntu-latest): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.3, ubuntu-latest): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (8.3, ubuntu-latest): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.4, ubuntu-latest): src/Analyser/MutatingScope.php#L4240
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.4, ubuntu-latest): src/Analyser/MutatingScope.php#L6112
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L3024
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5566
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5567
Call to deprecated method getProperty() of interface PHPStan\Type\Type: Use getInstanceProperty or getStaticProperty instead
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5638
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.4, ubuntu-latest): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.4, ubuntu-latest): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.4, ubuntu-latest): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (8.4, ubuntu-latest): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.2): src/Analyser/MutatingScope.php#L4240
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.2): src/Analyser/MutatingScope.php#L6112
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L3024
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L5566
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L5567
Call to deprecated method getProperty() of interface PHPStan\Type\Type: Use getInstanceProperty or getStaticProperty instead
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L5638
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.2): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan with result cache (8.2): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.2): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan with result cache (8.2): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.0, ubuntu-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (8.0, ubuntu-latest): src/Analyser/MutatingScope.php#L4240
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.0, ubuntu-latest): src/Analyser/MutatingScope.php#L6112
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L3102
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5644
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5645
Call to deprecated method getProperty() of interface PHPStan\Type\Type: Use getInstanceProperty or getStaticProperty instead
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L5716
Call to deprecated method getPropertyReflection() of class PHPStan\Analyser\MutatingScope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.0, ubuntu-latest): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.0, ubuntu-latest): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.0, ubuntu-latest): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (8.0, ubuntu-latest): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (7.4, ubuntu-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (7.4, ubuntu-latest)
The operation was canceled.
PHPStan (8.2, windows-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (8.2, windows-latest)
The operation was canceled.
PHPStan (8.3, windows-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (8.3, windows-latest)
The operation was canceled.
PHPStan (8.0, windows-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (8.0, windows-latest)
The operation was canceled.
PHPStan (8.1, windows-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (8.1, windows-latest)
The operation was canceled.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (8.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (7.4, windows-latest)
Runner GitHub Actions 10 did not respond to a cancelation request with 00:05:00.
PHPStan (8.4, windows-latest)
Runner GitHub Actions 471 did not respond to a cancelation request with 00:05:00.