Skip to content

Bellangelo/coding-standard

Repository files navigation

Bellangelo Coding Standards

Bellangelo Coding Standard for PHP_CodeSniffer provides sniffs that fall into one category ( for now ):

  • Formatting - rules for consistent code looks

How to install

composer require bellangelo/coding-standard --dev

Alphabetical list of sniffs

🔧 = Automatic errors fixing

Bellangelo.Naming.AvoidNumberedVariableNames

Variables must not end in a number. This forces developers to use more descriptive names.

Bellangelo.Naming.DuplicateWordInNaming 🔧

Class names should not contain duplicate words. This sniff will check for class names that contain the same word twice and remove any duplicates.

Bellangelo.Naming.SingularClassName 🔧

Class names should be singular. This sniff will check for class names that are plural and change them to singular.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages