projects
/
pharext
/
pharext
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
consistent verbosity
[pharext/pharext]
/
src
/
pharext
/
Task
/
StreamFetch.php
diff --git
a/src/pharext/Task/StreamFetch.php
b/src/pharext/Task/StreamFetch.php
index 4f090efb74579b0b21970ca87ad7ee6f76a859cc..3b1fc29cb53b4db1ce44ff6261e91444e3c591e8 100644
(file)
--- a/
src/pharext/Task/StreamFetch.php
+++ b/
src/pharext/Task/StreamFetch.php
@@
-55,6
+55,9
@@
class StreamFetch implements Task
* @throws \pharext\Exception
*/
public function run($verbose = false) {
* @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)) {
$context = $this->createStreamContext();
if (!$remote = fopen($this->source, "r", false, $context)) {