eislambey / double-quote-fixer
This package is abandoned and no longer maintained.
No replacement package was suggested.
Double quote fixer for PHP CS Fixer
v0.1.0
2020-09-17 07:12 UTC
Requires
- friendsofphp/php-cs-fixer: ^2.16
Requires (Dev)
- phpunit/phpunit: ^5.7.27 || ^6.5.14 || ^7.1
This package is auto-updated.
Last update: 2024-04-18 16:07:37 UTC
README
This project is unmaintained. Use gd-75/php-cs-fixer-enforce-double-quotes instead
Double Quote Fixer
PHP CS Fixer rule for using double quotes. Code copied and edited from single_quote
rule.
Installation
composer require eislambey/double-quote-fixer --dev
Usage
PhpCsFixer\Config::create() ->setRiskyAllowed(true) ->registerCustomFixers([ new \Islambey\Fixers\DoubleQuoteFixer(), ]) ->setRules([ "Islambey/double_quote" => ["strings_containing_double_quote_chars" => true], ]);
License
The MIT License