public function ComposerValidateTest::provideComposerJson in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php \Drupal\BuildTests\Composer\ComposerValidateTest::provideComposerJson()
File
- core/
tests/ Drupal/ BuildTests/ Composer/ ComposerValidateTest.php, line 16
Class
- ComposerValidateTest
- @group Composer @requires externalCommand composer
Namespace
Drupal\BuildTests\ComposerCode
public function provideComposerJson() {
$data = [];
$composer_json_finder = $this
->getComposerJsonFinder($this
->getDrupalRoot());
foreach ($composer_json_finder
->getIterator() as $composer_json) {
$data[] = [
$composer_json
->getPathname(),
];
}
return $data;
}