PHP code example of gd-75 / php-cs-fixer-enforce-double-quotes
1. Go to this page and download the library: Download gd-75/php-cs-fixer-enforce-double-quotes library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gd-75 / php-cs-fixer-enforce-double-quotes example snippets
use GD75\DoubleQuoteFixer\DoubleQuoteFixer;
use PhpCsFixer\Config;
$config = new Config();
$config
->registerCustomFixers(
[
new DoubleQuoteFixer()
]
)
->setRules(
[
"GD75/double_quote_fixer" => true,
]
);