kr0lik/php-cs-fixer

There is no license information available for the latest version (2.0.1) of this package.

Code style fixer

2.0.1 2025-04-30 15:22 UTC

This package is auto-updated.

Last update: 2025-05-04 20:58:27 UTC


README

A tool to automatically fix PHP Coding Standards

Installation

Run

composer require --dev kr0lik/php-cs-fixer

Copy rules:

cp ./vendor/kr0lik/php-cs-fixer/.php_cs.dist ./

More info: https://github.com/FriendsOfPHP/PHP-CS-Fixer

Develop:

docker pull composer:2.2.20

docker run -v .:/app --rm composer:2.2.20 composer install

docker run -v .:/app --rm composer:2.2.20 vendor/bin/php-cs-fixer fix

docker run -v .:/app --rm composer:2.2.20 vendor/bin/phpunit tests