twentyfifth/php-cs-fixer-config

Provides the 25th-floor configuration for friendsofphp/php-cs-fixer.

1.0.0 2019-08-05 09:21 UTC

This package is auto-updated.

Last update: 2024-04-05 20:31:08 UTC


README

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)
;