Aeliot-Tm/php-cs-fixer-baseline

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "aeliot/php-cs-fixer-baseline",
    "type": "library",
    "description": "Baseline for PHP CS Fixer",
    "license": "MIT",
    "authors": [
        {
            "name": "Anatoliy Melnikov",
            "email": "5785276@gmail.com"
        }
    ],
    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "php": "^8.2",
        "ext-mbstring": "*",
        "friendsofphp/php-cs-fixer": "^3.50"
    },
    "require-dev": {
        "dg/bypass-finals": "^1.7",
        "phpstan/extension-installer": "^1.3",
        "phpstan/phpstan": "^1.11",
        "phpstan/phpstan-phpunit": "^1.4",
        "phpunit/phpunit": "^11.1"
    },
    "autoload": {
        "psr-4": {
            "Aeliot\\PhpCsFixerBaseline\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Aeliot\\PhpCsFixerBaseline\\Test\\": "tests/"
        }
    },
    "bin": [
        "bin/pcsf-baseline"
    ],
    "config": {
        "allow-plugins": {
            "composer/*": true,
            "phpstan/extension-installer": true
        },
        "sort-packages": true
    },
    "keywords": [
        "PHP CS Fixer",
        "baseline"
    ],
    "scripts": {
        "build": [
            "php scripts/box/prepare-config.php",
            "tools/box.phar compile --config=scripts/box/config.json"
        ],
        "cs-check": "@cs-fixer-check",
        "cs-fix": "@cs-fixer-fix",
        "cs-fixer-check": "@cs-fixer-fix --dry-run",
        "cs-fixer-fix": "vendor/bin/php-cs-fixer fix -vv --config=scripts/php-cs-fixer/config.php",
        "phive-install": "phive install --trust-gpg-keys $(cat .phive/trust-gpg-keys.txt)",
        "phpstan": [
            "@phpstan-clear",
            "@phpstan-analyse"
        ],
        "phpstan-analyse": "vendor/bin/phpstan analyse -c scripts/phpstan/config.neon --memory-limit=-1",
        "phpstan-baseline": [
            "@phpstan-clear",
            "@phpstan-analyse --generate-baseline scripts/phpstan/baseline.neon --allow-empty-baseline"
        ],
        "phpstan-clear": "vendor/bin/phpstan clear-result-cache",
        "phpunit": "vendor/bin/phpunit -c scripts/phpunit/config.xml"
    }
}