Download the PHP package gigadrive/php-coding-standard without Composer
On this page you can find all versions of the php package gigadrive/php-coding-standard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gigadrive/php-coding-standard
More information about gigadrive/php-coding-standard
Files in gigadrive/php-coding-standard
Package php-coding-standard
Short Description The PHP Coding Standard for Gigadrive projects - Integrates with PHP CS Fixer
License MIT
Homepage https://github.com/Gigadrive/php-coding-standard
Informations about the package php-coding-standard
Gigadrive's PHP Coding Standard
This repository holds the coding standard used for Gigadrive PHP projects. It is available to the public and licensed under the MIT License.
The coding standard was made to be used with the PHP CS Fixer tool for easy IDE and CI pipeline integrations.
Installation
You will need to install both PHP CS Fixer and the Gigadrive coding standard with composer:
Usage
Next, create a .php-cs-fixer.dist.php file at your project root:
Your project will now use the Gigadrive PHP Coding Standard by default.
IMPORTANT: This coding standard contains rules that are considered risky by PHP CS Fixer. Use them at your own risk. To prevent unintended damage, the risky flag is disabled by default. You can adjust your config file to enable it, or pass the --allow-risky=yes option to the command line.
$configis a PHP CS Fixer Config object you can use according to the PHP CS Fixer documentation. You can use this to adjust the coding standard rules to your liking.
Copyright and License
This program was developed by Mehdi Baaboura and published by Gigadrive UG under the MIT License. For more information click here.