{
    "name": "bircher/php-merge",
    "type": "library",
    "description": "A PHP merge utility using the Diff php library or the command line git.",
    "keywords": ["git", "merge", "php-merge"],
    "homepage": "https://github.com/bircher/php-merge",
    "license": "MIT",
    "authors": [
        {
            "name": "Fabian Bircher",
            "email": "opensource@fabianbircher.com"
        }
    ],
    "require": {
        "php": ">=7.3",
        "sebastian/diff": "^2.0|^3.0|^4.0"
    },
    "require-dev": {
        "symplify/git-wrapper": "^9.1|^10.0",
        "phpunit/phpunit": "~6|~7|~8|~9",
        "squizlabs/php_codesniffer": "~3",
        "phpstan/phpstan": "~1",
        "escapestudios/symfony2-coding-standard": "^3.5",
        "phpstan/phpstan-deprecation-rules": "^1.0"
    },
    "autoload": {
        "psr-0": {
            "PhpMerge": "src/"
        }
    },
    "scripts": {
        "fix-grumphp": [
            "if [ -f .git/hooks/pre-commit ]; then sed -i 's+/var/www/html/vendor/bin+./vendor/bin+g' .git/hooks/pre-commit; fi",
            "if [ -f .git/hooks/pre-push ]; then sed -i 's+/var/www/html/vendor/bin+./vendor/bin+g' .git/hooks/pre-push; fi",
            "if [ -f .git/hooks/commit-msg ]; then sed -i 's+/var/www/html/vendor/bin+./vendor/bin+g' .git/hooks/commit-msg; fi"
        ],
        "post-install-cmd": [
            "@fix-grumphp"
        ]
    }
}
