$io
$io :
Validates a composer configuration.
__construct(\Composer\IO\IOInterface $io)
\Composer\IO\IOInterface | $io |
validate(string $file, integer $arrayLoaderValidationFlags = \Composer\Package\Loader\ValidatingArrayLoader::CHECK_ALL) : array
Validates the config, and returns the result.
string | $file | The path to the file |
integer | $arrayLoaderValidationFlags | Flags for ArrayLoader validation |
a triple containing the errors, publishable errors, and warnings