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

CI: fix build failures #629

Merged
merged 2 commits into from
Mar 2, 2021
Merged

CI: fix build failures #629

merged 2 commits into from
Mar 2, 2021

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Mar 2, 2021

Note: this only fixes the failures in the ruleset tests. There is still another failure under investigation.

CI: fix build failures [1]

PR #618 updated the message type for the WordPressVIPMinimum.Functions.RestrictedFunctions.cookies_setcookie error code from warning to error.

However, the ruleset test for the WordPressVIPMinimum ruleset was not updated to match.

Fixed now.

CI: fix build failures [2]

PR #620 silenced the VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable error code in the VIP Go ruleset.

However, the ruleset test for the WordPress-VIP-Go ruleset was not updated to match.

Fixed now.

jrfnl added 2 commits March 2, 2021 19:46
PR 618 updated the message type for the `WordPressVIPMinimum.Functions.RestrictedFunctions.cookies_setcookie` error code from `warning` to `error`.

However, the ruleset test for the `WordPressVIPMinimum` ruleset was not updated to match.

Fixed now.
PR 620 silenced the `VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable` error code in the VIP Go ruleset.

However, the ruleset test for the `WordPress-VIP-Go` ruleset was not updated to match.

Fixed now.
@jrfnl jrfnl added this to the 2.3.0 milestone Mar 2, 2021
@jrfnl jrfnl requested a review from rebeccahum March 2, 2021 19:00
@jrfnl jrfnl requested a review from a team as a code owner March 2, 2021 19:00
Copy link
Contributor

@rebeccahum rebeccahum left a comment

Choose a reason for hiding this comment

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

Good sleuthing, thank you!

@rebeccahum rebeccahum merged commit 655d44a into develop Mar 2, 2021
@rebeccahum rebeccahum deleted the fix/ci-failures branch March 2, 2021 19:40
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.

2 participants