Skip to content

Commit

Permalink
Added .coveralls.yml, updated .travis.yml and edited composer.json. A…
Browse files Browse the repository at this point in the history
…lso updated CS fixer rules
  • Loading branch information
rikbruil committed Mar 10, 2015
1 parent 33032b1 commit 97b1bd6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 18 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src_dir: src
20 changes: 3 additions & 17 deletions .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,12 @@ $finder = Symfony\CS\Finder\DefaultFinder::create()
return Symfony\CS\Config\Config::create()
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL)
->fixers(array(
'psr0',
'encoding',
'short_tag',
'braces',
'elseif',
'eof_ending',
'function_declaration',
'indentation',
'linefeed',
'lowercase_constants',
'lowercase_keywords',
'method_argument_space',
'multiple_use',
'php_closing_tag',
'single_line_after_imports',
'trailing_spaces',
'visibility',
'header_comment',
'align_equals',
'concat_with_spaces',
'ordered_use',
'phpdoc_order',
'strict',
'strict_param',
))
->finder($finder);
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ php:
- 5.5
- 5.6

sudo: false

cache:
directories:
- $HOME/.composer/cache

before_install:
- travis_retry composer self-update

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"require-dev": {
"phpspec/phpspec": "~2.1@dev",
"henrikbjorn/phpspec-code-coverage": "~1.0",
"satooshi/php-coveralls": "~0.6",
"satooshi/php-coveralls": "0.7.*@dev",
"fabpot/php-cs-fixer": "~1.5"
},
"extra": {
Expand Down

0 comments on commit 97b1bd6

Please sign in to comment.