Parcourir la source

more inline documentation

till il y a 13 ans
Parent
commit
c78d9ffece
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      src/Composer/Repository/Vcs/SvnDriver.php

+ 5 - 1
src/Composer/Repository/Vcs/SvnDriver.php

@@ -80,11 +80,15 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
             $output
         );
 
-        // this could be any failure, but let's see if it's auth related
+        // this could be any failure
         if ($status == 1 && $this->io->isInteractive()) {
+
+            // the error is not auth-related
             if (strpos($output, 'authorization failed:') === false) {
                 return $output;
             }
+
+            // no authorization has been detected so far
             if (!$this->useAuth) {
                 $this->io->write("The Subversion server ({$this->baseUrl}) requested credentials:");