Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coder-3418190
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
coder-3418190
Commits
284b5186
Commit
284b5186
authored
5 years ago
by
Klaus Purer
Browse files
Options
Downloads
Patches
Plain Diff
docs(README): Add example how to disable a Drupal rule in the config file (
#3068684
)
parent
6ccd2821
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-2
6 additions, 2 deletions
README.md
with
6 additions
and
2 deletions
README.md
+
6
−
2
View file @
284b5186
...
...
@@ -93,10 +93,14 @@ phpcs.xml.dist file in your project like this:
<!-- If you have Coder installed locally then you can reference the Drupal
standards with relative paths. Otherwise simply use "Drupal" and
"DrupalPractice. -->
<rule
ref=
"../vendor/drupal/coder/coder_sniffer/Drupal"
/>
<rule
ref=
"../vendor/drupal/coder/coder_sniffer/Drupal"
>
<!-- Example how you would disable a rule you are not compliant with yet:
<exclude name="Drupal.Commenting.Deprecated"/>
-->
</rule>
<rule
ref=
"../vendor/drupal/coder/coder_sniffer/DrupalPractice"
/>
<!-- Example how you would disable a rule you do not like:
<!-- Example how you would disable a
n external
rule you do not like:
<rule ref="PEAR.Functions.ValidDefaultValue.NotAtEnd">
<severity>0</severity>
</rule>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment