Download the PHP package mayesto/csl without Composer
On this page you can find all versions of the php package mayesto/csl. 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 csl
Mayesto CSL
This pack was designed for more accurate checking of files
Install
composer global require mayesto/csl
ln -s ~/.composer/vendor/bin/csl /usr/bin
Usage
Check command
csl check ./src --yaml=./config.yml
RunOptions:
--format=value Output format. Possible values: table, json
--yaml=filepath Select config file in yaml format
-s|--short Short file path on result
-vvv Debug mode
Features
- Full configurable stock of rules
- Full configurable source of files. Options: Scanning dir, Git modified files
Rules
- ClassAuthorPattern - Check class author with your regex
- ClassAuthorRequire - Require minimum one class author
- ClassMethodPhpDoc - Check if method has php doc
- ClassMethodPhpDocEmptyLineBeforeReturn - Check if method's php doc has invalid empty line
- ClassPhpDoc - Check if class has php doc
- ClassPhpDocPropertyRequire - Check if class's php doc has a property
- InternalFunctionNamespace - Find all call of native functions and check if they have fully namespace
- MethodReturnTypeRequire - Find all methods which have not return type cast
- ParserValidation - Basic parser validation
- TooMuchEmptyLines - Scan file and report too much empty lines
- EmptyLineOnEndOfFile - Check if file has empty line on end of file
Config file
At this moment file config is supported only in yaml format!
Example of file:
License
- MIT
Author
This pack was made by Mayesto. If you have any question, send me an email. [email protected]
All versions of csl with dependencies
PHP Build Version
Package Version
Requires
php Version
>7.0
symfony/console Version ^4.1
nikic/php-parser Version ^4.0
symfony/config Version ^4.1
symfony/yaml Version ^4.1
psr/log Version ^1.0
league/pipeline Version ^1.0
monolog/monolog Version ^1.23
symfony/console Version ^4.1
nikic/php-parser Version ^4.0
symfony/config Version ^4.1
symfony/yaml Version ^4.1
psr/log Version ^1.0
league/pipeline Version ^1.0
monolog/monolog Version ^1.23
The package mayesto/csl contains the following files
Loading the files please wait ....