php-parallel-lint/php-code-style

PHP_CodeSniffer rules for projects in the PHP Parallel Lint organisation

Installs: 6 646

Dependents: 3

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 1

Type:phpcodesniffer-standard

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

This package is auto-updated.

Last update: 2024-04-24 17:51:37 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>