GithubActionReporter
in package
Utility class for Github actions.
Tags
Table of Contents
Methods
- __construct() : mixed
- debug() : void
- Output a debug log using the Github annotations format.
- error() : void
- Output an error using the Github annotations format.
- isGithubActionEnvironment() : bool
- warning() : void
- Output a warning using the Github annotations format.
Methods
__construct()
public
__construct(OutputInterface $output) : mixed
Parameters
- $output : OutputInterface
debug()
Output a debug log using the Github annotations format.
public
debug(string $message[, string|null $file = null ][, int|null $line = null ][, int|null $col = null ]) : void
Parameters
- $message : string
- $file : string|null = null
- $line : int|null = null
- $col : int|null = null
Tags
error()
Output an error using the Github annotations format.
public
error(string $message[, string|null $file = null ][, int|null $line = null ][, int|null $col = null ]) : void
Parameters
- $message : string
- $file : string|null = null
- $line : int|null = null
- $col : int|null = null
Tags
isGithubActionEnvironment()
public
static isGithubActionEnvironment() : bool
Return values
boolwarning()
Output a warning using the Github annotations format.
public
warning(string $message[, string|null $file = null ][, int|null $line = null ][, int|null $col = null ]) : void
Parameters
- $message : string
- $file : string|null = null
- $line : int|null = null
- $col : int|null = null