mentosmenno2/coding-standards

Menno van den Ende Coding Standards

Installs: 94

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:phpcodesniffer-standard

v1.2.0 2024-11-15 22:11 UTC

This package is auto-updated.

Last update: 2024-11-15 22:11:45 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"/>