"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Composer/Command/DumpAutoloadCommand.php" between
composer-2.1.2.tar.gz and composer-2.1.3.tar.gz

About: Composer helps you declare, manage, and install dependencies of PHP projects.

DumpAutoloadCommand.php  (composer-2.1.2):DumpAutoloadCommand.php  (composer-2.1.3)
skipping to change at line 92 skipping to change at line 92
if ($input->getOption('no-dev')) { if ($input->getOption('no-dev')) {
$generator->setDevMode(false); $generator->setDevMode(false);
} }
if ($input->getOption('dev')) { if ($input->getOption('dev')) {
if ($input->getOption('no-dev')) { if ($input->getOption('no-dev')) {
throw new \InvalidArgumentException('You can not use both --no-d ev and --dev as they conflict with each other.'); throw new \InvalidArgumentException('You can not use both --no-d ev and --dev as they conflict with each other.');
} }
$generator->setDevMode(true); $generator->setDevMode(true);
} }
$generator->setClassMapAuthoritative($authoritative); $generator->setClassMapAuthoritative($authoritative);
$generator->setRunScripts(true);
$generator->setApcu($apcu, $apcuPrefix); $generator->setApcu($apcu, $apcuPrefix);
$generator->setIgnorePlatformRequirements($ignorePlatformReqs); $generator->setIgnorePlatformRequirements($ignorePlatformReqs);
$numberOfClasses = $generator->dump($config, $localRepo, $package, $inst allationManager, 'composer', $optimize); $numberOfClasses = $generator->dump($config, $localRepo, $package, $inst allationManager, 'composer', $optimize);
if ($authoritative) { if ($authoritative) {
$this->getIO()->write('<info>Generated optimized autoload files (aut horitative) containing '. $numberOfClasses .' classes</info>'); $this->getIO()->write('<info>Generated optimized autoload files (aut horitative) containing '. $numberOfClasses .' classes</info>');
} elseif ($optimize) { } elseif ($optimize) {
$this->getIO()->write('<info>Generated optimized autoload files cont aining '. $numberOfClasses .' classes</info>'); $this->getIO()->write('<info>Generated optimized autoload files cont aining '. $numberOfClasses .' classes</info>');
} else { } else {
$this->getIO()->write('<info>Generated autoload files</info>'); $this->getIO()->write('<info>Generated autoload files</info>');
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)