AuditRequest
API reference › Foxy › Audit › AuditRequest
Describes the scope and failure threshold of an audit run.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$minimumSeverity readonly constructor | Severity | Lowest severity that makes the audit report vulnerable. Default: \. | AuditRequest |
$noDev readonly constructor | bool | Whether development dependencies are excluded. Default: false. | AuditRequest |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates an immutable audit request. | AuditRequest |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(Foxy\Audit\Severity $minimumSeverity = \Foxy\Audit\Severity::LOW, bool $noDev = false)Creates an immutable audit request.
Parameters
| Parameter | Type | Description |
|---|---|---|
$minimumSeverity | Severity | Lowest severity that makes the audit report vulnerable. |
$noDev | bool | Whether development dependencies are excluded. |