function BuilderTest::builderTestData
Same name in other branches
- 9 core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php \Drupal\Tests\Composer\Generator\BuilderTest::builderTestData()
- 8.9.x core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php \Drupal\Tests\Composer\Generator\BuilderTest::builderTestData()
- 10 core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php \Drupal\Tests\Composer\Generator\BuilderTest::builderTestData()
Provides test data for testBuilder.
File
-
core/
tests/ Drupal/ Tests/ Composer/ Generator/ BuilderTest.php, line 23
Class
- BuilderTest
- Test DrupalCoreRecommendedBuilder.
Namespace
Drupal\Tests\Composer\GeneratorCode
public static function builderTestData() {
return [
[
DrupalCoreRecommendedBuilder::class,
[
'name' => 'drupal/core-recommended',
'type' => 'metapackage',
'description' => 'Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.',
'license' => 'GPL-2.0-or-later',
'require' => [
'drupal/core' => Composer::drupalVersionBranch(),
'symfony/polyfill-ctype' => '~v1.12.0',
'symfony/yaml' => '~v3.4.32',
],
'conflict' => [
'webflo/drupal-core-strict' => '*',
],
],
],
[
DrupalDevDependenciesBuilder::class,
[
'name' => 'drupal/core-dev',
'type' => 'metapackage',
'description' => 'require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.',
'license' => 'GPL-2.0-or-later',
'require' => [
'behat/mink' => '^1.8',
],
'conflict' => [
'webflo/drupal-core-require-dev' => '*',
],
],
],
[
DrupalPinnedDevDependenciesBuilder::class,
[
'name' => 'drupal/core-dev-pinned',
'type' => 'metapackage',
'description' => 'Pinned require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.',
'license' => 'GPL-2.0-or-later',
'require' => [
'drupal/core' => Composer::drupalVersionBranch(),
'behat/mink' => 'v1.8.0',
'symfony/css-selector' => 'v4.3.5',
],
'conflict' => [
'webflo/drupal-core-require-dev' => '*',
],
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.