Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
25
vendor/drupal/console/Test/DataProvider/ProfileDataProviderTrait.php
vendored
Normal file
25
vendor/drupal/console/Test/DataProvider/ProfileDataProviderTrait.php
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\Console\Test\DataProvider;
|
||||
|
||||
/**
|
||||
* Class ProfileDataProviderTrait
|
||||
* @package Drupal\Console\Test\DataProvider
|
||||
*/
|
||||
trait ProfileDataProviderTrait
|
||||
{
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function commandData()
|
||||
{
|
||||
$this->setUpTemporaryDirectory();
|
||||
|
||||
return [
|
||||
// Profile name, machine name, description, core version,
|
||||
// dependencies, distribution name.
|
||||
['Foo', 'foo' . rand(), $this->dir . '/profiles', 'Description', '8.x', null, false],
|
||||
['Foo', 'foo' . rand(), $this->dir . '/profiles', 'Description', '8.x', null, 'Bar'],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in a new issue