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

Squiz/FunctionSpacing: bug fix - ignore PHPCS annotation tokens #1837

Commits on Jan 5, 2018

  1. Squiz/FunctionSpacing: bug fix - ignore PHPCS annotation tokens

    Treat the new `// phpcs:` comments in the same way as "ordinary" `T_COMMENT` tokens.
    
    Includes unit test.
    
    Without this fix, the fixer would report and error for the spacing above the function and add two blank lines between the `// phpcs:` comment and the function declaration.
    jrfnl committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    6016917 View commit details
    Browse the repository at this point in the history