php-parallel-lint/php-code-style

PHP_CodeSniffer rules for projects in the PHP Parallel Lint organisation

Installs: 2 384

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 2

Open Issues: 0

Type:phpcodesniffer-standard

v2.0 2021-12-18 02:45 UTC

This package is auto-updated.

Last update: 2021-12-25 06:35:31 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>