rich-id/autoconfigure-bundle

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "rich-id/autoconfigure-bundle",
    "description": "Create easy autoconfigurations with annotations to add tag to a service, inject service and arguments, or decorate another service",
    "type": "symfony-bundle",
    "license": "MIT",
    "authors": [
        {
            "name": "RichId",
            "homepage": "https://www.rich-id.com"
        }
    ],
    "support": {
        "email": "contact@rich-id.com",
        "source": "https://github.com/rich-id/autoconfigure-bundle",
        "docs": "https://github.com/rich-id/autoconfigure-bundle/blob/master/README.md",
        "issues": "https://github.com/rich-id/autoconfigure-bundle/issues"
    },
    "require": {
        "php": "^7.3 || ^8.0",
        "doctrine/annotations": "^1.0",
        "richcongress/bundle-toolbox": "^1.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^9.5",
        "richcongress/static-analysis": "^0.1",
        "richcongress/test-suite": "^0.1",
        "roave/security-advisories": "dev-latest"
    },
    "autoload": {
        "psr-4": {
            "RichId\\AutoconfigureBundle\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "RichId\\AutoconfigureBundle\\Tests\\": "tests/"
        }
    },
    "config": {
        "discard-changes": true,
        "sort-packages": true
    },
    "scripts": {
        "post-install-cmd": [
            "[ $COMPOSER_DEV_MODE -eq 0 ] || cghooks add --ignore-lock"
        ],
        "post-update-cmd": [
            "[ $COMPOSER_DEV_MODE -eq 0 ] || cghooks update"
        ]
    },
    "extra": {
        "hooks": {
            "pre-commit": [
                "./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix"
            ],
            "pre-push": [
                "./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --dry-run",
                "./vendor/richcongress/static-analysis/bin/static_analysis"
            ]
        }
    }
}