build(deps): add fenetikm/autoload-drupal

Add this so Phpactor will generate test classes.
This commit is contained in:
Oliver Davies 2023-08-08 12:00:00 +01:00
parent 26d450c1a4
commit 252729bb07
2 changed files with 1130 additions and 815 deletions

View file

@ -12,8 +12,12 @@
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "vcs",
"url": "https://github.com/opdavies/autoload-drupal"
}
],
],
"require": {
"composer/installers": "^1.9",
"drupal/core-composer-scaffold": "^10",
@ -34,10 +38,18 @@
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"fenetikm/autoload-drupal": true,
"phpstan/extension-installer": true
}
},
"extra": {
"autoload-drupal": {
"modules": [
"web/core/modules/",
"web/modules/contrib/",
"web/modules/custom/"
]
},
"drupal-scaffold": {
"locations": {
"web-root": "web/"
@ -96,6 +108,7 @@
},
"require-dev": {
"drupal/core-dev": "^10",
"fenetikm/autoload-drupal": "dev-autoload-tests",
"phpspec/prophecy-phpunit": "^2"
}
}

1930
composer.lock generated

File diff suppressed because it is too large Load diff