Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 45 lines (39 sloc) 1.14 KB
<?php
$header = <<<EOF
(c) Christian Gripp <mail@core23.de>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
$finder = PhpCsFixer\Finder::create()
->in([ __DIR__.'/src', __DIR__.'/tests'])
;
$config = PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PhpCsFixer' => true,
'@PhpCsFixer:risky' => true,
'@PHP70Migration' => true,
'@PHPUnit60Migration:risky' => true,
'header_comment' => [
'header' => $header,
],
'list_syntax' => [
'syntax' => 'short',
],
'binary_operator_spaces' => [
'default' => 'align',
],
'method_chaining_indentation' => false,
'phpdoc_types_order' => [
'null_adjustment' => 'always_last',
],
'php_unit_internal_class' => false,
'php_unit_test_class_requires_covers' => false,
'no_superfluous_phpdoc_tags' => true,
'static_lambda' => true,
])
->setFinder($finder)
;
return $config;
You can’t perform that action at this time.