| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | trait NotInArrayTrait |
||
| 18 | { |
||
| 19 | /*********************************************************************************** |
||
| 20 | * NOTE: Custom assertions may be added below this line. * |
||
| 21 | * They SHOULD be marked as `protected` to ensure the call is forced * |
||
| 22 | * through __callStatic(). * |
||
| 23 | * Assertions marked `public` are called directly and will * |
||
| 24 | * not handle any custom exception passed to it. * |
||
| 25 | ***********************************************************************************/ |
||
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * @param mixed $value |
||
| 30 | * @param array<mixed> $values |
||
| 31 | * @param string $message |
||
| 32 | */ |
||
| 33 | protected static function notInArray($value, array $values, string $message = ''): void |
||
| 48 |