Skip to content

Commit c6f9a45

Browse files
committed
trying to run php-cs-fixer on travis
1 parent 63cceaa commit c6f9a45

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ php:
99
- nightly
1010
before_script:
1111
- composer install
12+
script:
13+
- vendor/bin/php-cs-fixer fix --level=psr2 --dry-run src
14+
- vendor/bin/php-cs-fixer fix --level=psr2 --dry-run tests

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"type": "project",
55
"description": "PHP Regular expressions made easy",
66
"require": {
7+
"fabpot/php-cs-fixer": "^1.11"
78
},
89
"require-dev": {
910
"phpunit/phpunit": "* >=4"

tests/VerbalExpressions/PHPVerbalExpressions/VerbalExpressionsTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ public function testReplace()
574574
$this->assertEquals('bazbarbaz', $regex->replace('foobarfoo', 'baz'));
575575
}
576576

577-
577+
/*
578578
public function testPsr2()
579579
{
580580
$pathToRoot = dirname(dirname(dirname(__DIR__)));
@@ -624,4 +624,5 @@ public function testPsr2()
624624
);
625625
}
626626
}
627+
*/
627628
}

0 commit comments

Comments
 (0)