silverstripe/standards

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

1.0.0 2024-01-30 01:57 UTC

This package is auto-updated.

Last update: 2024-03-27 01:07:35 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