function ComposerValidateTest::provideComposerJson

Same name and namespace in other branches
  1. 9 core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php \Drupal\BuildTests\Composer\ComposerValidateTest::provideComposerJson()
  2. 8.9.x core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php \Drupal\BuildTests\Composer\ComposerValidateTest::provideComposerJson()
  3. 10 core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php \Drupal\BuildTests\Composer\ComposerValidateTest::provideComposerJson()

File

core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php, line 17

Class

ComposerValidateTest
@group Composer

Namespace

Drupal\BuildTests\Composer

Code

public static function provideComposerJson() {
    $data = [];
    $composer_json_finder = self::getComposerJsonFinder(self::getDrupalRootStatic());
    foreach ($composer_json_finder->getIterator() as $composer_json) {
        $data[] = [
            $composer_json->getPathname(),
        ];
    }
    return $data;
}

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