{
    "name": "php-stubs/wordpress-stubs",
    "description": "WordPress function and class declaration stubs for static analysis.",
    "license": "MIT",
    "keywords": [
        "wordpress",
        "static analysis",
        "phpstan"
    ],
    "homepage": "https://github.com/php-stubs/wordpress-stubs",
    "require-dev": {
        "php": "~7.3 || ~8.0",
        "nikic/php-parser": "< 4.12.0",
        "php-stubs/generator": "^0.8.1",
        "phpdocumentor/reflection-docblock": "^5.3",
        "phpstan/phpstan": "^1.2"
    },
    "replace": {
        "giacocorsiglia/wordpress-stubs": "*"
    },
    "suggest": {
        "paragonie/sodium_compat": "Pure PHP implementation of libsodium",
        "symfony/polyfill-php73": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions",
        "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan"
    },
    "minimum-stability": "stable",
    "config": {
        "allow-plugins": {
            "php-stubs/generator": true
        }
    },
    "scripts": {
        "post-install-cmd": "@composer --working-dir=source/ update --no-interaction",
        "post-update-cmd": "@composer --working-dir=source/ update --no-interaction",
        "cleanup": "git status --short --ignored | sed -n -e 's#^!! ##p' | xargs -r rm -vrf"
    },
    "scripts-descriptions": {
        "cleanup": "Remove all ignored files."
    }
}
