PHP Classes

File: src/Doctor/Confidence.php

Recommend this page to a friend!
  Packages of Alberto Arena   Laravel Truss   src/Doctor/Confidence.php   Download  
File: src/Doctor/Confidence.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Laravel Truss
View a diagram of a Laravel application models
Author: By
Last change:
Date: 9 days ago
Size: 463 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

namespace
AlbertoArena\Truss\Doctor;

/**
 * How sure a rule is that a finding is a real problem, kept separate from how
 * bad it is (severity). The `recommended` preset runs High-confidence rules
 * only, so heuristic rules stay quiet by default; `strict` adds them. A rule can
 * be heuristic yet still emit a warning when it does fire.
 */
enum Confidence: string
{
    case
High = 'high';
    case
Heuristic = 'heuristic';
}