MyOnlineStore Coding Standard 👮🏼‍♂️
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
MyOnlineStore
.gitignore
LICENSE
README.md
composer.json

README.md

MyOnlineStore Coding Standard

Install

Install the package with composer:

composer require myonlinestore/coding-standard

Add the ruleset to your phpcs.xml.dist file:

<?xml version="1.0"?>
<ruleset
        name="MyOnlineStore"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
>
    <rule ref="vendor/myonlinestore/coding-standard/MyOnlineStore/ruleset.xml"/>
</ruleset>