2017 © Pedro Peláez
 

library php-cs-fixers

Fixers for friendsofphp/php-cs-fixer

image

wucdbm/php-cs-fixers

Fixers for friendsofphp/php-cs-fixer

  • Friday, February 9, 2018
  • by wucdbm
  • Repository
  • 1 Watchers
  • 1 Stars
  • 235 Installations
  • PHP
  • 16 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 21 % Grown

The README.md

Usage

In your .php_cs file

<?php 

return PhpCsFixer\Config::create()
    ->registerCustomFixers([
        // Register the Custom Fixer
        new \Wucdbm\PhpCsFixer\Fixer\EnsureBlankLineAfterClassOpeningFixer()
    ])
    ->setRules([
        '@Symfony'                                     => true,
        // And add it to your list of rules
        'Wucdbm/ensure_blank_line_after_class_opening' => true
    ]);
<?php

use Wucdbm\PhpCsFixer\Config\ConfigFactory;

$copyright = <<<COMMENT
This file is part of the Wucdbm PhpCSFixers package.

(c) Martin Kirilov <wucdbm@gmail.com>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
COMMENT;

return ConfigFactory::createCopyrightedConfig([
    __DIR__ . '/src',
    __DIR__ . '/tests'
], $copyright)
    ->setUsingCache(false);
<?php

use Wucdbm\PhpCsFixer\Config\ConfigFactory;

return ConfigFactory::createConfig(__DIR__ . '/src')
    ->setUsingCache(false);

The Versions

09/02 2018

dev-master

9999999-dev

Fixers for friendsofphp/php-cs-fixer

  Sources   Download

MIT GPL-3.0

The Requires

 

The Development Requires

by Martin Kirilov

php cs php cs fixer blank line after class opening

09/02 2018

v0.3.0

0.3.0.0

Fixers for friendsofphp/php-cs-fixer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Martin Kirilov

php cs php cs fixer blank line after class opening

30/01 2018

v0.2.1

0.2.1.0

Fixers for friendsofphp/php-cs-fixer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Martin Kirilov

php cs php cs fixer blank line after class opening

15/12 2017

v0.2.0

0.2.0.0

Fixers for friendsofphp/php-cs-fixer

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Martin Kirilov

php cs php cs fixer blank line after class opening

30/11 2017

v0.1.1

0.1.1.0

Fixers for friendsofphp/php-cs-fixer

  Sources   Download

GPL-3.0

The Requires

 

by Martin Kirilov

php cs php cs fixer blank line after class opening

30/11 2017

v0.1.0

0.1.0.0

Fixers for friendsofphp/php-cs-fixer

  Sources   Download

GPL-3.0

The Requires

 

by Martin Kirilov

php cs php cs fixer blank line after class opening