yiicod/yii2-auth

View on GitHub
.php_cs

Summary

Maintainability
Test Coverage
<?php
$finder = PhpCsFixer\Finder::create()
    ->exclude(['vendor', 'blog', 'mnt', 'tools', 'node_modules', 'vagrant'])
    ->in([__DIR__]);
$config = PhpCsFixer\Config::create()
    ->setUsingCache(false)
    ->setRules([
        '@Symfony' => true,
        'phpdoc_align' => false,
        'phpdoc_summary' => false,
        'phpdoc_inline_tag' => false,
        'pre_increment' => false,
        'heredoc_to_nowdoc' => false,
        'cast_spaces' => false,
        'include' => false,
        'phpdoc_no_package' => false,
        'concat_space' => ['spacing' => 'one'],
        'ordered_imports' => true,
        'array_syntax' => ['syntax' => 'short'],
    ])
    ->setFinder($finder);
return $config;