Skip to content

Instantly share code, notes, and snippets.

@jeroenvdgulik
Created October 19, 2015 11:06
Show Gist options
  • Select an option

  • Save jeroenvdgulik/6d9f96e7e590a2594d5f to your computer and use it in GitHub Desktop.

Select an option

Save jeroenvdgulik/6d9f96e7e590a2594d5f to your computer and use it in GitHub Desktop.

Revisions

  1. jeroenvdgulik created this gist Oct 19, 2015.
    14 changes: 14 additions & 0 deletions .php_cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    <?php

    $finder = Symfony\CS\Finder\DefaultFinder::create()
    ->files()
    ->name('*.php')
    ->in(__DIR__.'/src')
    ;

    return Symfony\CS\Config\Config::create()
    ->fixers(array(
    'logical_not_operators_with_spaces', 'phpdoc_order', 'newline_after_open_tag', 'concat_with_spaces'
    ))
    ->finder($finder)
    ;