silverstripe/standards

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

1.2.2 2024-12-19 23:33 UTC

This package is auto-updated.

Last update: 2024-12-19 23:37:06 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