mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 15:25:45 +01:00
Bump respect/coding-standard from 4 to 5
This commit is contained in:
parent
7f66bcea10
commit
cfeb01e89e
355 changed files with 1579 additions and 1879 deletions
|
|
@ -54,11 +54,12 @@ test('Should go not overwrite file and line when it runs out of choices', functi
|
|||
array_filter(
|
||||
array_map(
|
||||
fn($trace) => $trace['file'] ?? null,
|
||||
debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)
|
||||
)
|
||||
)
|
||||
debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS),
|
||||
),
|
||||
),
|
||||
);
|
||||
$trace[] = __FILE__;
|
||||
|
||||
throw new ValidationException('message', 'fullMessage', ['id' => 'message'], $trace);
|
||||
} catch (ValidationException $e) {
|
||||
expect($e->getFile())->toBe(__FILE__);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue