Преглед на файлове

more inline documentation

till преди 13 години
родител
ревизия
c78d9ffece
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  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:");