docker-compose-viz/.php_cs

19 lines
437 B
Text
Raw Normal View History

2016-08-05 20:40:29 +02:00
<?php
2020-07-23 22:26:42 +02:00
$finder = PhpCsFixer\Finder::create()
2016-08-05 20:40:29 +02:00
->in(__DIR__.DIRECTORY_SEPARATOR.'src')
->in(__DIR__.DIRECTORY_SEPARATOR.'spec')
;
2020-07-23 22:26:42 +02:00
return (new PhpCsFixer\Config())
2018-01-20 10:41:27 +01:00
->setRules([
2020-07-23 22:26:42 +02:00
'@PSR2' => true,
2018-01-20 10:41:27 +01:00
'@Symfony' => true,
2020-07-23 22:26:42 +02:00
'array_syntax' => ['syntax' => 'short'],
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_class_elements' => true,
2018-01-20 10:41:27 +01:00
])
->setFinder($finder)
2016-08-05 20:40:29 +02:00
;