Skip to content

Commit

Permalink
Merge pull request #203 from Synchro/master
Browse files Browse the repository at this point in the history
Add config files
  • Loading branch information
calcinai authored Oct 20, 2016
2 parents 524f4bc + 59c0fac commit 06f1cd1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
* text=auto

/docs export-ignore
/tests export-ignore
/examples export-ignore
/generator export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
/.travis.yml export-ignore
/changelog.md export-ignore
/phpunit.xml.dist export-ignore
/README.md export-ignore
15 changes: 15 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
//php-cs-fixer config file.
//See: https://github.com/FriendsOfPHP/PHP-CS-Fixer
//Run like this from the project root:
//php-cs-fixer fix --config-file=.php_cs

return Symfony\CS\Config::create()
->finder(
Symfony\CS\Finder::create()
->in(__DIR__)
->exclude('src/XeroPHP/Models')
)
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->setUsingCache(true)
;

0 comments on commit 06f1cd1

Please sign in to comment.