Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.2 KB

README.MD

File metadata and controls

32 lines (21 loc) · 1.2 KB

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.