Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symfony 3.4 support: Fix service aliases and avoid errors on config compilation #13

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

akserikawa
Copy link

When installing the bundle on a Symfony 3.4 project, the following errors arise:

  1. Errors on config compilation
    (1/1) InvalidDefinitionException->cannotBeEmpty() is not applicable to NumericNodeDefinition.

  2. Errors due to service aliases not wrapped on single quotes
    (2/2) InvalidArgumentExceptionThe file "/var/www/html/vendor/xmon/sonata-media-provider-video-bundle/Xmon/SonataMediaProviderVideoBundle/DependencyInjection/../Resources/config/providers.yml" does not contain valid YAML: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 15 (near "- @sonata.media.filesystem.local").

@xmon It would be great to add this changes and tag a new version so projects can use this package :)

@akserikawa
Copy link
Author

Oh, noticed #9 right after submitting this PR. It'd be great to integrate that one and close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant