susina/param-resolver

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "susina/param-resolver",
    "type": "library",
    "description": "Resolve parameters inside a configuration array",
    "license": "Apache-2.0",
    "authors": [
        {
            "name": "Cristiano Cinotti",
            "email": "cristianocinotti@gmail.com"
        }
    ],
    "require": {
        "php": ">=8.2"
    },
    "autoload": {
        "psr-4": {
            "Susina\\ParamResolver\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Susina\\ParamResolver\\Tests\\": "tests/"
        }
    },
    "require-dev": {
        "psalm/phar": "^5",
        "susina/coding-standard": "^2",
        "pestphp/pest": "^2"
    },
    "scripts": {
        "analytics": "php vendor/bin/psalm.phar",
        "check": [
            "@test",
            "@analytics",
            "@cs:fix"
        ],
        "coverage": "@test --coverage",
        "coverage:html": "@test --coverage-html coverage/",
        "coverage:clover": "@test --coverage-clover clover.xml",
        "cs:check": "php-cs-fixer fix -v --diff --dry-run",
        "cs:fix": "php-cs-fixer fix -v --diff",
        "test": "pest"
    },
    "scripts-descriptions": {
        "analytics": "Run static analysis tool",
        "check": "Perform all tests and analysis, required before submitting a pull request",
        "cs:check": "Run code style analysis, without fixing errors",
        "cs:fix": "Run code style analysis and fix errors",
        "coverage": "Show coverage report to the console",
        "coverage:html": "Create a code coverage report in html format, into the `coverage/` directory",
        "coverage:clover": "Create a code coverage report in xml format, into the `clover.xml` file",
        "test": "Run the test suite"
    },
    "config": {
        "allow-plugins": {
            "pestphp/pest-plugin": true
        }
    }
}