mentosmenno2/coding-standards

Menno van den Ende Coding Standards

Installs: 81

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:phpcodesniffer-standard

v1.0.5 2021-02-27 21:47 UTC

This package is auto-updated.

Last update: 2024-04-28 04:46:11 UTC


README

GitHub Actions status

Mentosmenno2 Coding Standards

Coding standards for multiple project types.

Installation

Add the repo to the project by adding this in the composer.json file.

"repositories": [
    {
        "url": "https://github.com/mentosmenno2/coding-standards.git",
        "type": "git"
    }
]

Install this dependency with composer.

composer require mentosmenno2/coding-standards --dev

Configuration

Open your phpcs configuration file (phpcs.xml.dist) and add the ruleset you want there.

There are multiple rulesets available for multiple type of projects.

<rule ref="Mentosmenno2-Laravel"/>
<rule ref="Mentosmenno2-WordPress"/>