Skip to content
This repository was archived by the owner on Mar 9, 2023. It is now read-only.
This repository was archived by the owner on Mar 9, 2023. It is now read-only.

Change inheritance classes to Object composition pattern #6

Description

@robin-homberg

Describe the bug
There are classes inside the project that are created by class inheritance. While this was an code style mostly used in Magento1, and should'nt still be used in Magento2, the class, and other classes written like this, should be changed to the Object composition pattern.
https://devdocs.magento.com/guides/v2.3/ext-best-practices/extension-coding/common-programming-bp.html#composition-over-inheritance

F.e the Flagbit\Flysystem\Block\Adminhtml\Filesystem\Content\Uploader class should be changed, regarding to this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions