Download the PHP package mollie/php-coding-standards without Composer
On this page you can find all versions of the php package mollie/php-coding-standards. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mollie/php-coding-standards
More information about mollie/php-coding-standards
Files in mollie/php-coding-standards
Package php-coding-standards
Short Description Contains PHP coding standards like rules for PHP-CS-Fixer that serves for purpose of standardization.
License BSD-2-Clause
Informations about the package php-coding-standards
Mollie PHP Coding Standards
Contains PHP coding standards like rules for PHP-CS-Fixer that serves for purpose of standardization.
Installation
Usage
This package makes use of PHP-CS-Fixer.
Already familiar with PHP-CS-Fixer
This package provides default rules to be used with PHP-CS-Fixer.
You can find them in Mollie\PhpCodingStandards\PhpCsFixer\Rules
which has methods specific to php version,
which you can directly use in the ->setRules()
part of your config. For example, assuming PHP version 8.3:
New to PHP-CS-Fixer
Place a file named .php-cs-fixer.dist.php
that has the following content in your project's root directory.
Manual Triggering
Run following command in your project directory, that will run fixer for every .php
file.
Use via PhpStorm file watcher
Please follow official PhpStorm documentation
Use via pre-commit git hook
Place a file with the content of the following bash script into .git/hooks
directory called pre-commit and make it executable
you can find more details about git hooks on official git manual.
Working at Mollie
Mollie is always looking for new talent to join our teams. We’re looking for inquisitive minds with good ideas and strong opinions, and, most importantly, who know how to ship great products. Want to join the future of payments? Check out our vacancies.
License
BSD (Berkeley Software Distribution) License. Copyright (c) 2023, Mollie B.V.