['DUPONT Alex','MARTIN Camille','DUPUIS-DESCHAMPS Jean-Baptiste','LE GALL Émilien'][$i%4],range(0,13));unset($g); file_put_contents($out.'/v4-share.json',json_encode($share));file_put_contents($out.'/v4-convocations.pdf',App\ConvocationExport::pdf($share));file_put_contents($out.'/v4-convocations.xlsx',App\ConvocationExport::xlsx($share)); $raw=base64_decode($share['branding']['logo_pdf']);if(!str_starts_with($raw,"\xff\xd8"))throw new RuntimeException('Normalisation JPEG invalide'); echo "Exports V4 : PDF, Excel et logo normalisé produits.\n";