1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 19:07:00 +01:00
psalm/src/Psalm/Progress/Progress.php

40 lines
616 B
PHP
Raw Normal View History

<?php
namespace Psalm\Progress;
abstract class Progress
{
public function setErrorReporting(): void
{
error_reporting(E_ERROR);
}
public function debug(string $message): void
{
}
public function startScanningFiles(): void
{
}
public function startAnalyzingFiles(): void
{
}
public function start(int $number_of_tasks): void
{
}
public function taskDone(bool $successful): void
{
}
public function finish(): void
{
}
protected function write(string $message): void
{
fwrite(STDERR, $message);
}
}