DisallowedShortTernaryOperator suppress doesnt work
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @phpcsSuppress DisallowedShortTernaryOperator
*/
public function handle(Request $request, Closure $next, string ...$guards)
{
$guards = $guards ?: ['web'];
• [Code] Disallow short ternary operator: (SlevomatCodingStandard\Sniffs\ControlStructures\DisallowShortTernaryOperatorSniff)
app/Http/Middleware/RedirectIfAuthenticated.php:21: Use of short ternary operator is disallowed.
DisallowedShortTernaryOperator suppress doesnt work