apoutchika / MediaBundle

Manage your media for Symfony with ApoutchikaMediaBundle
MIT License
7 stars 3 forks source link

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

Open airv-b opened 7 years ago

airv-b commented 7 years ago

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 commented 7 years ago

Sorry, 2 months...

Has you find answer ?

Sydney-o9 commented 6 years ago

SF 2.8 Deprecated Scopes and Introduced Shared Services

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