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: about 2 months ago
JSON representation
Provides the 25th-floor rule sets for friendsofphp/php-cs-fixer
- Host: GitHub
- URL: https://github.com/25th-floor/php-cs-fixer-config
- Owner: 25th-floor
- License: mit
- Created: 2019-08-05T09:03:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-05T09:25:38.000Z (almost 7 years ago)
- Last Synced: 2026-01-01T14:38:00.175Z (6 months ago)
- Topics: 25-floor, php-cs-fixer, php-cs-fixer-config
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
;
```