codedruids/php-coding-standards

Collection of fixers/sniffs for coding standards that haven't made it into packages yet

0.2.0 2023-04-24 08:45 UTC

This package is auto-updated.

Last update: 2024-11-24 12:08:36 UTC


README

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.