Download the PHP package mediatis/coding-standards without Composer
On this page you can find all versions of the php package mediatis/coding-standards. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mediatis/coding-standards
More information about mediatis/coding-standards
Files in mediatis/coding-standards
Package coding-standards
Short Description Mediatis - Coding Standards
License GPL-2.0-or-later
Homepage https://www.mediatis.de
Informations about the package coding-standards
Code Quality Package
Installation
Make sure that you removed old code quality and pipeline configuration files or folders, e.g. rector.php
, .php-cs-fixer.php
, .phpstan
.
Make sure, your composer.json
does not have any dev-requirements on explicit code-quality packages (like phpunit/phpunit
, rector/rector
and so on).
Make sure your .gitignore
file includes the folder vendor
and the file composer.lock
.
Install the coding-standards package.
Run the kickstart script to install configuration files.
The files that are usually merged (mostly CI configuration) can be reset and overwritten with the argument reset
. The composer.json
is an exception; it is always merged.
Usage - Check
Run all checks:
Run group checks:
Run specific checks:
Usage - Fix
Run all fixes:
Run group fixes:
Run specific fixes:
All versions of coding-standards with dependencies
composer/semver Version ^3.4
ergebnis/composer-normalize Version ^2.28
friendsofphp/php-cs-fixer Version ^3.27
phpstan/phpstan Version ^1.10.27
phpunit/phpunit Version ^9.5
rector/rector Version 0.17.0
symfony/yaml Version ^5.3.6 || ^6.2.0