Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Adding php linting (#57)
Browse files Browse the repository at this point in the history
* Adding php linting

* Fix PHPCS warnings

Co-authored-by: Evan Herman <[email protected]>
  • Loading branch information
jrtashjian and EvanHerman authored May 15, 2020
1 parent bd863e2 commit 3c9cc50
Show file tree
Hide file tree
Showing 5 changed files with 496 additions and 43 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ svn-username
.sass-cache/
build/
node_modules/
vendor/
21 changes: 21 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "godaddy-wordpress/primer-child-activation",
"license": "GPL-2.0-only",
"require": {
"php": ">=5.6"
},
"config": {
"platform": {
"php": "5.6"
}
},
"scripts": {
"lint": "@php ./vendor/bin/phpcs"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"wp-coding-standards/wpcs": "^2.1"
}
}
346 changes: 346 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3c9cc50

Please sign in to comment.