add php-cs-fixer into travis tasks

This commit is contained in:
Dariusz Rumiński
2014-08-17 01:00:43 +02:00
parent bd3c7798c3
commit 761538e065
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
$config = new Symfony\CS\Config\Config();
$config->getFinder()->exclude('bin');
$config->getFinder()->in(__DIR__)->exclude('bin');
return $config;
+8
View File
@@ -1,4 +1,12 @@
language: php
before_script:
- curl http://cs.sensiolabs.org/get/php-cs-fixer.phar -o php-cs-fixer.phar
script:
- phpunit
- php php-cs-fixer.phar --dry-run -v fix .
php:
- 5.2
- 5.3
+1 -1
View File
@@ -42,7 +42,7 @@ class Mustache_Context
/**
* Push a new Context frame onto the block context stack.
*
* @param mixed $value Object or array to use for block context
* @param mixed $value Object or array to use for block context
*/
public function pushBlockContext($value)
{