Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
outils
question2answer
Commits
afc4a076
Commit
afc4a076
authored
Oct 27, 2014
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Travis CI config
parent
12f57e3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
.travis.yml
.travis.yml
+1
-2
ruleset.xml
qa-tests/phpcs/ruleset.xml
+19
-0
No files found.
.travis.yml
View file @
afc4a076
...
...
@@ -22,8 +22,7 @@ before_script:
script
:
## PHP_CodeSniffer
-
phpcs --report=emacs --standard=PSR1 .
-
phpcs --report=emacs --standard=PSR2 .
-
phpcs --extensions=php --standard=qa-tests/phpcs/ruleset.xml .
## PHP Copy/Paste Detector
-
php phpcpd.phar --verbose .
## PHP Mess Detector
...
...
qa-tests/phpcs/ruleset.xml
0 → 100644
View file @
afc4a076
<?xml version="1.0"?>
<ruleset
name=
"Q2AStandard"
>
<description>
Q2A coding standard
</description>
<exclude-pattern>
qa-include/vendor/*
</exclude-pattern>
<exclude-pattern>
qa-config.php
</exclude-pattern>
<rule
ref=
"PSR1"
/>
<rule
ref=
"PSR2"
>
<exclude
name=
"Generic.WhiteSpace.DisallowTabIndent"
/>
<exclude
name=
"Generic.WhiteSpace.ScopeIndent"
/>
<exclude
name=
"Squiz.ControlStructures.ControlSignature"
/>
<exclude
name=
"Generic.ControlStructures.InlineControlStructure"
/>
<exclude
name=
"PSR2.Methods.FunctionCallSignature"
/>
</rule>
<rule
ref=
"Generic.WhiteSpace.DisallowSpaceIndent"
/>
</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