Actions
Bug #90743
closedResourceCompressor - @charset comment is seen as annotation (Semantical Error occurs)
Start date:
2020-03-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hello,
on an old but recently upgraded installation (version 9.5.14) I kept getting the following error:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: [Semantical Error] The annotation "@charset" in method TYPO3\CMS\Core\Resource\ResourceCompressor::cssFixStatements() was never imported. Did you maybe forget to add a "use" statement for this annotation? | Doctrine\Common\Annotations\AnnotationException thrown in file /var/www/html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php in line 54.
In typo3/sysext/core/Classes/Resource/ResourceCompressor.php the @charset in the comment is probably seen as an annotation which causes this problem?!
My installation runs just fine if I remove this comment.
Just comment if you need any more information.
Actions