susina/psr2-code-generator

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "susina/psr2-code-generator",
    "description" : "Toolset for generating PHP code following PSR-2 standard",
    "type": "library",
    "license": "Apache-2.0",
    "authors": [
        {
            "name": "Cristiano Cinotti",
            "email": "cristianocinotti@gmail.com"
        },
        {
        "name": "Thomas Gossmann",
        "homepage": "http://gos.si"
        }
    ],
    "keywords": [
        "code generation", "PSR-2"
    ],
    "autoload": {
        "psr-4": {
            "Susina\\Codegen\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Susina\\Codegen\\Tests\\": "tests/"
        }
    },
    "require": {
        "php" : ">=7.2",
        "gossi/docblock" : "^2.0",
        "symfony/options-resolver" : "^4|^5",
        "phootwork/lang": "^2.0",
        "phootwork/collection": "^2.0"
    },
    "require-dev" : {
        "phpunit/phpunit": "^8.3",
        "susina/coding-standard": "^1.0",
        "psalm/phar": "^4.3"
    },
    "scripts": {
        "analytics": "vendor/bin/psalm.phar",
        "check": [
            "@test",
            "@analytics",
            "@cs-fix"
        ],
        "coverage:html": "@test --coverage-html coverage/",
        "coverage:clover": "@test --coverage-clover clover.xml",
        "cs": "php-cs-fixer fix -v --diff --dry-run",
        "cs-fix": "php-cs-fixer fix -v --diff",
        "test": "phpunit --colors=always"
    },
    "scripts-descriptions": {
        "analytics": "Run static analysis tool",
        "check": "Perform all tests and analysis, required before submitting a pull request",
        "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",
        "cs": "Run code style analysis, without fixing errors",
        "cs-fix": "Run code style analysis and fix errors",
        "test": "Run all tests"
    }
}