Skip to content
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

feat: make phpcs severity level configurable #130

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

Vinai
Copy link
Contributor

@Vinai Vinai commented Jan 22, 2023

Add inputs to allow configuring error and warning severity levels.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

The phpcs command is always executed with the built in default severity level 5.

Fixes: N/A

What is the new behavior?

Three new optional inputs allow specifying the error and warning severity level.
This allows suppressing messages in the Mage-OS repository that are ignored in upstream Magento Open Source CI, too.

If no values are specified the built in default value is used.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Reference Mage-OS PR mage-os/mageos-magento2#22

Add inputs to allow configuring error and warning severity levels.
This allows suppressing messages in the Mage-OS repository that are
ignored in upstream Magento Open Source CI, too.

No breaking changes.
Copy link
Member

@damienwebdev damienwebdev left a comment

Choose a reason for hiding this comment

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

lgtm

@damienwebdev damienwebdev self-requested a review January 24, 2023 14:39
Copy link
Member

@damienwebdev damienwebdev left a comment

Choose a reason for hiding this comment

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

lgtm

@damienwebdev damienwebdev merged commit 81a1eb2 into graycoreio:main Apr 11, 2023
@gray-bot gray-bot mentioned this pull request Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants