diff --git a/src/Composer/Repository/VcsRepository.php b/src/Composer/Repository/VcsRepository.php index 6a9821245..c9c3b3d1f 100644 --- a/src/Composer/Repository/VcsRepository.php +++ b/src/Composer/Repository/VcsRepository.php @@ -119,7 +119,7 @@ class VcsRepository extends ArrayRepository } } catch (\Exception $e) { if ($verbose) { - $this->io->write('Skipped parsing '.$driver->getRootIdentifier().', '.$e->getMessage()); + $this->io->write('Skipped parsing '.$driver->getRootIdentifier().', '.$e->getMessage().''); } } @@ -136,7 +136,7 @@ class VcsRepository extends ArrayRepository if (!$parsedTag = $this->validateTag($tag)) { if ($verbose) { - $this->io->write('Skipped tag '.$tag.', invalid tag name'); + $this->io->write('Skipped tag '.$tag.', invalid tag name'); } continue; } @@ -144,7 +144,7 @@ class VcsRepository extends ArrayRepository try { if (!$data = $driver->getComposerInformation($identifier)) { if ($verbose) { - $this->io->write('Skipped tag '.$tag.', no composer file'); + $this->io->write('Skipped tag '.$tag.', no composer file'); } continue; } @@ -165,7 +165,7 @@ class VcsRepository extends ArrayRepository // broken package, version doesn't match tag if ($data['version_normalized'] !== $parsedTag) { if ($verbose) { - $this->io->write('Skipped tag '.$tag.', tag ('.$parsedTag.') does not match version ('.$data['version_normalized'].') in composer.json'); + $this->io->write('Skipped tag '.$tag.', tag ('.$parsedTag.') does not match version ('.$data['version_normalized'].') in composer.json'); } continue; } @@ -177,7 +177,7 @@ class VcsRepository extends ArrayRepository $this->addPackage($this->loader->load($this->preProcess($driver, $data, $identifier))); } catch (\Exception $e) { if ($verbose) { - $this->io->write('Skipped tag '.$tag.', '.($e instanceof TransportException ? 'no composer file was found' : $e->getMessage())); + $this->io->write('Skipped tag '.$tag.', '.($e instanceof TransportException ? 'no composer file was found' : $e->getMessage()).''); } continue; } @@ -197,7 +197,7 @@ class VcsRepository extends ArrayRepository if (!$parsedBranch = $this->validateBranch($branch)) { if ($verbose) { - $this->io->write('Skipped branch '.$branch.', invalid name'); + $this->io->write('Skipped branch '.$branch.', invalid name'); } continue; } @@ -205,7 +205,7 @@ class VcsRepository extends ArrayRepository try { if (!$data = $driver->getComposerInformation($identifier)) { if ($verbose) { - $this->io->write('Skipped branch '.$branch.', no composer file'); + $this->io->write('Skipped branch '.$branch.', no composer file'); } continue; } @@ -233,7 +233,7 @@ class VcsRepository extends ArrayRepository $this->addPackage($package); } catch (TransportException $e) { if ($verbose) { - $this->io->write('Skipped branch '.$branch.', no composer file was found'); + $this->io->write('Skipped branch '.$branch.', no composer file was found'); } continue; } catch (\Exception $e) { @@ -241,7 +241,7 @@ class VcsRepository extends ArrayRepository $this->io->write(''); } $this->branchErrorOccurred = true; - $this->io->write('Skipped branch '.$branch.', '.$e->getMessage()); + $this->io->write('Skipped branch '.$branch.', '.$e->getMessage().''); $this->io->write(''); continue; }