An open API service indexing awesome lists of open source software.

https://github.com/25th-floor/php-cs-fixer-config

Provides the 25th-floor rule sets for friendsofphp/php-cs-fixer
https://github.com/25th-floor/php-cs-fixer-config

25-floor php-cs-fixer php-cs-fixer-config

Last synced: 2 months ago
JSON representation

Provides the 25th-floor rule sets for friendsofphp/php-cs-fixer

Awesome Lists containing this project

README

        

25th-floor php-cs-fixer-config
==============================

Provides multiple rule sets for [`friendsofphp/php-cs-fixer`](https://github.com/FriendsOfPHP/PHP-CS-Fixer).
This repository is based on [`localheinz/php-cs-fixer-config`](https://github.com/localheinz/php-cs-fixer-config).

Requirements
------------

PHP needs to be a minimum version of PHP 7.1.0.

Installation
------------

Run

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

Usage
-----

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

```php
in(__DIR__)
;

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