Closed mikkmiggur closed 2 years ago
The config file is a symfony container config file. This means that you can use the parameters section for this and use these parameters just like you would in symfonys container.
https://symfony.com/doc/current/configuration.html#configuration-parameters
GrumPHP 1.5.0
My configuration
I was looking away to get run_on as a variable in the tasks. It's easier to maintain and use if this value is defined only once. But the list of variables that can be used under the grumphp is quite limited.
PHP Fatal error: Uncaught Symfony\Component\Config\Definition\Exception\InvalidConfigurationException: Unrecognized option "run_on" under "grumphp". Available options are "additional_info", "ascii", "environment", "extensions", "fixer", "git_hook_variables", "hide_circumvention_tip", "hooks_dir", "hooks_preset", "ignore_unstaged_changes", "parallel", "process_timeout", "stop_on_failure", "tasks", "testsuites". in /app/vendor/symfony/config/Definition/ArrayNode.php:315
My question here is, is it fine to use
additional_info
for that?