twentyfifth / php-cs-fixer-config
Provides the 25th-floor configuration for friendsofphp/php-cs-fixer.
1.0.0
2019-08-05 09:21 UTC
Requires
- php: ^7.1
- friendsofphp/php-cs-fixer: ^2.15
Requires (Dev)
- jangregor/phpstan-prophecy: ^0.4.1
- phpstan/phpstan: ^0.11.8
- phpstan/phpstan-deprecation-rules: ^0.11.2
- phpstan/phpstan-strict-rules: ^0.11.1
- phpunit/phpunit: ^8.2
This package is auto-updated.
Last update: 2025-04-05 22:25:56 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) ;