2017 © Pedro Peláez
 

library coding-standards

Coding standard definition files used by outer/edge.

image

outeredge/coding-standards

Coding standard definition files used by outer/edge.

  • Friday, August 4, 2017
  • by outeredge
  • Repository
  • 1 Watchers
  • 0 Stars
  • 457 Installations
  • 16 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

outer/edge Coding Standards

This repository contains the coding standards used by outer/edge with rules for:, (*1)

  • PHPCS

Install

composer require --dev outeredge/dev-dependencies, (*2)

Then you can add the outer/edge coding standard to your phpcs.xml, i.e. for Magento 2:, (*3)

<?xml version="1.0"?>
<ruleset>
    ...
    <rule ref="vendor/outeredge/dev-dependencies/phpcs-magento.xml" />
    <file>app/code/...</file>
    <file>app/design/frontend/...</file>
    ...
</ruleset>
</xml>

Running PHPCS tests

$ phpcs, (*4)

Running PHPCS code fixer

$ phpcbf, (*5)

The Versions

04/08 2017

dev-master

9999999-dev https://github.com/outeredge/coding-standards

Coding standard definition files used by outer/edge.

  Sources   Download

MIT

04/08 2017

1.0.0

1.0.0.0 https://github.com/outeredge/coding-standards

Coding standard definition files used by outer/edge.

  Sources   Download

MIT