Closed
Description
Describe the bug (*)
Adding a ExpressionConverter
translation to registration.php
causes the invalid module name inspection to fire. When using long table names, you can add a translation to the registration.php
file in order to have foreign key names that are more descriptive, instead of the ones that it generates like FK_1398WO8U4OR8UEO48ROE4OTJO3
. This translation gets flagged as an error.
To Reproduce (*)
Steps to reproduce the behavior:
- Open up any registration.php file
- Add the following line:
\Magento\Framework\DB\ExpressionConverter::addTranslate('subscriber_queue', 'subqueue');
- See error "Provided module name does not match expected"
Please complete the following information: (*)
- OS: MacOS
- PhpStorm/Intellij version: 2021.1.4
- Plugin Version: 4.0.0