1
0
mirror of https://github.com/ToxicCrack/PrintABrick.git synced 2025-05-16 12:20:09 -07:00
PrintABrick/.php_cs
2017-01-17 12:17:24 +01:00

19 lines
532 B
PHP

<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/src');
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'combine_consecutive_unsets' => true,
'linebreak_after_opening_tag' => true,
'no_multiline_whitespace_before_semicolons' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_imports' => true,
'phpdoc_order' => true,
'array_syntax' => array('syntax' => 'short'),
])
->setFinder($finder);