Download the PHP package sirix/php-cs-fixer-config without Composer
On this page you can find all versions of the php package sirix/php-cs-fixer-config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sirix/php-cs-fixer-config
More information about sirix/php-cs-fixer-config
Files in sirix/php-cs-fixer-config
Package php-cs-fixer-config
Short Description Sirix PHP coding standards fixer configuration.
License MIT
Informations about the package php-cs-fixer-config
Wrapper with pre-defined rules around the PHP-CS-Fixer package - A tool to automatically fix PHP Coding Standards issues.
Installation
Using Composer
The recommended way to install PHP CS Fixer is to use Composer in a dedicated composer.json file in your project, for example in the tools/php-cs-fixer directory:
-
Create a new tools/php-cs-fixer directory:
- Install via composer:
Configuration
-
Create PHP file and name it
.php-cs-fixer.dist.php
and place it inside root directory of project. It will be recognized by PHP CS Fixer automatically. - Contents of file should look like this:
or, you can add additional rules to the configuration file:
- Place
.php-cs-fixer.cache
file into.gitignore
Usage/Examples
-
Fix coding standards:
-
Check coding standards without applying the fix:
- Examine the proposed changes:
Documentation
-
Full documentation about all fixers are available here - PHP-CS-Fixer configuration UI
- The official PHP-CS-Fixer documentation
All versions of php-cs-fixer-config with dependencies
friendsofphp/php-cs-fixer Version ^3.52
gordinskiy/line-length-checker Version ^0.0.2
pedrotroller/php-cs-custom-fixer Version ^2.33