PHP code example of realodix / php-cs-fixer-config
1. Go to this page and download the library: Download realodix/php-cs-fixer-config 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/ */
realodix / php-cs-fixer-config example snippets
use Realodix\CsConfig\Factory;
use Realodix\CsConfig\RuleSet;
return Factory::fromRuleSet(new RuleSet\Realodix);
$yourRules = [
'your_rule_1' = true,
'your_rule_2' = true,
];
Factory::fromRuleSet(new RuleSet\Blank, $yourRules);
/**
* Copyright (c) 2021 Realodix
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/realodix/php-cs-fixer-config
*/