yiicod/yii2-socketio

View on GitHub
.php_cs

Summary

Maintainability
Test Coverage
<?php
$finder = PhpCsFixer\Finder::create()
    ->exclude(['tests', 'node_modules'])
    ->in([__DIR__]);
$config = PhpCsFixer\Config::create()
    ->setUsingCache(true)
    ->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;