Documentation

GithubActionReporter
in package

Utility class for Github actions.

Tags
author

Maxime Steinhausser maxime.steinhausser@gmail.com

Table of Contents

Constants

ESCAPED_DATA  = ['%' => '%25', "\r" => '%0D', "\n" => '%0A']
ESCAPED_PROPERTIES  = ['%' => '%25', "\r" => '%0D', "\n" => '%0A', ':' => '%3A', ',' => '%2C']

Properties

$output  : OutputInterface

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.
log()  : void

Constants

Properties

Methods

isGithubActionEnvironment()

public static isGithubActionEnvironment() : bool
Return values
bool

log()

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

        
On this page

Search results