Sha256: 1f128b758ca6c6836787c37ed166ed9dd6c1a69c26ae923f9eaae8001f73bed9
Contents?: true
Size: 1.13 KB
Versions: 74
Compression:
Stored size: 1.13 KB
Contents
<?php $finder = PhpCsFixer\Finder::create() ->in(__DIR__ . '/src') ->in(__DIR__ . '/bin'); $config = new PhpCsFixer\Config(); return $config ->setRules([ '@Symfony' => true, 'array_syntax' => ['syntax' => 'short'], 'blank_line_after_opening_tag' => true, 'concat_space' => ['spacing' => 'one'], 'declare_strict_types' => true, 'increment_style' => ['style' => 'post'], 'list_syntax' => ['syntax' => 'short'], 'method_argument_space' => ['on_multiline' => 'ensure_fully_multiline'], 'modernize_types_casting' => true, 'multiline_whitespace_before_semicolons' => true, 'no_useless_else' => true, 'no_useless_return' => true, 'ordered_imports' => true, 'php_unit_construct' => true, 'php_unit_dedicate_assert' => true, 'phpdoc_align' => false, 'phpdoc_order' => true, 'single_line_comment_style' => true, 'ternary_to_null_coalescing' => true, 'void_return' => true, 'yoda_style' => false, ]) ->setFinder($finder) ->setUsingCache(true) ->setRiskyAllowed(true);
Version data entries
74 entries across 74 versions & 1 rubygems