Skip to content

A collection of fixers/sniffs to the support PHP coding standards that haven't made their way into packages yet.

License

Notifications You must be signed in to change notification settings

CodeDruids/php-coding-standards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Code Standards

A collection of fixers/sniffs to support PHP coding standards that haven't made their way into packages yet, bundled as a Composer package.

If/when they are made into official releases from the original authors, they should be deprecated here with an appropriate link to update to the official release.

Namespaces adhere as closely to the origin/author's naming conventions as possible.

Requirements

Installation

This is released as a Composer package, to install run the following command:

composer require codedruids/php-coding-standards

Current packages

  • LaravelPhpdocAlignmentFixer
    PHPDoc space alignment fixer for conforming with Laravel coding standards.
    Origin: laravel/pint (@nunomaduro)
  • NoUnusedImportsFixer (variant)
    Variant of PHP-CS-Fixer which adds 'treat_same_namespace_as_unused' parameter
    Origin: arnaud-lb/PHP-CS-Fixer (@arnaud-lb)

License

Unless otherwise noted by individual fixers/sniffs, this package is licensed under the MIT license - see the LICENSE file for details.

About

A collection of fixers/sniffs to the support PHP coding standards that haven't made their way into packages yet.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages