Skip to content
PHP Ecosystem
Explore

AuditRequest

API reference › Foxy › Audit › AuditRequest

final readonly classFoxy\Audit\AuditRequest
Sourcesrc/Audit/AuditRequest.php

Describes the scope and failure threshold of an audit run.

PropertyTypeDescriptionDefined by
$minimumSeverity readonly constructorSeverityLowest severity that makes the audit report vulnerable. Default: \Foxy\Audit\Severity::LOW.AuditRequest
$noDev readonly constructorboolWhether development dependencies are excluded. Default: false.AuditRequest
MethodDescriptionDefined by
__construct()Creates an immutable audit request.AuditRequest
public function __construct(Foxy\Audit\Severity $minimumSeverity = \Foxy\Audit\Severity::LOW, bool $noDev = false)

Creates an immutable audit request.

Parameters

ParameterTypeDescription
$minimumSeveritySeverityLowest severity that makes the audit report vulnerable.
$noDevboolWhether development dependencies are excluded.