{
    "name": "eclipxe/xmlschemavalidator",
    "description": "PHP Library for XML Schema Validations",
    "keywords": ["xml", "xsd", "validation", "xmlschema"],
    "homepage": "https://github.com/eclipxe13/XmlSchemaValidator",
    "license": "MIT",
    "authors": [
        {
            "name": "Carlos C Soto",
            "email": "eclipxe13@gmail.com",
            "homepage": "https://eclipxe.com.mx/"
        }
    ],
    "support": {
        "source": "https://github.com/eclipxe13/XmlSchemaValidator",
        "issues": "https://github.com/eclipxe13/XmlSchemaValidator/issues"
    },
    "require": {
        "php": ">=7.3",
        "ext-dom": "*",
        "ext-libxml": "*"
    },
    "require-dev": {
        "phpunit/phpunit": "^9.5.5"
    },
    "autoload": {
        "psr-4": {
            "Eclipxe\\XmlSchemaValidator\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Eclipxe\\XmlSchemaValidator\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "dev:build": ["@dev:fix-style", "@dev:test"],
        "dev:check-style": [
            "@php tools/php-cs-fixer fix --dry-run --verbose",
            "@php tools/phpcs --colors -sp"
        ],
        "dev:fix-style": [
            "@php tools/php-cs-fixer fix --verbose",
            "@php tools/phpcbf --colors -sp"
        ],
        "dev:test": [
            "@dev:check-style",
            "@php vendor/bin/phpunit --testdox --verbose --stop-on-failure",
            "@php tools/phpstan analyse --no-progress",
            "@dev:infection"
        ],
        "dev:coverage": [
            "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --verbose --coverage-html build/coverage/html/"
        ],
        "dev:infection": [
            "@php tools/infection --initial-tests-php-options='-dzend_extension=xdebug.so -dxdebug.mode=coverage' --show-mutations --no-progress"
        ]
    },
    "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: run dev:fix-style, dev:check-style, phpunit, phpstan and infection",
        "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/",
        "dev:infection": "DEV: run mutation tests using infection"
    }
}
