Travis CI error: "parameters" should be defined via the "container" configurator instead
vatri opened this issue · 4 comments
Why I am getting this error?
If I replace parameters
with container
, then my bundle stop working.
In vatri/google-drive-bundle/0.2/config/packages/vatri_google_drive.yaml:
> @@ -0,0 +1,28 @@
+parameters:
"parameters" should be defined via the "container" configurator instead
The parameter section refers only to the root folder of the configuration and not for any bundle.
Flex can add any parameters with the container configurator like this :
Otherwise, you can set you parameters on your packages file like this :
And use the DependencyInjection to automatically configure your project
Thank you @maxhelias .
I will try with second solution later. ( I don't understand first one.)
For now I am trying to go without this config file.
Thank you @maxhelias. Im going to close this issue.
@vatri: I hope Maxime's answer solved it for you
I don't have time to check yet but I think it will work. Will reopen if needed.
Thanks again.