function ComposerIntegrationTest::providerTestExpectedScaffoldFiles

Same name in other branches
  1. 9 core/tests/Drupal/Tests/ComposerIntegrationTest.php \Drupal\Tests\ComposerIntegrationTest::providerTestExpectedScaffoldFiles()
  2. 8.9.x core/tests/Drupal/Tests/ComposerIntegrationTest.php \Drupal\Tests\ComposerIntegrationTest::providerTestExpectedScaffoldFiles()
  3. 10 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 static 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',
        ],
        [
            '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',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.