Skip to content

lintkit/php-coding-standards-config

Repository files navigation

LintKit: PHP Coding Standards Config

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages