2019-06-09 12:37:28 -04:00
|
|
|
<?php
|
|
|
|
namespace Psalm\Report;
|
|
|
|
|
|
|
|
use Psalm\Report;
|
|
|
|
|
|
|
|
class ReportOptions
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $use_color = true;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $show_snippet = true;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $show_info = true;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var value-of<Report::SUPPORTED_OUTPUT_TYPES>
|
|
|
|
*/
|
2020-09-20 14:55:28 +02:00
|
|
|
public $format = Report::TYPE_CONSOLE;
|
2019-06-09 12:37:28 -04:00
|
|
|
|
2020-05-18 14:40:20 +02:00
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $pretty = false;
|
|
|
|
|
2019-06-09 12:37:28 -04:00
|
|
|
/**
|
|
|
|
* @var ?string
|
|
|
|
*/
|
|
|
|
public $output_path;
|
2019-12-02 15:24:01 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $show_suggestions = true;
|
2019-06-09 12:37:28 -04:00
|
|
|
}
|