Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
commerce_sheets
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
commerce_sheets
Commits
906b3007
Commit
906b3007
authored
Feb 15, 2024
by
Dimitris Bozelos
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3421721
Added PHPCS configuration file
parent
89d08f94
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.phpcs.xml
+21
-0
21 additions, 0 deletions
.phpcs.xml
with
21 additions
and
0 deletions
.phpcs.xml
0 → 100644
+
21
−
0
View file @
906b3007
<?xml version="1.0"?>
<ruleset
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
name=
"drupal/commerce_sheets"
xsi:noNamespaceSchemaLocation=
"phpcs.xsd"
>
<description>
The coding standard for the Commerce Sheets module.
</description>
<file>
src
</file>
<!-- Include the Drupal and DrupalPractice standards -->
<rule
ref=
"Drupal"
>
<!-- We sort use statements alphabetically, but group them in sections when there are too many -->
<exclude
name=
"SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"
/>
</rule>
<rule
ref=
"DrupalPractice"
></rule>
<!-- Correct indentation in class declarations -->
<rule
ref=
"Drupal.Classes.ClassDeclaration"
>
<properties>
<property
name=
"indent"
value=
"2"
/>
-->
</properties>
</rule>
</ruleset>
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
sign in
to comment