silverstripe/standards

A set of coding standards which are applied to all commercially supported Silverstripe CMS modules

1.2.1 2024-08-06 03:24 UTC

This package is auto-updated.

Last update: 2024-10-06 11:09:19 UTC


README

This repository contains some dependencies, custom rules, and predefined rulesets which are used to help maintain coding standards for Silverstripe CMS commercially supported modules.

Installation

To use this extension, require it in Composer:

composer require --dev silverstripe/standards

If you also install phpstan/extension-installer then you're all set!

Manual installation

If you don't want to use phpstan/extension-installer, include rules.neon in your project's PHPStan config:

includes:
    - vendor/silverstripe/standards/rules.neon