Download the PHP package sadovnik/hexlet-psr-linter without Composer
On this page you can find all versions of the php package sadovnik/hexlet-psr-linter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package hexlet-psr-linter
PSR linter
This is a linter for PHP with aim to implement all possible PSR rules.
This project was originally started as part of Hexlet's traineeship, but actually developed a long time after. However the hexlet-
prefix remains unchanged.
Thanks to Roman Lakhtadyr for review. 🙏🏻
Installation
You can install the package globally:
composer global require sadovnik/hexlet-psr-linter
or locally:
composer require sadovnik/hexlet-psr-linter
If you're having trouble to run psr-linter
after global install, make sure Composer's global binary dir is in the $PATH
.
Usage
psr-linter [--fix] [--debug] <path>
psr-linter (-h | --help)
psr-linter --version
Example
psr-linter src/Symfony/Component/HttpKernel/Bundle/Bundle.php --fix
Roadmap
- [x] Initiate boilerplate
- [x] Function name rule
- [x] Directory support
- [ ] Variable name rule
- [x] «Either side-effects or definitions» rule
- [x] Autofix using
--fix
flag - [ ] JSON/YML output
- [ ] Make an interface for user rules
- [ ] Make a useful explanation of rules here in readme
- [ ] Make a friendly demo with cli usage
- [ ] Website with online linter
All versions of hexlet-psr-linter with dependencies
PHP Build Version
Package Version
Requires
docopt/docopt Version
^1.0
sadovnik/fs Version ^1.0
league/climate Version ^3.2
lstrojny/functional-php Version ^1.2
sadovnik/fs Version ^1.0
league/climate Version ^3.2
lstrojny/functional-php Version ^1.2
The package sadovnik/hexlet-psr-linter contains the following files
Loading the files please wait ....