1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Remove error logging

This commit is contained in:
Matthew Brown 2018-10-30 20:55:25 -04:00
parent 8071465e8e
commit cd9e9321fd
2 changed files with 0 additions and 13 deletions

View File

@ -396,8 +396,6 @@ class ClassChecker extends ClassLikeChecker
$constructor_checker = null;
$member_stmts = [];
$time = microtime(true);
foreach ($class->stmts as $stmt) {
if ($stmt instanceof PhpParser\Node\Stmt\ClassMethod) {
$method_checker = $this->analyzeClassMethod(
@ -435,8 +433,6 @@ class ClassChecker extends ClassLikeChecker
}
}
error_log(number_format(microtime(true) - $time, 4));
$statements_checker = new StatementsChecker($this);
$statements_checker->analyze($member_stmts, $class_context, $global_context, true);
@ -1108,8 +1104,6 @@ class ClassChecker extends ClassLikeChecker
$codebase->analyzer->setCorrectMethod($included_file_path, $trait_safe_method_id);
}
error_log($trait_safe_method_id);
return $method_checker;
}
}

View File

@ -279,15 +279,11 @@ class Analyzer
} else {
$i = 0;
$time = microtime(true);
foreach ($this->files_to_analyze as $file_path => $_) {
$analysis_worker($i, $file_path);
++$i;
}
error_log(number_format(microtime(true) - $time, 4));
foreach (IssueBuffer::getIssuesData() as $issue_data) {
$project_checker->file_reference_provider->addIssue($issue_data['file_path'], $issue_data);
}
@ -332,9 +328,6 @@ class Analyzer
$changed_members = $statements_provider->getChangedMembers();
$unchanged_signature_members = $statements_provider->getUnchangedSignatureMembers();
error_log(var_export($changed_members, true));
error_log(var_export($unchanged_signature_members, true));
$diff_map = $statements_provider->getDiffMap();
$all_referencing_methods = $project_checker->file_reference_provider->getMethodsReferencing();