@php
$fixableErrors = $issues->filter->fixable();
$nonFixableErrors = $issues->reject->fixable();
@endphp
@if($issues->count() == 0)
PASS
@elseif($nonFixableErrors->count() == 0 && ! $testing)
FIXED
@else
FAIL
@endif
{{ $totalFiles }} {{ str('file')->plural($totalFiles) }}
@if ($nonFixableErrors->isNotEmpty())
, {{ $nonFixableErrors->count() }} {{ str('error')->plural($nonFixableErrors) }}
@endif
@if ($fixableErrors->isNotEmpty())
@if ($testing)
, {{ $fixableErrors->count() }} style {{ str('issue')->plural($fixableErrors) }}
@else
, {{ $fixableErrors->count() }} style {{ str('issue')->plural($fixableErrors) }} fixed
@endif
@endif