{
    "name": "eclipxe/xmlresourceretriever",
    "description": "XSD and XLST resource downloader for local storage",
    "keywords": [],
    "homepage": "https://github.com/eclipxe13/XmlResourceRetriever",
    "license": "MIT",
    "authors": [
        {
            "name": "Carlos C Soto",
            "email": "eclipxe13@gmail.com",
            "homepage": "http://eclipxe.com.mx"
        }
    ],
    "require": {
        "php": ">=7.0",
        "ext-filter": "*",
        "ext-fileinfo": "*",
        "ext-dom": "*",
        "ext-xml": "*"
    },
    "require-dev": {
        "phpunit/phpunit": "^6.2|^7.0",
        "squizlabs/php_codesniffer": "^3.0",
        "friendsofphp/php-cs-fixer": "^2.4",
        "phpstan/phpstan": "^0.9|^0.10|^0.11|^0.12",
        "vimeo/psalm": "^3.8"
    },
    "autoload": {
        "psr-4": {
            "XmlResourceRetriever\\": "src/XmlResourceRetriever/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "XmlResourceRetrieverTests\\": "tests/XmlResourceRetrieverTests/"
        }
    },
    "scripts": {
        "dev:build": ["@dev:fix-style", "@dev:test"],
        "dev:check-style": [
            "vendor/bin/php-cs-fixer fix --dry-run --verbose",
            "vendor/bin/phpcs --colors -sp src/ tests/"
        ],
        "dev:fix-style": [
            "vendor/bin/php-cs-fixer fix --verbose",
            "vendor/bin/phpcbf --colors -sp src/ tests/"
        ],
        "dev:test": [
            "@dev:check-style",
            "vendor/bin/phpunit --testdox --verbose --stop-on-failure",
            "vendor/bin/phpstan analyse --no-progress --verbose --level max src/ tests/",
            "vendor/bin/psalm --no-progress"
        ],
        "dev:coverage": [
            "@php -dzend_extension=xdebug.so vendor/bin/phpunit --coverage-text --coverage-html build/coverage/html/"
        ]
    },
    "scripts-descriptions": {
        "dev:build": "DEV: run dev:fix-style dev:tests and dev:docs, run before pull request",
        "dev:check-style": "DEV: search for code style errors using php-cs-fixer and phpcs",
        "dev:fix-style": "DEV: fix code style errors using php-cs-fixer and phpcbf",
        "dev:test": "DEV: dev:check-style, phpunit and phpstan",
        "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/"
    }
}
