php-parallel-lint/php-code-style

PHP_CodeSniffer rules for projects in the PHP Parallel Lint organisation

Maintainers

👁 grogy
👁 jrfnl

Package info

github.com/php-parallel-lint/PHP-Code-Style

Type:phpcodesniffer-standard

pkg:composer/php-parallel-lint/php-code-style

Statistics

Installs: 14 710

Dependents: 3

Suggesters: 0

Stars: 1

Open Issues: 2

v2.0.1 2024-04-09 07:34 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

MIT 4f26f7fbe4d4a3b2d350b1fc688aba5d2362fe7a


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>