Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-mlc
kohinos
Commits
56c08ee3
Commit
56c08ee3
authored
Jan 29, 2021
by
Mathieu Poisbeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a PHP_CodeSniffer configuration file for the Kohinos project
parent
20d30630
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
0 deletions
+59
-0
.phpcs.xml.dist
.phpcs.xml.dist
+59
-0
No files found.
.phpcs.xml.dist
0 → 100644
View file @
56c08ee3
<?xml version="1.0"?>
<ruleset
name=
"Kohinos Coding Standards"
>
<description>
A custom set of code standard rules to check the Kohinos project.
</description>
<!--
#############################################################################
COMMAND LINE ARGUMENTS
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml
#############################################################################
-->
<!-- Pass some flags to PHPCS:
p flag: Show progress of the run.
s flag: Show sniff codes in all reports.
-->
<arg
value=
"ps"
/>
<!-- Strip the filepaths down to the relevant bit. -->
<arg
name=
"basepath"
value=
"./"
/>
<!-- Check up to 8 files simultaneously. -->
<arg
name=
"parallel"
value=
"8"
/>
<!-- Check all files in this directory and the directories below it. -->
<file>
.
</file>
<!-- Exclude patterns. -->
<exclude-pattern>
/vendor/*
</exclude-pattern>
<exclude-pattern>
/node_modules/*
</exclude-pattern>
<!--
#############################################################################
USE THE PSR12 RULESET
#############################################################################
-->
<rule
ref=
"PSR12"
/>
<!--
#############################################################################
SNIFF SPECIFIC CONFIGURATION
#############################################################################
-->
<!--
#############################################################################
USE THE PHPCompatibility RULESET
#############################################################################
-->
<config
name=
"testVersion"
value=
"7.4-"
/>
<rule
ref=
"PHPCompatibilityWP"
/>
</ruleset>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment