Skip to content

Fixed bug invalid check setup_version #504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

anzin
Copy link
Contributor

@anzin anzin commented Mar 10, 2021

Description (*)
I've fixed the bug invalid check 'setup_version'.

image

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with integration/functional tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@@ -27,6 +28,8 @@

public class ModuleDeclarationInModuleXmlInspection extends XmlSuppressableInspectionTool {

private static final String MODULE_NAME = "name";
Copy link
Contributor

@VitaliyBoyko VitaliyBoyko Mar 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add this constant to com.magento.idea.magento2plugin.magento.files.ModuleXml
And write a test for mentioned in the issue case please. Thank you!

@anzin
Copy link
Contributor Author

anzin commented Mar 11, 2021

@VitaliyBoyko I've fixed code by recommendation, and added test.

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

Successfully merging this pull request may close these issues.

3 participants