Skip to content

Cannot use deprecated DefinitionDecorator with composer autoload optimized #25172

Closed
@tyx

Description

@tyx
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.4.0-RC2 but I guess it is the same in 3.3.x

Hello,

We have an issue while we cannot use old DefinitionDecorator class:

Fatal error: Uncaught Error: Class 'Symfony\Component\DependencyInjection\DefinitionDecorator' not found

with the optimize option of composer:
composer dump-autoload --optimize

I have no idea how to fix it but I'm available to make a PR if anyone else have an idea !

Related PR:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions