mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Remove unnecessary echo
This commit is contained in:
parent
9a1674bd0e
commit
a409b3c32a
@ -19,7 +19,6 @@ class TemplateChecker extends Psalm\Checker\FileChecker
|
||||
public function analyze(Context $context = null, $update_docblocks = false)
|
||||
{
|
||||
$codebase = $this->project_checker->getCodebase();
|
||||
$this->project_checker->enableCheckerCache();
|
||||
$stmts = $codebase->getStatementsForFile($this->file_path);
|
||||
|
||||
if (empty($stmts)) {
|
||||
@ -67,8 +66,6 @@ class TemplateChecker extends Psalm\Checker\FileChecker
|
||||
}
|
||||
|
||||
$this->checkWithViewClass($this_params, $stmts);
|
||||
|
||||
$this->project_checker->disableCheckerCache();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -136,8 +136,6 @@ class Analyzer
|
||||
}
|
||||
|
||||
$file_checker->analyze(null);
|
||||
|
||||
echo 'Current memory: ' . number_format(memory_get_usage() / (1024 * 1024), 3) . 'MB' . "\n";
|
||||
};
|
||||
|
||||
if ($pool_size > 1 && count($this->files_to_analyze) > $pool_size) {
|
||||
|
Loading…
Reference in New Issue
Block a user