RequirementsNotSatisfiedException
extends RuntimeException
in package
Requirements of json_file are not satisfied.
Tags
Table of Contents
Properties
- $message : string
- Error message.
- $readEnv : array<string|int, mixed>
- Read environment variables.
- $secretEnvVars : array<string|int, string>
- Array of secret env vars.
Methods
- getHelpMessage() : string
- Return help message.
- getReadEnv() : array<string|int, mixed>
- Return read environment variables.
- setReadEnv() : mixed
- Set read environment variables.
- format() : string
- Format a pair of the envVarName and the value.
Properties
$message
Error message.
protected
string
$message
= 'Requirements are not satisfied.'
$readEnv
Read environment variables.
protected
array<string|int, mixed>
$readEnv
$secretEnvVars
Array of secret env vars.
private
static array<string|int, string>
$secretEnvVars
= ['COVERALLS_REPO_TOKEN']
Methods
getHelpMessage()
Return help message.
public
getHelpMessage() : string
Return values
stringgetReadEnv()
Return read environment variables.
public
getReadEnv() : array<string|int, mixed>
Return values
array<string|int, mixed>setReadEnv()
Set read environment variables.
public
setReadEnv(array<string|int, mixed> $readEnv) : mixed
Parameters
- $readEnv : array<string|int, mixed>
-
read environment variables
format()
Format a pair of the envVarName and the value.
protected
format(string $key, string $value) : string
Parameters
- $key : string
-
the env var name
- $value : string
-
the value of the env var