stylist/stylist

An elegant, customizable code-style checker.

dev-master 2019-01-15 08:23 UTC

README

# Stylist

Build Status Code Coverage Downloads this Month Latest stable

Stylist combines the power of the AST with the simplicity of code tokens to create a PHP code style checker that's actually pleasant to use, configure, and even extend.

Usage

  1. Install via Composer:

    $ composer require --dev stylist/stylist
  2. Configure in stylist.neon:

    checks:
        - Stylist\Checks\Arrays\ShortArraySyntaxCheck
  3. Run

    $ php vendor/bin/stylist check src/