Sha256: b19131fa021ee3fa364c3597629e430c99abd4290b2849b098dc7f93fc597859

Contents?: true

Size: 1.15 KB

Versions: 483

Compression:

Stored size: 1.15 KB

Contents

<?php
$finder = PhpCsFixer\Finder::create()
    ->in(__DIR__ . '/src')
    ->in(__DIR__ . '/bin');
return PhpCsFixer\Config::create()
    ->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'],
        'is_null' => ['use_yoda_style' => false],
        'list_syntax' => ['syntax' => 'short'],
        'method_argument_space' => ['ensure_fully_multiline' => true],
        'modernize_types_casting' => true,
        'no_multiline_whitespace_before_semicolons' => true,
        'no_useless_else' => true,
        'no_useless_return' => true,
        'ordered_imports' => true,
        'phpdoc_align' => false,
        'phpdoc_order' => true,
        'php_unit_construct' => true,
        'php_unit_dedicate_assert' => true,
        'single_line_comment_style' => true,
        'ternary_to_null_coalescing' => true,
        'yoda_style' => false,
        'void_return' => true,
    ])
    ->setFinder($finder)
    ->setUsingCache(true)
    ->setRiskyAllowed(true);

Version data entries

483 entries across 483 versions & 1 rubygems

Version Path
dependabot-composer-0.112.5 helpers/.php_cs
dependabot-composer-0.112.4 helpers/.php_cs
dependabot-composer-0.112.3 helpers/.php_cs
dependabot-composer-0.112.2 helpers/.php_cs
dependabot-composer-0.112.1 helpers/.php_cs
dependabot-composer-0.112.0 helpers/.php_cs
dependabot-composer-0.111.59 helpers/.php_cs
dependabot-composer-0.111.58 helpers/.php_cs
dependabot-composer-0.111.57 helpers/.php_cs
dependabot-composer-0.111.56 helpers/.php_cs
dependabot-composer-0.111.55 helpers/.php_cs
dependabot-composer-0.111.54 helpers/.php_cs
dependabot-composer-0.111.53 helpers/.php_cs
dependabot-composer-0.111.52 helpers/.php_cs
dependabot-composer-0.111.51 helpers/.php_cs
dependabot-composer-0.111.50 helpers/.php_cs
dependabot-composer-0.111.49 helpers/.php_cs
dependabot-composer-0.111.48 helpers/.php_cs
dependabot-composer-0.111.47 helpers/.php_cs
dependabot-composer-0.111.46 helpers/.php_cs