Closed deguif closed 7 years ago
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 32 bytes) in phar:///usr/bin/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
Apparently there're some errors with Scrutinizer
Is there anyway to provide tests for this change?
I didn't see any test on the configuration. But maybe I'm wrong ?
yeah I don't know if anything is there - however it would be nice for us to at least know how to reproduce the error and how this fixes it. Could you provide an example that triggers this bug?
Here a very simple command line that will reproduce the problem: In config.yml
jms_translation:
configs:
XXXBUNDLE_CONTROLLER:
#Replace XXX by a valid bundle name
dirs: ["@XXXBundle/Controller"]
output_dir: "%kernel.root_dir%/../src/XXXBundle/Resources/translations"
keep: true
Then launch this command:
php bin/console trans:extract en --config=XXXBUNDLE_CONTROLLER
I just updated the steps to reproduce, as before the example was wrong.
I can confirm that this is a bug - I couldn't figure out a way to fix it so I'm just merging.
Description
Fixed wrong offset when computing a
@bundle/folder
notation. Currently the bundle name isbundl
instead ofbundle
, which generates error when using the console.