Enhance offset access by defining various access modes, and restrict which ones are available for DOM classes #19001
Annotations
2 errors and 1 warning
Test
Child process error (exit code 255): PHP Fatal error: A class constant must not be called 'class'; it is reserved for class name fetching in /home/runner/work/phpstan-src/phpstan-src/e2e/bug-11826/src/FatalErrorWhenAutoloaded.php on line 9
Fatal error: A class constant must not be called 'class'; it is reserved for class name fetching in /home/runner/work/phpstan-src/phpstan-src/e2e/bug-11826/src/FatalErrorWhenAutoloaded.php on line 9
while running parallel worker
|
Test
Internal error: Internal error: Too few arguments to function PHPStan\Type\ObjectType::isExtraOffsetAccessibleClass(), 0 passed in /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php on line 922 and exactly 1 expected while analysing file /home/runner/work/phpstan-src/phpstan-src/stubs/iterable.stub
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading