{
    "name": "weitzman/drupal-test-traits",
    "description": "Traits for testing Drupal sites that have user content (versus unpopulated sites).",
    "license": "MIT",
    "authors": [
        {
            "name": "Moshe Weitzman",
            "email": "weitzman@tejasa.com"
        }
    ],
    "autoload": {
        "psr-4": { "weitzman\\DrupalTestTraits\\": "src" }
    },
    "require": {
        "php": ">=8.1"
    },
    "require-dev": {
        "drush/drush": "^12.5 || ^13",
        "phpspec/prophecy-phpunit": "^2",
        "webflo/drupal-finder": "^1.3.1",
        "drupal/mailsystem": "^4"
    },
    "conflict": {
        "drupal/core": "<=10.2"
    },
    "scripts": {
        "si": "drush si -yv --db-url=${SIMPLETEST_DB} --account-name=admin --account-pass=password standard",
        "phpcs": "phpcs -n -s src tests",
        "phpcbf": "phpcbf --standard=PSR2 -n src tests",
        "lint": "parallel-lint src tests",
        "unit": "phpunit --colors --bootstrap=src/bootstrap-fast.php tests",
        "test": [
            "@lint",
            "@phpcs",
            "@unit"
        ]
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "process-timeout": 9600,
        "allow-plugins": {
            "composer/installers": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "drupal/core-composer-scaffold": true,
            "cweagans/composer-patches": true,
            "php-http/discovery": true,
            "phpstan/extension-installer": true,
            "tbachert/spi": true
        }
    },
    "extra": {
        "installer-paths": {
            "web/core": ["type:drupal-core"]
        },
        "drupal-scaffold": {
            "locations": {
                "web-root": "web/"
            },
            "file-mapping": {
                "[project-root]/.editorconfig": false,
                "[project-root]/.gitattributes": false,
                "[project-root]/.gitignore": false
            }
        }
    }
}
