#90743ResourceCompressor - @charset comment is seen as annotation (Semantical Error occurs)
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.