ias/standards

This package is abandoned and no longer maintained. No replacement package was suggested.

Code quality standards.

5.0.0 2020-09-02 10:14 UTC

This package is auto-updated.

Last update: 2021-01-15 20:39:49 UTC


README

This library contains code fitness standards.

Installation

Open a command console, enter your project directory and execute:

$ composer require --dev ias/standards

Standards

JavaScript

  • .eslintrc.js: The IAS JavaScript coding standard.

PHP

  • phpcs.xml: Basic IAS coding standard.
  • phpcs-advanced.xml: The IAS advanced coding standard.
  • phpmd.xml: The IAS PHPMD ruleset.

Usage

Example:

vendor/bin/phpcs -s --standard=vendor/ias/standards/php/phpcs.xml src/ public/*.php *.php