Bee-Lab/bowerphp

View on GitHub
.php_cs

Summary

Maintainability
Test Coverage
<?php
// see https://github.com/FriendsOfPHP/PHP-CS-Fixer

$finder = PhpCsFixer\Finder::create()
    ->in([__DIR__ . '/src', __DIR__ . '/tests'])
;

return PhpCsFixer\Config::create()
    ->setRules([
        '@Symfony'               => true,
        'binary_operator_spaces' => ['align_double_arrow' => true],
        'array_syntax'           => ['syntax' => 'short'],
        'concat_space'           => ['spacing' => 'one'], 
        'ordered_imports'        => true,
        'no_unused_imports'      => true,
        'phpdoc_summary'         => false,
        'phpdoc_separation'      => false,
    ])
    ->setFinder($finder)
;