diff --git a/.gitignore b/.gitignore index 0b27101..eac13de 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ composer.phar composer.lock .DS_Store /.idea +.php_cs.cache diff --git a/.travis.yml b/.travis.yml index f05ac61..2d5371b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ php: - 5.5 - 5.6 - 7.1 - - hhvm env: global: @@ -22,4 +21,6 @@ install: - if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-stable; fi - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-lowest --prefer-stable; fi -script: ./vendor/bin/kahlan -reporter=verbose +script: + - ./vendor/bin/kahlan -reporter=verbose + - ./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix src/ diff --git a/composer.json b/composer.json index 87a7747..0c71ab8 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,7 @@ }, "require-dev": { "kahlan/kahlan": "^2.4", - "illuminate/database": ">=5.2.0" + "illuminate/database": ">=5.2.0", + "friendsofphp/php-cs-fixer": "^2.2" } } diff --git a/src/ReadOnlyException.php b/src/ReadOnlyException.php index 38f165b..2d588f7 100644 --- a/src/ReadOnlyException.php +++ b/src/ReadOnlyException.php @@ -1,7 +1,6 @@