2017 © Pedro Peláez
 

library php-cs-fixer

PHP-CS-Fixer sweetened with ease

image

sugared-rim/php-cs-fixer

PHP-CS-Fixer sweetened with ease

  • Saturday, March 31, 2018
  • by schnittstabil
  • Repository
  • 1 Watchers
  • 1 Stars
  • 323 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 1 % Grown

The README.md

SugaredRim\PHP-CS-Fixer Build Status Coverage Status Scrutinizer Code Quality Code Climate

SensioLabsInsight, (*1)

PHP-CS-Fixer sweetened with ease :cherries:, (*2)

SugaredRim\PHP-CS-Fixer takes an opinionated view of code style checking with PHP-CS-Fixer, it is preconfigured to get you up and running as quickly as possible., (*3)

Install

$ composer require --dev sugared-rim/php-cs-fixer

Usage

Instead of running php-cs-fixer with all its options, just run sugared-rim-php-cs-fixer - that's it:, (*4)

{
    ...
    "require-dev": {
        "sugared-rim/php-cs-fixer": ...
    },
    "scripts": {
        "lint": "sugared-rim-php-cs-fixer"
    }
}

Configuration

You may overwrite some options by putting it in your composer.json., (*5)

Some of the default settings:, (*6)

{
    ...
    "scripts": {
        "lint": "sugared-rim-php-cs-fixer"
    },
    "extra": {
        "sugared-rim/php-cs-fixer": {
            "diff": true,
            "dry-run": true,
            "cache": true,
            "path": {
                "in": [
                    "."
                ],
                "name": [
                    "*.php",
                    "*.phtml",
                    "*.twig",
                    "*.xml",
                    "*.yml"
                ],
                "exclude": [
                    "build",
                    "bower_components",
                    "node_modules",
                    "vendor"
                ],
                "ignoreDotFiles": true,
                "ignoreVCS": true
            }
        }
    }
}

License

MIT © Michael Mayer, (*7)

The Versions

31/03 2018

dev-master

9999999-dev

PHP-CS-Fixer sweetened with ease

  Sources   Download

MIT

The Requires

 

The Development Requires

lint standards cs php-cs-fixer sugared preconfigured sugared-rim

31/03 2018

2.1.0

2.1.0.0

PHP-CS-Fixer sweetened with ease

  Sources   Download

MIT

The Requires

 

The Development Requires

lint standards cs php-cs-fixer sugared preconfigured sugared-rim

08/11 2016

2.0.0

2.0.0.0

PHP-CS-Fixer sweetened with ease

  Sources   Download

MIT

The Requires

 

The Development Requires

lint standards cs php-cs-fixer sugared preconfigured sugared-rim

31/10 2016

1.0.1

1.0.1.0

PHP-CS-Fixer sweetened with ease

  Sources   Download

MIT

The Requires

 

The Development Requires

lint standards cs php-cs-fixer sugared preconfigured

26/09 2016

1.0.0

1.0.0.0

PHP-CS-Fixer sweetened with ease

  Sources   Download

MIT

The Requires

 

The Development Requires

lint standards cs php-cs-fixer sugared preconfigured