[Pkg-owncloud-commits] [php-sabredav] 03/34: Using sabre/cs for automated coding standards fixing and checking.

David Prévot taffit at moszumanska.debian.org
Wed May 27 13:57:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag 3.0.0-beta1
in repository php-sabredav.

commit 2e63c769eb87c980fa166eb275eb379bd3826c4f
Author: Evert Pot <me at evertpot.com>
Date:   Mon Apr 27 20:53:02 2015 -0400

    Using sabre/cs for automated coding standards fixing and checking.
---
 .gitignore    | 3 ++-
 .travis.yml   | 2 +-
 composer.json | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 2b0e9e3..aff6e27 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,7 +17,8 @@ bin/vobject
 bin/generate_vcards
 bin/phpdocmd
 bin/phpunit
-bin/phpcs
+bin/php-cs-fixer
+bin/sabre-cs-fixer
 
 # Assuming every .php file in the root is for testing
 /*.php
diff --git a/.travis.yml b/.travis.yml
index b794af2..fa73296 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,7 +30,7 @@ before_script:
 
 script:
   - ./bin/phpunit --configuration tests/phpunit.xml $TEST_DEPS
-  - ./bin/phpcs  -p --standard=tests/phpcs/ruleset.xml lib/
+  - ./bin/sabre-cs-fixer fix lib/ --dry-run --diff
 
 notifications:
   irc:
diff --git a/composer.json b/composer.json
index 1f26a9c..2531b23 100644
--- a/composer.json
+++ b/composer.json
@@ -33,7 +33,7 @@
     "require-dev" : {
         "phpunit/phpunit" : "~4.2",
         "evert/phpdoc-md" : "~0.1.0",
-        "squizlabs/php_codesniffer": "~1.5.3"
+        "sabre/cs": "dev-master"
     },
     "suggest" : {
         "ext-curl" : "*",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list