Skip to content

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

Closed
akserikawa wants to merge 4 commits intoxmon:masterfrom
akserikawa:feature/symfony34-support
Closed

Symfony 3.4 support: Fix service aliases and avoid errors on config compilation#13
akserikawa wants to merge 4 commits intoxmon:masterfrom
akserikawa:feature/symfony34-support

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

@akserikawa akserikawa closed this May 7, 2025
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