11 lines
303 B
PHP
11 lines
303 B
PHP
|
<?php
|
||
|
|
||
|
$ruleset = new TwigCsFixer\Ruleset\Ruleset();
|
||
|
$ruleset->addStandard(new TwigCsFixer\Standard\Twig());
|
||
|
$ruleset->addRule(new TwigCsFixer\Rules\Whitespace\EmptyLinesRule());
|
||
|
|
||
|
$config = new TwigCsFixer\Config\Config();
|
||
|
$config->setRuleset($ruleset);
|
||
|
$config->allowNonFixableRules();
|
||
|
|
||
|
return $config;
|