Skip to content

Difference between Instance and Static properties #20979

Difference between Instance and Static properties

Difference between Instance and Static properties #20979

Triggered via pull request May 13, 2025 20:22
Status Failure
Total duration 1m 44s
Artifacts

static-analysis.yml

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

Annotations

59 errors
Generate baseline
Process completed with exit code 2.
Generate PHP baseline
Process completed with exit code 2.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.4)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Rules/Classes/NonClassAttributeClassRule.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.3, ubuntu-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Rules/Classes/NonClassAttributeClassRule.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, ubuntu-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Rules/Classes/NonClassAttributeClassRule.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, ubuntu-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Rules/Classes/NonClassAttributeClassRule.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.4, ubuntu-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Rules/Classes/ReadOnlyClassRule.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan with result cache (8.1)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.1)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Rules/Classes/NonClassAttributeClassRule.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.2)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 826 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Generic/TemplateTypeVarianceMap.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.2)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Generic/TemplateObjectType.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.3)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 826 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Regex/RegexGroupParser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.3)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/IntersectionType.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, ubuntu-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 796 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Rules/Classes/NonClassAttributeClassRule.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest)
Internal error: Internal error: Argument 1 passed to PHPStan\Reflection\ClassReflection::wrapExtendedProperty() must be of the type string, object given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 853 while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, ubuntu-latest)
Internal error: Argument 1 passed to PHPStan\Reflection\ClassReflection::wrapExtendedProperty() must be of the type string, object given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 883 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Generic/TemplateTypeVarianceMap.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, ubuntu-latest)
Internal error: Argument 1 passed to PHPStan\Reflection\ClassReflection::wrapExtendedProperty() must be of the type string, object given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ClassReflection.php on line 853 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Generic/TemplateObjectType.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 796 while analysing file D:\a\phpstan-src\phpstan-src\stubs\dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, windows-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 796 while analysing file D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, windows-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 826 while analysing file D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 796 while analysing file D:\a\phpstan-src\phpstan-src\stubs\dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, windows-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 796 while analysing file D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, windows-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 826 while analysing file D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 796 while analysing file D:\a\phpstan-src\phpstan-src\stubs\dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.3, windows-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 796 while analysing file D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.3, windows-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 826 while analysing file D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 796 while analysing file D:\a\phpstan-src\phpstan-src\stubs\dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.4, windows-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 796 while analysing file D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.4, windows-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 826 while analysing file D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest)
Internal error: Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 796 while analysing file D:\a\phpstan-src\phpstan-src\stubs\dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, windows-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 796 while analysing file D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, windows-latest)
Internal error: PHPStan\Reflection\ClassReflection::wrapExtendedProperty(): Argument #1 ($propertyName) must be of type string, PHPStan\Reflection\Php\PhpPropertyReflection given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 826 while analysing file D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest)
Internal error: Internal error: Argument 1 passed to PHPStan\Reflection\ClassReflection::wrapExtendedProperty() must be of the type string, object given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 853 while analysing file D:\a\phpstan-src\phpstan-src\stubs\dom.stub Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, windows-latest)
Internal error: Argument 1 passed to PHPStan\Reflection\ClassReflection::wrapExtendedProperty() must be of the type string, object given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 853 while analysing file D:\a\phpstan-src\phpstan-src\src\Analyser\FileAnalyser.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, windows-latest)
Internal error: Argument 1 passed to PHPStan\Reflection\ClassReflection::wrapExtendedProperty() must be of the type string, object given, called in D:\a\phpstan-src\phpstan-src\src\Reflection\ClassReflection.php on line 883 while analysing file D:\a\phpstan-src\phpstan-src\src\Command\CommandHelper.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml