From 55073b2c0138906a3471b72107fb2a349c3805a9 Mon Sep 17 00:00:00 2001 From: Justin Foell Date: Fri, 23 Feb 2018 14:35:37 -0600 Subject: [PATCH] Added WordPress-Extra rulset with some exclusions Don't add dev assets when exporting via git --- .gitattributes | 5 ++++- phpcs.xml | 10 ++++++++++ readme.txt | 6 ++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 phpcs.xml diff --git a/.gitattributes b/.gitattributes index 0508865..823697c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,5 @@ -.gitattributes export-ignore +.gitattributes export-ignore .gitignore export-ignore +composer.json export-ignore +composer.lock export-ignore +phpcs.xml export-ignore diff --git a/phpcs.xml b/phpcs.xml new file mode 100644 index 0000000..5fef36e --- /dev/null +++ b/phpcs.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/readme.txt b/readme.txt index 8ce32c8..fbe7366 100755 --- a/readme.txt +++ b/readme.txt @@ -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.