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.
- PHP >= 8.1
- Composer
This is released as a Composer package, to install run the following command:
composer require codedruids/php-coding-standards
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)
Unless otherwise noted by individual fixers/sniffs, this package is licensed under the MIT license - see the LICENSE file for details.