Documentation

GithubActionReporter
in package

Utility class for Github actions.

Tags
author

Maxime Steinhausser maxime.steinhausser@gmail.com

Table of Contents

ESCAPED_DATA  = ['%' => '%25', " " => '%0D', " " => '%0A']
ESCAPED_PROPERTIES  = ['%' => '%25', " " => '%0D', " " => '%0A', ':' => '%3A', ',' => '%2C']
$output  : mixed
__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.
log()  : void

Constants

Properties

Methods

isGithubActionEnvironment()

public static isGithubActionEnvironment() : bool
Return values
bool

log()

private log(string $type, string $message[, string $file = null ][, int $line = null ][, int $col = null ]) : void
Parameters
$type : string
$message : string
$file : string = null
$line : int = null
$col : int = null
Return values
void

Search results