33namespace PHPStan \Command ;
44
55use OndraM \CiDetector \CiDetector ;
6+ use Override ;
67use Symfony \Component \Console \Helper \ProgressBar ;
78use Symfony \Component \Console \Helper \TableSeparator ;
89use Symfony \Component \Console \Input \InputInterface ;
@@ -49,6 +50,7 @@ private function isCiDetected(): bool
4950 * @param string[] $headers
5051 * @param string[][] $rows
5152 */
53+ #[Override]
5254 public function table (array $ headers , array $ rows ): void
5355 {
5456 /** @var int $terminalWidth */
@@ -129,6 +131,7 @@ private function wrap(array $rows, int $terminalWidth, int $maxHeaderWidth): arr
129131 return $ rows ;
130132 }
131133
134+ #[Override]
132135 public function createProgressBar (int $ max = 0 ): ProgressBar
133136 {
134137 $ this ->progressBar = parent ::createProgressBar ($ max );
@@ -180,6 +183,7 @@ private function getProgressBarFormat(): ?string
180183 return ProgressBar::getFormatDefinition ($ formatName );
181184 }
182185
186+ #[Override]
183187 public function progressStart (int $ max = 0 ): void
184188 {
185189 if (!$ this ->showProgress ) {
@@ -188,6 +192,7 @@ public function progressStart(int $max = 0): void
188192 parent ::progressStart ($ max );
189193 }
190194
195+ #[Override]
191196 public function progressAdvance (int $ step = 1 ): void
192197 {
193198 if (!$ this ->showProgress ) {
@@ -197,6 +202,7 @@ public function progressAdvance(int $step = 1): void
197202 parent ::progressAdvance ($ step );
198203 }
199204
205+ #[Override]
200206 public function progressFinish (): void
201207 {
202208 if (!$ this ->showProgress ) {
0 commit comments