1111use Swoft \Console \Annotation \Mapping \Command ;
1212use Swoft \Console \Annotation \Mapping \CommandMapping ;
1313use Swoft \Console \Annotation \Mapping \CommandOption ;
14+ use Swoft \Console \Console ;
1415use Swoft \Console \Helper \Show ;
1516use Swoft \Console \Input \Input ;
1617use Swoft \Console \Output \Output ;
@@ -120,6 +121,7 @@ public function pack(Input $input, Output $output): int
120121 });
121122 $ cpr ->on (PharCompiler::ON_COLLECTED , function () use ($ counter ) {
122123 $ counter ->send (-1 );
124+ Console::writeln ('' );
123125 });
124126 }
125127
@@ -129,10 +131,10 @@ public function pack(Input $input, Output $output): int
129131
130132 $ info = [
131133 PHP_EOL . '<success>Phar Build Completed!</success> ' ,
132- " - Phar File: $ pharFile " ,
133- ' - Phar Size: ' . round (filesize ($ pharFile ) / 1024 / 1024 , 2 ) . ' Mb ' ,
134- ' - Pack Time: ' . round (microtime (true ) - $ startAt , 3 ) . ' s ' ,
135134 ' - Pack File: ' . $ cpr ->getCounter (),
135+ ' - Pack Time: ' . round (microtime (true ) - $ startAt , 3 ) . ' s ' ,
136+ ' - Phar Size: ' . round (filesize ($ pharFile ) / 1024 / 1024 , 2 ) . ' Mb ' ,
137+ " - Phar File: $ pharFile " ,
136138 ' - Commit ID: ' . $ cpr ->getLastCommit (),
137139 ];
138140 $ output ->writeln ($ info );
0 commit comments