Skip to content

The autoload section in the Magento2 project composer.json #1673

Closed
@moleman

Description

@moleman

Hi,

Is there any special reason why the autoloading mapping of both *Magento\Framework* and *Magento\Setup* are in the Magento2 project composer.json file? Wouldn't it be better to have them in the packages where they belong, *Magento\Framework* in magento/framework and *Magento\Setup* in magento/magento2-base?

The reason why is that it would make the Magento2 project composer.json cleaner and you wouldn't have to specify it in your own project composer.json when you require the "magento/product-community-edition" package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentimprovement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions