openssl signing
[pharext/pharext] / src / pharext / PeclSourceDir.php
index 1e6d86ec7c8360d568136025e48eb0ba96725f4f..dd19171a55e307b9007aa7dc9256d50c249c2b29 100644 (file)
@@ -25,12 +25,6 @@ class PeclSourceDir implements \IteratorAggregate, SourceDir
         */
        private $path;
        
-       /**
-        * Installer hook
-        * @var string
-        */
-       private $hook;
-       
        /**
         * @inheritdoc
         * @see \pharext\SourceDir::__construct()
@@ -131,6 +125,9 @@ class PeclSourceDir implements \IteratorAggregate, SourceDir
         */
        private function generateFiles() {
                foreach ($this->generateHooks() as $file => $hook) {
+                       if ($this->cmd->getArgs()->verbose) {
+                               $this->cmd->info("Packaging %s\n", is_string($hook) ? $hook : $file);
+                       }
                        yield $file => $hook;
                }
                foreach ($this->sxe->xpath("//pecl:file") as $file) {