-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Description
I am running into a fatal error with the latest 0.12.21 phpstan release
Bug report
> phpstan analyse -c phpstan.neon.dist --no-progress --error-format=checkstyle --debug
PHP Warning: Use of undefined constant ENCODING_CHARSET - assumed 'ENCODING_CHARSET' (this will throw an Error in a future version of PHP) in C:\Users\mstaab\Documents\GitHub\php-rocket\lib\RegexFormats.php on line 7
Warning: Use of undefined constant ENCODING_CHARSET - assumed 'ENCODING_CHARSET' (this will throw an Error in a future version of PHP) in C:\Users\mstaab\Documents\GitHub\php-rocket\lib\RegexFormats.php on line 7
C:\Users\mstaab\Documents\GitHub\php-rocket\builtin\Adm.php
C:\Users\mstaab\Documents\GitHub\php-rocket\builtin\Cms.php
C:\Users\mstaab\Documents\GitHub\php-rocket\builtin\CmsFrontend.php
C:\Users\mstaab\Documents\GitHub\php-rocket\builtin\controllers\AdmgrpController.php
PHP Fatal error: Uncaught Error: Call to a member function resolveMixinTags() on null in phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/PhpDoc/ResolvedPhpDocBlock.php:248
Stack trace:
#0 phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassReflection.php(735): PHPStan\PhpDoc\ResolvedPhpDocBlock->getMixinTags()
#1 phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassReflection.php(743): PHPStan\Reflection\ClassReflection->getMixinTags()
#2 phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/Reflection/Mixin/MixinPropertiesClassReflectionExtension.php(26): PHPStan\Reflection\ClassReflection->getResolvedMixinTypes()
#3 phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/Reflection/Mixin/MixinPropertiesClassReflectionExtension.php(34): in phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/PhpDoc/ResolvedPhpDocBlock.php on line 248
Fatal error: Uncaught Error: Call to a member function resolveMixinTags() on null in phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/PhpDoc/ResolvedPhpDocBlock.php:248
Stack trace:
#0 phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassReflection.php(735): PHPStan\PhpDoc\ResolvedPhpDocBlock->getMixinTags()
#1 phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassReflection.php(743): PHPStan\Reflection\ClassReflection->getMixinTags()
#2 phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/Reflection/Mixin/MixinPropertiesClassReflectionExtension.php(26): PHPStan\Reflection\ClassReflection->getResolvedMixinTypes()
#3 phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/Reflection/Mixin/MixinPropertiesClassReflectionExtension.php(34): in phar://C:/Users/mstaab/Documents/GitHub/php-rocket/vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan/src/PhpDoc/ResolvedPhpDocBlock.php on line 248
we don't use the newly introduced @mixin feature though
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels