-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add support for ignoring PHPCS standards during startup #285
Conversation
…ipgoci_phpcs_validate_sniffs_in_options_and_report()
…-go-ci into fix/phpcs-ignore-standard
…-go-ci into fix/phpcs-ignore-standard
…-go-ci into fix/phpcs-ignore-standard
No issues were found to report when scanning latest commit (commit-ID: 9064bbf) This bot provides automated PHP linting and PHPCS scanning. For more information about the bot and available customizations, see our documentation. Scan run detail
|
This pull request adds support for ignoring PHPCS standards searched for during startup. The sniffs implemented by these PHPCS standards are then not available via
--phpcs-sniffs-include
or--phpcs-sniffs-exclude
(unless they are included by other PHPCS standards available) andvip-go-ci
will not attempt to get valid sniffs implemented by these PHPCS standards.This resolves a problem introduced in #283 when PHPCSUtils was added.
TODO:
--phpcs-standards-to-ignore
--help
message for--phpcs-standards-to-ignore
phpcs-scan.php
tests/integration/PhpcsScanValidateSniffsInOptionAndReportTest.php
tests/integration/MainRunInitOptionsPhpcsTest.php