1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-10 15:09:04 +01:00
psalm/src/Psalm/Progress/DebugProgress.php

26 lines
480 B
PHP
Raw Normal View History

2019-05-16 23:12:31 +02:00
<?php
namespace Psalm\Progress;
class DebugProgress extends Progress
{
public function setErrorReporting(): void
{
error_reporting(E_ALL);
}
public function debug(string $message): void
{
2019-05-25 19:24:40 +02:00
$this->write($message);
2019-05-16 23:12:31 +02:00
}
public function startScanningFiles(): void
{
2019-05-25 19:24:40 +02:00
$this->write('Scanning files...' . "\n");
2019-05-16 23:12:31 +02:00
}
public function startAnalyzingFiles(): void
{
2019-05-25 19:24:40 +02:00
$this->write('Analyzing files...' . "\n");
2019-05-16 23:12:31 +02:00
}
}