diff --git a/ecs.php b/ecs.php deleted file mode 100644 index fc9823dcc..000000000 --- a/ecs.php +++ /dev/null @@ -1,32 +0,0 @@ -import(PRESET_DIR . '/php71.php'); - - $parameters = $containerConfigurator->parameters(); - - $parameters->set('skip', [ - // use function - PhpCsFixer\Fixer\Import\SingleImportPerStatementFixer::class => [ - 'src/Latte/Runtime/Filters.php', - ], - - // use function - PhpCsFixer\Fixer\Import\OrderedImportsFixer::class => [ - 'src/Latte/Runtime/Filters.php', - ], - - // #Attribute - Nette\CodingStandard\Sniffs\WhiteSpace\FunctionSpacingSniff::class => [ - 'tests/Latte/Engine.paramsObject.phpt', - ], - ]); -}; diff --git a/ncs.php b/ncs.php new file mode 100644 index 000000000..4f85c4494 --- /dev/null +++ b/ncs.php @@ -0,0 +1,14 @@ + false, + 'ordered_imports' => false, +];