Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Comptoir.v3_Working.FORK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabrice Gangler
Comptoir.v3_Working.FORK
Commits
27e1e652
Commit
27e1e652
authored
5 years ago
by
Fabrice Gangler
Browse files
Options
Downloads
Patches
Plain Diff
CHORE(git hook): enable "PHP Code Sniffer"
Refs: #19
parent
d272a84b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
webapp/.phpcs.xml
+1
-1
1 addition, 1 deletion
webapp/.phpcs.xml
webapp/grumphp.yml
+4
-4
4 additions, 4 deletions
webapp/grumphp.yml
with
5 additions
and
5 deletions
webapp/.phpcs.xml
+
1
−
1
View file @
27e1e652
...
...
@@ -36,7 +36,7 @@
<!-- config/bootstrap.php : 2 complex lines exceeds 120 characters -->
<exclude-pattern>
config/bootstrap.php
</exclude-pattern>
</rule>
<!--
You can hard-code command line values into your custom standard.
...
...
This diff is collapsed.
Click to expand it.
webapp/grumphp.yml
+
4
−
4
View file @
27e1e652
...
...
@@ -17,14 +17,14 @@ parameters:
tasks
:
-
composer
-
securitychecker
#
- phpcs
-
phpcs
-
phpmd
-
phplint
-
jsonlint
-
xmllint
-
yamllint
-
file_size
#
- git_blacklist
#
- git_blacklist
##
## test-suite for the "vendor/bin/grumphp run --testsuite linter_testSuite" command:
## ---> run following tasks on the full codebase
...
...
@@ -40,9 +40,9 @@ parameters:
php_testSuite
:
tasks
:
-
phplint
# - phpcs
# - phpcpd
-
phpcs
-
phpmd
# - phpcpd
tasks
:
##
######## git_commit_msg
...
...
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