Skip to content

Conversation

@GaryJones
Copy link
Contributor

  • Use the parent $printingFunctions list of printing functions, instead
    of just checking for _e and _ex.
  • Fix the class description.
  • Add ruleset tests for both standards.

Fixes #387.

@GaryJones GaryJones added this to the 1.0.0 milestone Mar 4, 2019
@GaryJones GaryJones self-assigned this Mar 4, 2019
@GaryJones GaryJones requested a review from rebeccahum March 4, 2019 10:06
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.

Hiya! Let's fix the TravisCI error before proceeding:

FILE: WordPressVIPMinimum/Sniffs/Security/EscapingVoidReturnFunctionsSniff.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 17 | ERROR | Doc comment long description must start with a capital letter
    |       | (Generic.Commenting.DocComment.LongNotCapital)

- Use the parent `$printingFunctions` list of printing functions, instead
of just checking for `_e` and `_ex`.
- Fix the class description.
- Add ruleset tests for both standards.

Fixes #387.
@GaryJones GaryJones force-pushed the feature/387-escapingvoidreturnfunctions branch from ca9b4b8 to 402ac50 Compare March 6, 2019 09:58
@GaryJones
Copy link
Contributor Author

Fixed!

@rebeccahum rebeccahum merged commit 4154808 into master Mar 6, 2019
@rebeccahum rebeccahum deleted the feature/387-escapingvoidreturnfunctions branch March 6, 2019 19:30
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