Commit 190ae533 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Added a setter to configure the name of the cachefile.

Showing with 12 additions and 2 deletions
+12 -2
......@@ -22,7 +22,7 @@ final class Config extends PhpCsFixerConfig
/**
* @var string
*/
protected $cacheFile = '.php_cs.commit-cache';
private $cacheFile = '.php_cs.commit-cache';
/**
* Config constructor.
......@@ -34,7 +34,17 @@ final class Config extends PhpCsFixerConfig
}
/**
* {@inheritDoc}
* Set cacheFile.
*
* @param string $cacheFile
*/
public function setCacheFile($cacheFile)
{
$this->cacheFile = $cacheFile;
}
/**
* {@inheritdoc}
*/
public function getRules()
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment