lintkit / php-coding-standards-config
Installs: 2 343
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- friendsofphp/php-cs-fixer: ^3.57
README
Liquid Light base configuration for PHP
Usage
Install the dependency:
composer require --dev lintkit/php-coding-standards-config
Add the scripts:
"scripts": { "lint:php:cs-fixer:fix": "php-cs-fixer fix --config vendor/lintkit/php-coding-standards-config/.php-cs-fixer.php -v --diff", "lint:php:cs-fixer": "@lint:php:cs-fixer:fix --dry-run" },
Add to .gitignore
.cache
TYPO3
If using LintKit with TYPO3, you can require .typo3.php-cs-fixer.php
of .php-cs-fixer.php
to exclude TYPO3-related directories