Skip to content

Custom Coding Standard for Magento 2 Extensions Made by Milople

Notifications You must be signed in to change notification settings

faizanjaliyawala/milople-coding-standard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Custom Coding Standard for Magento 2 Extensions Made by Milople

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages