php-parallel-lint / php-code-style
PHP_CodeSniffer rules for projects in the PHP Parallel Lint organisation
Installs: 7 244
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:phpcodesniffer-standard
Requires
Replaces
This package is auto-updated.
Last update: 2024-11-20 10:29:54 UTC
README
Basic, PSR-12 based, coding standard for use by projects in the PHP Parallel Lint GitHub organisation.
Installation
Install this standard via Composer:
composer require --dev php-parallel-lint/php-code-style
Using the standard
Once installed for a project, use this standard via the command-line:
vendor/bin/phpcs . --standard=PHPParallelLint
Or use the standard in a project specific PHPCS ruleset:
<?xml version="1.0"?> <ruleset name="Project Name"> <rule ref="PHPParallelLint"/> </ruleset>