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
|
|
|
}
|
|
|
|
}
|