jrmajor / cs
My PHP-CS-Fixer configuration
Installs: 20 844
Dependents: 4
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- php: 8.2 - 8.4
- friendsofphp/php-cs-fixer: ^3.64
- kubawerlos/php-cs-fixer-custom-fixers: ^3.22
Requires (Dev)
- dev-master
- v0.6.1
- v0.6.0
- v0.5.6
- v0.5.5
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.6
- v0.4.5
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.1
- v0.1.0
- dev-dependabot/composer/composer-4b43121b44
- dev-dependabot/composer/composer-60444700d6
- dev-dependabot/composer/php-cs-fixer-1fdc2ed6db
- dev-chore
This package is auto-updated.
Last update: 2025-01-01 10:07:07 UTC
README
My personal PHP-CS-Fixer configuration, used in all of my PHP projects.
Install it via Composer: composer require jrmajor/cs
and use Major\CS\config()
function in .php-cs-fixer.php
:
<?php $finder = PhpCsFixer\Finder::create() ->in(__DIR__) ->notPath('bootstrap/cache') ->notPath('node_modules') ->notPath('storage') ->notName('*.blade.php') ->notName('_ide_helper*.php') ->ignoreVCSIgnored(true); return Major\CS\config($finder, ['overwritten_rule' => false]);
Don't forget to add .php-cs-fixer.cache
to .gitignore
!