BuildWarnings
-
experimental
-
Table of Contents
Properties
-
$warnings
: array<string|int, BuildWarning>
Methods
-
getInstance()
: self
-
getWarnings()
: array<int, BuildWarning>
-
hasWarnings()
: bool
-
report()
: void
-
reportsWarnings()
: bool
-
reportsWarningsAsExceptions()
: bool
-
writeWarningsToOutput()
: void
-
renderWarnings()
: void
-
renderWarningsAsExceptions()
: void
$warnings
protected
array<string|int, BuildWarning>
$warnings
= []
getInstance()
public
static getInstance() : self
getWarnings()
public
static getWarnings() : array<int, BuildWarning>
hasWarnings()
public
static hasWarnings() : bool
report()
public
static report(BuildWarning|string $warning) : void
Parameters
-
$warning
: BuildWarning|string
-
reportsWarnings()
public
static reportsWarnings() : bool
reportsWarningsAsExceptions()
public
static reportsWarningsAsExceptions() : bool
writeWarningsToOutput()
public
static writeWarningsToOutput(OutputStyle $output[, bool $verbose = false ]) : void
Parameters
-
$output
: OutputStyle
-
-
$verbose
: bool
= false
-
renderWarnings()
protected
static renderWarnings(OutputStyle $output, bool $verbose) : void
Parameters
-
$output
: OutputStyle
-
-
$verbose
: bool
-
renderWarningsAsExceptions()
protected
static renderWarningsAsExceptions(OutputStyle $output) : void
Parameters
-
$output
: OutputStyle
-