magento / community-features

Magento Features Development is an Initiative to Allows Community Memebers Join to Development of Magento Features
46 stars 18 forks source link

InstallSchema likes Vendor\Namespace but does not like Vendor\Name\Space #209

Open tylers-username opened 4 years ago

tylers-username commented 4 years ago

Environment

Magento 2.2

Summary (*)

First, I chose not to report this as a bug because it could just be me not following PSR-4 best practices. So, let's communicate about it first.

When Magento checks for InstallSchema it does not honor the composer-configured PSR-4 root.

Examples (*)

m2-assistant[bot] commented 4 years ago

Hi @tylerssn. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.3-develop instance - upcoming 2.3.x release

For more details, please, review the Magento Contributor Assistant documentation.

@tylerssn do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?


tylers-username commented 4 years ago

I understand my want for assigning a root namespace for my package such as Vendor\Name\Space is rare and, for my use-case, I only intend on having a few packages modeled this way. So, is this worth bug reporting over or is this expected behavior based on PSR-4 best practices?

m2-assistant[bot] commented 4 years ago

Hi @engcom-Charlie. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

m2-assistant[bot] commented 4 years ago

Hi @sdzhepa. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Charlie commented 4 years ago

Hello @sdzhepa This issue looks like a feature request. Please transfer this issue to community features repository.