for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Copyright © Vaimo Group. All rights reserved.
* See LICENSE_VAIMO.txt for license details.
*/
namespace Vaimo\ComposerPatches\Composer;
class OutputUtils extends \Composer\IO\ConsoleIO
{
public static function resetVerbosity(\Composer\IO\ConsoleIO $appIO, $verbosity)
$oldValue = $appIO->output->getVerbosity();
if ($appIO->isVerbose()) {
return $oldValue;
}
$appIO->output->setVerbosity($verbosity);