Skip to content

Is it possible to ignore/exclude parts of a file in the coding standard (the xml file)? #3873

Answered by jrfnl
finn-matti asked this question in Q&A
Discussion options

You must be logged in to vote

@finn-matti The only way to do this with PHPCS is by using // phpcs:disable / // phpcs:enable annotations in the file itself.
The xml file cannot be used for this.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@finn-matti
Comment options

@jrfnl
Comment options

jrfnl Aug 11, 2023
Collaborator

Answer selected by finn-matti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants