Skip to content

Commit 768dd3d

Browse files
committed
Update project files
- Add PHPCS and related packages, - Make `.gitignore` be useful for the project. - Refresh `.editorconfig` - Rename `phpunit.xml` to `phpunit.xml.dist`
1 parent 4417f02 commit 768dd3d

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

.editorconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ insert_final_newline = true
1313
trim_trailing_whitespace = true
1414
indent_style = tab
1515

16-
[*.json]
17-
indent_style = space
18-
indent_size = 2
19-
2016
[*.txt]
2117
end_of_line = crlf
2218

.gitignore

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
# OSX
2-
.DS_Store
3-
.AppleDouble
4-
.LSOverride
5-
Icon
6-
7-
# Thumbnails
8-
._*
9-
Thumbs.db
10-
11-
# NetBeans
12-
nbproject/
1+
/vendor
2+
/composer.lock
3+
/phpunit.xml
4+
/phpcs.xml
5+
/.phpcs.xml

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,12 @@
2424
},
2525
"require": {
2626
"composer/installers": "~1.0"
27+
},
28+
"require-dev": {
29+
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
30+
"phpcompatibility/phpcompatibility-wp": "^1",
31+
"roave/security-advisories": "dev-master",
32+
"squizlabs/php_codesniffer": "^3.3",
33+
"wp-coding-standards/wpcs": "^1"
2734
}
2835
}
File renamed without changes.

0 commit comments

Comments
 (0)