Skip to content

Commit

Permalink
phpcs added to the travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Dec 11, 2018
1 parent 900e230 commit 67ba7ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ before_script:
- composer install -n
script:
- vendor/bin/codecept run unit --coverage --coverage-xml
- composer run phpcs
- composer run phpstan
- composer run bc-check
after_script:
Expand Down
4 changes: 2 additions & 2 deletions tests/Module/ReJSONTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ReJSONTest extends \Codeception\Test\Unit
* @var Predis\Client
*/
private $redisClient;

// phpcs:disable
protected function _before()
{
$this->redisClient = new Predis\Client();
Expand All @@ -32,7 +32,7 @@ protected function _after()
{
$this->redisClient->flushall();
}

// phpcs:enable
/**
* @test
*/
Expand Down

0 comments on commit 67ba7ae

Please sign in to comment.