diff --git a/README.md b/README.md index ede95e32..0fe4e726 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ $ composer require --dev ergebnis/php-cs-fixer-config Pick one of the rule sets: * [`Ergebnis\PhpCsFixer\RuleSet\Laravel6`](src/RuleSet/Laravel6.php) -* [`Ergebnis\PhpCsFixer\RuleSet\Php71`](src/RuleSet/Php71.php) +* [`Ergebnis\PhpCsFixer\RuleSet\Php71`](src/RuleSet/Php74.php) * [`Ergebnis\PhpCsFixer\RuleSet\Php73`](src/RuleSet/Php73.php) * [`Ergebnis\PhpCsFixer\RuleSet\Php74`](src/RuleSet/Php74.php) @@ -39,7 +39,7 @@ Create a configuration file `.php_cs` in the root of your project: use Ergebnis\PhpCsFixer\Config; -$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php71()); +$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php74()); $config->getFinder()->in(__DIR__); $config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/php_cs.cache'); @@ -68,7 +68,7 @@ All configuration examples use the caching feature, and if you want to use it as use Ergebnis\PhpCsFixer\Config; +$header = <<getFinder()->in(__DIR__); $config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/php_cs.cache'); @@ -92,7 +92,7 @@ file headers will be added to PHP files, for example: false, + 'strict_comparison' => false, +]);