JMSTranslationBundle
JMSTranslationBundle copied to clipboard
Doctrine/Annotations as required dependency
Q | A |
---|---|
Bundle version | 2.0.0 |
Symfony version | 6.3 |
PHP version | 8.2 |
When this bundle is installed, but not explicitely requires Doctrine/Annotations in the base composer.json, I get errors that the DocParser cannot be found
It seems required by https://github.com/schmittjoh/JMSTranslationBundle/blob/master/Translation/Extractor/File/DefaultPhpFileExtractor.php
doctrine/annotations
currently is a dev requirement. Maybe this should be a non-dev requirement?
> bin/console
Symfony 6.4.1 (env: dev, debug: true) #StandWithUkraine https://sf.to/ukraine
Usage:
command [options] [arguments]
Options:
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-e, --env=ENV The Environment name. [default: "dev"]
--no-debug Switch off debug mode.
--profile Enables profiling (requires debug).
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
In getJmsTranslation_UpdaterService.php line 57:
Attempted to load class "DocParser" from namespace "Doctrine\Common\Annotations".
Did you forget a "use" statement for another namespace?
list [--raw] [--format FORMAT] [--short] [--] [<namespace>]