consistent verbosity
[pharext/pharext] / src / pharext / Task / StreamFetch.php
index 4f090efb74579b0b21970ca87ad7ee6f76a859cc..3b1fc29cb53b4db1ce44ff6261e91444e3c591e8 100644 (file)
@@ -55,6 +55,9 @@ class StreamFetch implements Task
         * @throws \pharext\Exception
         */
        public function run($verbose = false) {
+               if ($verbose !== false) {
+                       printf("Fetching %s ...\n", $this->source);
+               }
                $context = $this->createStreamContext();
 
                if (!$remote = fopen($this->source, "r", false, $context)) {