You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$output->writeLineFormatted("One or more properties in your code do not have a phpDoc with a type\nbut it could be inferred from the constructor to find more bugs.");
66
-
$output->writeLineFormatted(sprintf('Use <fg=cyan>inferPrivatePropertyTypeFromConstructor: true</> in your <fg=cyan>%s</> to try it out!', $projectConfigFile));
67
-
$output->writeLineFormatted('');
68
-
};
69
-
70
40
if (!$analysisResult->hasErrors() && !$analysisResult->hasWarnings()) {
71
41
$style->success('No errors');
72
42
if ($this->showTipsOfTheDay) {
@@ -78,8 +48,6 @@ public function formatErrors(
78
48
AnalyseCommand::DEFAULT_LEVEL
79
49
));
80
50
$output->writeLineFormatted('');
81
-
} else {
82
-
$showInferPropertiesTip();
83
51
}
84
52
}
85
53
@@ -140,10 +108,6 @@ public function formatErrors(
140
108
$style->warning($finalMessage);
141
109
}
142
110
143
-
if ($this->checkMissingTypehints && $this->showTipsOfTheDay) {
0 commit comments