supportpal/coding-standard

SupportPal PHP coding standard.

v0.4.4 2023-03-09 12:36 UTC

This package is auto-updated.

Last update: 2024-12-09 16:41:38 UTC


README

SupportPal PHPCS coding standard.

Installation

composer require supportpal/coding-standard --dev

Usage

Default ruleset

phpcs standard=vendor/supportpal/coding-standard .

Custom ruleset

Create a phpcs.xml file:

<?xml version="1.0"?>
<ruleset name="CustomSupportPal">
    <description>Custom PHPCS config based on the SupportPal coding standard.</description>

    <rule ref="vendor/supportpal/coding-standard" />
</ruleset>