Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 652 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 652 Bytes

Milople Coding Standard

A set of PHP_CodeSniffer rules for Extensions developed for Milople Technologies.

Installation within a Magento 2 site

To use within your Magento 2 project you can use:

composer require --dev faizanjaliyawala/milople-coding-standard

Verify installation

Command should return the list of installed coding standards including MCS.

vendor/bin/phpcs -i

Usage

Once installed, you can run phpcs from the command-line to analyze your code MyAwesomeExtension

vendor/bin/phpcs --standard=MCS app/code/Milople/MyAwesomeExtension