@@ -158,13 +158,7 @@ public function restore(array $allAnalysedFiles, bool $debug, bool $onlyFiles, ?
158158 return new ResultCache ($ allAnalysedFiles , true , time (), $ this ->getMeta ($ allAnalysedFiles , $ projectConfigArray ), [], [], []);
159159 }
160160
161- if ($ output ->isDebug ()) {
162- $ output ->writeLineFormatted ('Computing meta ' );
163- }
164161 $ meta = $ this ->getMeta ($ allAnalysedFiles , $ projectConfigArray );
165- if ($ output ->isDebug ()) {
166- $ output ->writeLineFormatted ('Finished computing meta ' );
167- }
168162 if ($ data ['meta ' ] !== $ meta ) {
169163 if ($ output ->isDebug ()) {
170164 $ output ->writeLineFormatted ('Result cache not used because the metadata do not match. ' );
@@ -189,10 +183,6 @@ public function restore(array $allAnalysedFiles, bool $debug, bool $onlyFiles, ?
189183 $ filteredErrors = [];
190184 $ filteredExportedNodes = [];
191185 $ newFileAppeared = false ;
192-
193- if ($ output ->isDebug ()) {
194- $ output ->writeLineFormatted (sprintf ('Hashing %d files to analyse ' , count ($ allAnalysedFiles )));
195- }
196186 foreach ($ allAnalysedFiles as $ analysedFile ) {
197187 if (array_key_exists ($ analysedFile , $ errors )) {
198188 $ filteredErrors [$ analysedFile ] = $ errors [$ analysedFile ];
@@ -240,10 +230,6 @@ public function restore(array $allAnalysedFiles, bool $debug, bool $onlyFiles, ?
240230 }
241231 }
242232
243- if ($ output ->isDebug ()) {
244- $ output ->writeLineFormatted ('Finished hashing files to analyse ' );
245- }
246-
247233 foreach (array_keys ($ deletedFiles ) as $ deletedFile ) {
248234 if (!array_key_exists ($ deletedFile , $ invertedDependencies )) {
249235 continue ;
0 commit comments