php-ml/.php_cs

19 lines
505 B
Plaintext
Raw Normal View History

2017-01-31 19:33:08 +00:00
<?php
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'declare_strict_types' => true,
'array_syntax' => ['syntax' => 'short'],
'blank_line_after_opening_tag' => true,
'single_blank_line_before_namespace' => true,
2017-03-01 09:16:15 +00:00
'no_unused_imports' => true
2017-01-31 19:33:08 +00:00
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
)
->setRiskyAllowed(true)
->setUsingCache(false);