Added WordPress-Extra rulset with some exclusions

Don't add dev assets when exporting via git
This commit is contained in:
Justin Foell
2018-02-23 14:35:37 -06:00
parent 655a0afa58
commit 55073b2c01
3 changed files with 20 additions and 1 deletions
+3
View File
@@ -1,2 +1,5 @@
.gitattributes export-ignore
.gitignore export-ignore
composer.json export-ignore
composer.lock export-ignore
phpcs.xml export-ignore
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<ruleset name="WPStrava">
<!-- Include the whole WordPress-Extra standard -->
<rule ref="WordPress-Extra">
<!-- Exlude these class naming conventions - we're using a PSR autoload standard -->
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" />
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
</rule>
</ruleset>
+6
View File
@@ -74,6 +74,12 @@ If your API key works with other Google Maps plugins but not WP Strava, you may
== Changelog ==
= 1.5.0 =
Added composer with PSR-0 autoloader (will switch to PSR-4 once WP's PHP 5.2 requirement goes away).
Moved files into appropriate place to support autoloader.
Added WordPress-Extra coding standards rule definition to project
= 1.4.3 =
Fix WPStrava_Activity class not found error.