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

The configuration key "scope" is unsupported for service definition "apoutchika_media.listener.media_content" in "services.yml" #5

Open
airv-b opened this issue Nov 25, 2016 · 2 comments

Comments

@airv-b
Copy link

airv-b commented Nov 25, 2016

In the symfony profiler, we can see this depreciation:

The configuration key "scope" is unsupported for service definition "apoutchika_media.listener.media_content" in "services.yml". Allowed configuration keys are "alias", "parent", "class", "shared", "synthetic", "lazy", "public", "abstract", "deprecated", "factory", "file", "arguments", "properties", "configurator", "calls", "tags", "decorates", "decoration_inner_name", "decoration_priority", "autowire", "autowiring_types". The YamlFileLoader object will raise an exception instead in Symfony 4.0 when detecting an unsupported service configuration key. Hide stack trace YamlFileLoader::checkDefinition() (called from YamlFileLoader.php at line 175) YamlFileLoader::parseDefinition() (called from YamlFileLoader.php at line 150) YamlFileLoader::parseDefinitions() (called from YamlFileLoader.php at line 95) YamlFileLoader::load() (called from ApoutchikaMediaExtension.php at line 65) ApoutchikaMediaExtension::load() (called from MergeExtensionConfigurationPass.php at line 55) MergeExtensionConfigurationPass::process() (called from MergeExtensionConfigurationPass.php at line 39) MergeExtensionConfigurationPass::process() (called from Compiler.php at line 104) Compiler::compile() (called from ContainerBuilder.php at line 528) ContainerBuilder::compile() (called from Kernel.php at line 477) Kernel::initializeContainer() (called from Kernel.php at line 117) Kernel::boot() (called from Kernel.php at line 166) Kernel::handle() (called from app_dev.php at line 30)

@apoutchika
Copy link
Owner

Sorry, 2 months...

Has you find answer ?

@Sydney-o9
Copy link

SF 2.8 Deprecated Scopes and Introduced Shared Services

http://symfony.com/blog/new-in-symfony-2-8-deprecating-scopes-and-introducing-shared-services

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

No branches or pull requests

3 participants