You are here

public function ComposerIntegrationTest::providerTestExpectedScaffoldFiles in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/ComposerIntegrationTest.php \Drupal\Tests\ComposerIntegrationTest::providerTestExpectedScaffoldFiles()

Data provider for the scaffold files test for Drupal core.

Return value

array

File

core/tests/Drupal/Tests/ComposerIntegrationTest.php, line 138

Class

ComposerIntegrationTest
Tests Composer integration.

Namespace

Drupal\Tests

Code

public function providerTestExpectedScaffoldFiles() {
  return [
    [
      '.editorconfig',
      'assets/scaffold/files/editorconfig',
      '[project-root]',
    ],
    [
      '.gitattributes',
      'assets/scaffold/files/gitattributes',
      '[project-root]',
    ],
    [
      '.csslintrc',
      'assets/scaffold/files/csslintrc',
    ],
    [
      '.eslintignore',
      'assets/scaffold/files/eslintignore',
    ],
    [
      '.eslintrc.json',
      'assets/scaffold/files/eslintrc.json',
    ],
    [
      '.ht.router.php',
      'assets/scaffold/files/ht.router.php',
    ],
    [
      '.htaccess',
      'assets/scaffold/files/htaccess',
    ],
    [
      'example.gitignore',
      'assets/scaffold/files/example.gitignore',
    ],
    [
      'index.php',
      'assets/scaffold/files/index.php',
    ],
    [
      'INSTALL.txt',
      'assets/scaffold/files/drupal.INSTALL.txt',
    ],
    [
      'README.md',
      'assets/scaffold/files/drupal.README.md',
    ],
    [
      'robots.txt',
      'assets/scaffold/files/robots.txt',
    ],
    [
      'update.php',
      'assets/scaffold/files/update.php',
    ],
    [
      'web.config',
      'assets/scaffold/files/web.config',
    ],
    [
      'sites/README.txt',
      'assets/scaffold/files/sites.README.txt',
    ],
    [
      'sites/development.services.yml',
      'assets/scaffold/files/development.services.yml',
    ],
    [
      'sites/example.settings.local.php',
      'assets/scaffold/files/example.settings.local.php',
    ],
    [
      'sites/example.sites.php',
      'assets/scaffold/files/example.sites.php',
    ],
    [
      'sites/default/default.services.yml',
      'assets/scaffold/files/default.services.yml',
    ],
    [
      'sites/default/default.settings.php',
      'assets/scaffold/files/default.settings.php',
    ],
    [
      'modules/README.txt',
      'assets/scaffold/files/modules.README.txt',
    ],
    [
      'profiles/README.txt',
      'assets/scaffold/files/profiles.README.txt',
    ],
    [
      'themes/README.txt',
      'assets/scaffold/files/themes.README.txt',
    ],
  ];
}