analyze($value->getRealPath()), 'fileformat'), self::SUPPORTED_FORMATS ); return true; }, false) ?? false; if (!$passes) { $fail('Unsupported audio file'); } } }