mirror of
https://github.com/danog/psalm.git
synced 2025-01-10 15:09:04 +01:00
26 lines
480 B
PHP
26 lines
480 B
PHP
<?php
|
|
namespace Psalm\Progress;
|
|
|
|
class DebugProgress extends Progress
|
|
{
|
|
public function setErrorReporting(): void
|
|
{
|
|
error_reporting(E_ALL);
|
|
}
|
|
|
|
public function debug(string $message): void
|
|
{
|
|
$this->write($message);
|
|
}
|
|
|
|
public function startScanningFiles(): void
|
|
{
|
|
$this->write('Scanning files...' . "\n");
|
|
}
|
|
|
|
public function startAnalyzingFiles(): void
|
|
{
|
|
$this->write('Analyzing files...' . "\n");
|
|
}
|
|
}
|