src/Robo/Commands/Validate/YamlCommand.php
public function lintFileSets() {
    $this->say("Validating yaml syntax for all custom modules and exported config...");

    /** @var \Acquia\Blt\Robo\Filesets\FilesetManager $fileset_manager */
    $fileset_manager = $this->getContainer()->get('filesetManager');
    $fileset_ids = $this->getConfigValue('validate.yaml.filesets');
    $filesets = $fileset_manager->getFilesets($fileset_ids, TRUE);
    $bin = $this->getConfigValue('composer.bin');
    $command = "'$bin/yaml-cli' lint '%s'";
    $this->executeCommandAgainstFilesets($filesets, $command, TRUE);
  }
public function lintFileSets() {
    $this->say("Validating yaml syntax for all custom modules and exported config...");

    /** @var \Acquia\Blt\Robo\Filesets\FilesetManager $fileset_manager */
    $fileset_manager = $this->getContainer()->get('filesetManager');
    $fileset_ids = $this->getConfigValue('validate.yaml.filesets');
    $filesets = $fileset_manager->getFilesets($fileset_ids, TRUE);
    $bin = $this->getConfigValue('composer.bin');
    $command = "'$bin/yaml-cli' lint '%s'";
    $this->executeCommandAgainstFilesets($filesets, $command, TRUE);
  }
public function lintFileSets ( ) { $ this -> say ( "Validating yaml syntax for all custom modules and exported config..." ) ; /** @var \Acquia\Blt\Robo\Filesets\FilesetManager $fileset_manager */ $ fileset_manager = $ this -> getContainer ( ) -> get ( 'filesetManager' ) ; $ fileset_ids = $ this -> getConfigValue ( 'validate.yaml.filesets' ) ; $ filesets = $ fileset_manager -> getFilesets ( $ fileset_ids , TRUE ) ; $ bin = $ this -> getConfigValue ( 'composer.bin' ) ; $ command = "'$bin/yaml-cli' lint '%s'" ; $ this -> executeCommandAgainstFilesets ( $ filesets , $ command , TRUE ) ; }
Executes YAML validator against all validate.yaml.filesets files.

@command tests:yaml:lint:all

@aliases tyla yaml tests:yaml:lint validate:yaml
Executes YAML validator against all validate . yaml . filesets files .