{
    "name": "wp-media/apply-filters-typed",
    "description": "Library for usage of WordPress filters in a safe-type way",
    "type": "library",
    "license": "GPL-3.0-or-later",
    "authors": [
        {
            "name": "WP Media",
            "email": "contact@wp-media.me"
        }
    ],
    "config": {
		"sort-packages": true,
		"allow-plugins": {
			"dealerdirect/phpcodesniffer-composer-installer": true,
			"phpstan/extension-installer": true
		}
	},
    "require-dev": {
        "phpcompatibility/phpcompatibility-wp": "^2.0",
        "phpstan/extension-installer": "^1.4",
        "szepeviktor/phpstan-wordpress": "^1.3",
        "wp-coding-standards/wpcs": "^3",
        "wp-media/phpunit": "^3"
    },
    "autoload": {
        "files": [
            "functions.php"
        ]
    },
    "autoload-dev": {
		"psr-4": {
			"WPMedia\\ApplyFiltersTyped\\Tests\\": "tests/"
		}
	},
    "scripts": {
        "phpcs": "phpcs --basepath=.",
        "phpstan": "vendor/bin/phpstan analyze --memory-limit=2G --no-progress",
        "test-unit": "\"vendor/bin/phpunit\" --testsuite unit --colors=always --configuration tests/Unit/phpunit.xml.dist --coverage-php tests/report/unit.cov",
        "test-integration": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --coverage-php tests/report/integration.cov",
        "run-tests": [
			"@test-unit",
			"@test-integration"
		],
		"report-code-coverage": "\"vendor/bin/phpcov\" merge tests/report --clover tests/report/coverage.clover"
    }
}
