Updated composer file and phpcs rules

This commit is contained in:
Justin Foell
2018-04-06 16:19:22 -05:00
parent 71060c35b0
commit cfa65ec068
5 changed files with 18 additions and 29 deletions
+5
View File
@@ -1,3 +1,8 @@
*~
.svn
.vscode
composer.lock
vendor/bin/
vendor/squizlabs/
vendor/wp-coding-standards/
vendor/composer/installed.json
+9 -6
View File
@@ -1,12 +1,15 @@
{
"name": "wpackagist-plugin/wp-strava",
"description": "Show your strava.com activity on your WordPress site.",
"require":{
"php": ">=5.2.4"
},
"name": "wpackagist-plugin/wp-strava",
"description": "Show your strava.com activity on your WordPress site.",
"require": {
"php": ">=5.2.4"
},
"require-dev": {
"wp-coding-standards/wpcs": "~0.14"
},
"autoload": {
"psr-0": {
"WPStrava_": "lib/"
}
}
}
}
Generated
-19
View File
@@ -1,19 +0,0 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "724eef3de7c6e2ee812ac6b4f92edb80",
"packages": [],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": ">=5.2.4"
},
"platform-dev": []
}
+2 -1
View File
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<ruleset name="WPStrava">
<ruleset name="WPStrava (WordPress-VIP) Coding Standards">
<!-- Include the whole WordPress-Extra standard -->
<rule ref="WordPress-Extra">
@@ -11,4 +11,5 @@
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<config name="installed_paths" value="vendor/wp-coding-standards/wpcs" />
</ruleset>
-1
View File
@@ -1 +0,0 @@
[]