mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-11 18:56:18 +09:00
Added WordPress-Extra rulset with some exclusions
Don't add dev assets when exporting via git
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
.gitattributes export-ignore
|
||||
.gitignore export-ignore
|
||||
composer.json export-ignore
|
||||
composer.lock export-ignore
|
||||
phpcs.xml export-ignore
|
||||
|
||||
@@ -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>
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user