{
    "name": "posinfor/magilarmes-backoffice-documental",
    "description": "Backoffice documental e Portal do Cliente da Magilarmes.",
    "type": "project",
    "license": "proprietary",
    "require": {
        "php": "^8.2",
        "ext-json": "*",
        "open-telemetry/api": "^1.0",
        "open-telemetry/exporter-otlp": "^1.0",
        "open-telemetry/sdk": "^1.0",
        "php-http/guzzle7-adapter": "^1.0",
        "sentry/sentry": "^4.0"
    },
    "require-dev": {
        "php-parallel-lint/php-parallel-lint": "^1.4",
        "phpstan/phpstan": "^2.1",
        "phpunit/phpunit": "^11.5"
    },
    "autoload-dev": {
        "psr-4": {
            "Magilarmes\\Tests\\": "tests/"
        }
    },
    "config": {
        "allow-plugins": {
            "php-http/discovery": true
        },
        "optimize-autoloader": true,
        "platform": {
            "php": "8.2.33"
        },
        "sort-packages": true
    },
    "scripts": {
        "lint:php": "parallel-lint --exclude vendor --exclude node_modules --exclude tmp --exclude reports --exclude coverage .",
        "analyse": "phpstan analyse --no-progress --memory-limit=1G",
        "test:unit": "phpunit --testsuite unit",
        "test:integration": "phpunit --testsuite integration",
        "test:coverage": "phpunit --coverage-clover coverage/php-clover.xml",
        "quality": [
            "@lint:php",
            "@analyse",
            "@test:unit",
            "@test:integration"
        ]
    }
}
