Последняя версия с сервера прошлого разработчика
This commit is contained in:
21
.php-cs-fixer.dist.php
Executable file
21
.php-cs-fixer.dist.php
Executable file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
// Reference: http://cs.sensiolabs.org/
|
||||
|
||||
return PhpCsFixer\Config::create()
|
||||
->setUsingCache(false)
|
||||
->setRiskyAllowed(true)
|
||||
->setRules([
|
||||
'@PHP70Migration' => true,
|
||||
'@PHP71Migration' => true,
|
||||
'@PSR2' => true,
|
||||
// '@Symfony' => true,
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
'increment_style' => ['style' => 'post'],
|
||||
'no_multiline_whitespace_before_semicolons' => true,
|
||||
'not_operator_with_successor_space' => true,
|
||||
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
|
||||
'semicolon_after_instruction' => false,
|
||||
'strict_comparison' => true,
|
||||
'yoda_style' => false,
|
||||
]);
|
||||
Reference in New Issue
Block a user