Skip to content

Difference between Instance and Static properties #20444

Difference between Instance and Static properties

Difference between Instance and Static properties #20444

Triggered via pull request March 29, 2025 12:14
Status Cancelled
Total duration 3m 20s
Artifacts

static-analysis.yml

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

Annotations

112 errors
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.1): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.1): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.1)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
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.2, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.2, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
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 with result cache (8.4): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.4): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.4)
Process completed with exit code 2.
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 (8.4, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.4, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
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.3): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.3): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.3)
Process completed with exit code 2.
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.3, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.3, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
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.1, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.1, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
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 with result cache (8.2): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.2): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan with result cache (8.2)
Process completed with exit code 2.
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 (8.0, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.0, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Dependency/DependencyResolver.php#L258
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (7.4, ubuntu-latest): src/Dependency/DependencyResolver.php#L374
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (7.4, ubuntu-latest): src/Dependency/DependencyResolver.php#L375
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (7.4, ubuntu-latest): src/Dependency/DependencyResolver.php#L380
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (7.4, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L78
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (7.4, ubuntu-latest): src/Type/Accessory/HasPropertyType.php#L94
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, windows-latest): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.2, windows-latest): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.2, windows-latest): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (8.2, windows-latest): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.2, windows-latest): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.2, windows-latest): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (8.0, windows-latest): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.0, windows-latest): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.0, windows-latest): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (8.0, windows-latest): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.0, windows-latest): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.0, windows-latest): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.0, 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): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.3, windows-latest): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.3, windows-latest): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (8.3, windows-latest): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.3, windows-latest): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.3, windows-latest): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.3, 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): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.1, windows-latest): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.1, windows-latest): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (8.1, windows-latest): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.1, windows-latest): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.1, windows-latest): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.1, windows-latest)
The operation was canceled.
PHPStan (8.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (8.4, windows-latest): src/Dependency/DependencyResolver.php#L256
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.4, windows-latest): src/Dependency/DependencyResolver.php#L372
Call to deprecated method hasProperty() of class PHPStan\Reflection\ClassReflection: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.4, windows-latest): src/Dependency/DependencyResolver.php#L373
Call to deprecated method getProperty() of class PHPStan\Reflection\ClassReflection: Use getInstanceProperty or getStaticProperty
PHPStan (8.4, windows-latest): src/Dependency/DependencyResolver.php#L378
Call to deprecated method getPropertyReflection() of interface PHPStan\Analyser\Scope: Use getInstancePropertyReflection or getStaticPropertyReflection instead
PHPStan (8.4, windows-latest): src/Type/Accessory/HasPropertyType.php#L76
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.4, windows-latest): src/Type/Accessory/HasPropertyType.php#L92
Call to deprecated method hasProperty() of interface PHPStan\Type\Type: Use hasInstanceProperty or hasStaticProperty instead
PHPStan (8.4, windows-latest)
The operation was canceled.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-instanceVsStatic' exists
PHPStan (7.4, windows-latest)
The operation was canceled.