library php-cs-fixer-config
Shared configuration for friendsofphp/php-cs-fixer for TU Media
tumedia/php-cs-fixer-config
Shared configuration for friendsofphp/php-cs-fixer for TU Media
- Wednesday, March 14, 2018
- by kalfheim
- Repository
- 6 Watchers
- 1 Stars
- 5 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
php-cs-fixer-config
Shared friendsofphp/php-cs-fixer configuration for TU Media., (*1)
Local Setup
Install this package globally:, (*2)
$ composer global require tumedia/php-cs-fixer-config
Since this package requires friendsofphp/php-cs-fixer, the php-cs-fixer CLI will now be available., (*3)
Per-Project Setup
.php_cs
Put a .php_cs file in your project root:, (*4)
``` php
<?php, (*5)
return Tumedia\CS\Config::tap(function ($config) {
$config->getFinder()->in(DIR)->exclude(['directory-to-exclude']);
});
```, (*6)
Pro-Tip: Add .php_cs.cache to your .gitignore file, (*7)
Running the fixer
$ php-cs-fixer fix
dev-master
9999999-dev
Shared configuration for friendsofphp/php-cs-fixer for TU Media
Sources
Download
MIT
The Requires
The Development Requires
by
Kristoffer Alfheim
v1.0.1
1.0.1.0
Shared configuration for friendsofphp/php-cs-fixer for TU Media
Sources
Download
MIT
The Requires
The Development Requires
by
Kristoffer Alfheim
v1.0.0
1.0.0.0
Shared configuration for friendsofphp/php-cs-fixer for TU Media
Sources
Download
MIT
The Requires
by
Kristoffer Alfheim