rshop/php-cs-fixer-config

Provides a configuration for friendsofphp/php-cs-fixer

Installs: 44 709

Dependents: 17

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/rshop/php-cs-fixer-config

v3.1.0 2025-07-29 11:16 UTC

README

This repository provides configurations for friendsofphp/php-cs-fixer.

Installation

Install the latest version using composer require --dev rshop/php-cs-fixer-config

Usage

Create a configuration file .php-cs-fixer.dist.php in the root of your project:

<?php

$config = new Rshop\CS\Config\Rshop();

$config->getFinder()->in(__DIR__);

return $config;

To modify configuration file use setRule method. To declare strict types use setStrict method.