codedruids / php-coding-standards
Collection of fixers/sniffs for coding standards that haven't made it into packages yet
Installs: 1 451
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1.0
- friendsofphp/php-cs-fixer: ^3.16
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
- PHP >= 8.1
- Composer
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.