From ddabd69ff1533f2ddfc9f3acf236097ae037aa6e Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 5 May 2021 08:02:18 +0200 Subject: [PATCH] Use new config file --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 447e1aee..af093800 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ use Ergebnis\PhpCsFixer\Config; $config = Config\Factory::fromRuleSet(new Config\RuleSet\Php74()); $config->getFinder()->in(__DIR__); -$config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/php_cs.cache'); +$config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/.php-cs-fixer.cache'); return $config; ``` @@ -79,7 +79,7 @@ All configuration examples use the caching feature, and if you want to use it as +$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php74($header)); $config->getFinder()->in(__DIR__); - $config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/php_cs.cache'); + $config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/.php-cs-fixer.cache'); return $config; ``` @@ -116,7 +116,7 @@ file headers will be added to PHP files, for example: +]); $config->getFinder()->in(__DIR__); - $config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/php_cs.cache'); + $config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/.php-cs-fixer.cache'); return $config; ```