{
    "name": "mglaman/phpstan-drupal",
    "description": "Drupal extension and rules for PHPStan",
    "license": "MIT",
    "type": "phpstan-extension",
    "authors": [
        {
            "name": "Matt Glaman",
            "email": "nmd.matt@gmail.com"
        }
    ],
    "require": {
        "php": "^8.1",
        "phpstan/phpstan": "^2.1",
        "phpstan/phpstan-deprecation-rules": "^2.0",
        "symfony/finder": "^6.2 || ^7.0 || ^8.0",
        "symfony/yaml": "^6.2 || ^7.0 || ^8.0",
        "webflo/drupal-finder": "^1.3.1"
    },
    "require-dev": {
        "behat/mink": "^1.10",
        "composer/installers": "^1.9 || ^2",
        "drupal/core-recommended": "^11",
        "drush/drush": "^11 || ^12 || ^13",
        "phpstan/extension-installer": "^1.4.3",
        "phpstan/phpstan-strict-rules": "^2.0",
        "phpunit/phpunit": "^9 || ^10 || ^11",
        "slevomat/coding-standard": "^8.6",
        "squizlabs/php_codesniffer": "^3.7",
        "symfony/phpunit-bridge": "^6.2 || ^7.0 || ^8.0"
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "suggest": {
        "phpstan/phpstan-deprecation-rules": "For catching deprecations, especially in Drupal core.",
        "jangregor/phpstan-prophecy": "Provides a prophecy/prophecy extension for phpstan/phpstan.",
        "phpstan/phpstan-phpunit": "PHPUnit extensions and rules for PHPStan."
    },
    "autoload": {
        "psr-4": {
            "mglaman\\PHPStanDrupal\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "mglaman\\PHPStanDrupal\\Tests\\": "tests/src/"
        },
        "classmap": [
            "tests/src/Type/data",
            "tests/src/Rules/data",
            "tests/src/Generics/data"
        ]
    },
    "extra": {
        "installer-paths": {
            "tests/fixtures/drupal/core": ["type:drupal-core"],
            "tests/fixtures/drupal/libraries/{$name}": ["type:drupal-library"],
            "tests/fixtures/drupal/modules/contrib/{$name}": ["type:drupal-module"],
            "tests/fixtures/drupal/profiles/contrib/{$name}": ["type:drupal-profile"],
            "tests/fixtures/drupal/themes/contrib/{$name}": ["type:drupal-theme"]
        },
        "phpstan": {
            "includes": [
                "extension.neon",
                "rules.neon"
            ]
        }
    },
    "config": {
        "allow-plugins": {
            "composer/installers": true,
            "phpstan/extension-installer": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "drupal/core-composer-scaffold": true
        }
    }
}
