Download the PHP package blumilksoftware/codestyle without Composer
On this page you can find all versions of the php package blumilksoftware/codestyle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download blumilksoftware/codestyle
More information about blumilksoftware/codestyle
Files in blumilksoftware/codestyle
Package codestyle
Short Description Blumilk codestyle configurator
License MIT
Informations about the package codestyle
blumilksoftware/codebase
A common codestyle helper for all Blumilk projects.
Usage
Add package to our project:
Then run following to create configuration file and add scripts to the composer.json
file:
Or you can create codestyle.php
file in your project's root directory:
Configuration
You can configure paths and rules in Config
class constructor:
Or:
Or:
Usage with Composer
Add scripts to your composer.json
file:
Then run following command to check codestyle:
or following to fix found errors:
Additional configuration
If you want to disable risky rules, you can add withoutRiskyFixers
method to the config file:
If you want to enable ignoring marked file, you can add ignoreMarkedFiles
method to the config file:
and then add // php-cs-fixer:ignore-file
to the file which you want to ignore.
Upgrading guide
Upgrading guide is available in upgrading.md file.
Contributing
In cloned or forked repository, run:
There are scripts available for package codestyle checking and testing:
Command | Description |
---|---|
composer cs |
Runs codestyle against the package itself |
composer csf |
Runs codestyle with fixer enabled against the package itself |
composer test |
Runs all test cases |
composer unit |
Runs tests for package features |
composer e2e |
Runs tests for codestyle rules |
There is also the Docker Compose configuration available:
There are also Makefile commands available:
Please maintain our project guidelines:
- keep issues well described, labeled and in English,
- add issue number to all your commits,
- add issue number to your branch name,
- squash your commits into one commit with standardized name.
All versions of codestyle with dependencies
friendsofphp/php-cs-fixer Version ^3.59
kubawerlos/php-cs-fixer-custom-fixers Version ^3.21