mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-19 13:57:00 +00:00
added PHP CS Fixer config
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return PhpCsFixer\Config::create()
|
||||||
|
->setRules(array(
|
||||||
|
'@Symfony' => true,
|
||||||
|
'@Symfony:risky' => true,
|
||||||
|
'array_syntax' => array('syntax' => 'long'),
|
||||||
|
'php_unit_fqcn_annotation' => false,
|
||||||
|
'no_unreachable_default_argument_value' => false,
|
||||||
|
'heredoc_to_nowdoc' => false,
|
||||||
|
))
|
||||||
|
->setRiskyAllowed(true)
|
||||||
|
->setFinder(PhpCsFixer\Finder::create()->in(__DIR__))
|
||||||
|
;
|
||||||
Reference in New Issue
Block a user