Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 707 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 707 Bytes

25th-floor php-cs-fixer-config

Provides multiple rule sets for friendsofphp/php-cs-fixer. This repository is based on localheinz/php-cs-fixer-config.

Requirements

PHP needs to be a minimum version of PHP 7.1.0.

Installation

Run

$ composer require --dev twentyfifth/php-cs-fixer-config

Usage

Create a configuration file .php_cs.dist in the root of your project:

<?php

$finder = PhpCsFixer\Finder::create()
    ->in(__DIR__)
;

return TwentyFifth\PhpCsFixer\Php71Config::create()
    ->setFinder($finder)
;