mediatis/coding-standards

This package is abandoned and no longer maintained. No replacement package was suggested.

Mediatis - Coding Standards

Maintainers

Package info

github.com/mediatis/coding-standards

Homepage

pkg:composer/mediatis/coding-standards

Transparency log

Statistics

Installs: 12 024

Dependents: 16

Suggesters: 0

Stars: 0

Open Issues: 0

2.5.0 2026-04-27 13:13 UTC

README

Warning

This package is deprecated and no longer maintained. Existing consumers keep working, but no further development is planned. New packages should not be scaffolded by it.

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.

vendor
composer.lock

Install the coding-standards package.

composer require --dev --with-all-dependencies mediatis/coding-standards

Run the kickstart script to install configuration files.

./vendor/bin/mediatis-coding-standards-setup

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.

./vendor/bin/mediatis-coding-standards-setup reset

Usage - Check

Run all checks:

composer ci

Run group checks:

# all php tests and code quality checks
composer ci:php

# all php tests
composer ci:php:tests

# all php code quality checks
composer ci:php:static

# all composer-related checks
composer ci:composer

Run specific checks:

composer ci:composer:normalize
composer ci:composer:psr-verify
composer ci:composer:validate
composer ci:php:lint
composer ci:php:rector
composer ci:php:cs-fixer
composer ci:php:stan
composer ci:php:tests:unit
composer ci:php:tests:integration

Usage - Fix

Run all fixes:

composer fix

Run group fixes:

composer fix:php
composer fix:composer

Run specific fixes:

composer fix:php:rector
composer fix:php:cs
composer fix:composer:normalize