Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
cs config
Browse files Browse the repository at this point in the history
  • Loading branch information
basz committed Mar 5, 2017
1 parent 9ff462f commit 5e17795
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

$config = new \HF\CS\Config();
$config->getFinder()->in(__DIR__)->exclude(['config', 'src']);

$cacheDir = getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__;

$config->setCacheFile($cacheDir . '/.php_cs.cache');

return $config;

0 comments on commit 5e17795

Please sign in to comment.