make(Kernel::class)->bootstrap(); $identity = portalQaAssertTarget($target); $file = storage_path('app/private/investmoz-v2/portal-audit/consumer-workflow-synthetic.png'); if (! is_file($file)) { $image = imagecreatetruecolor(500, 500); imagefill($image, 0, 0, imagecolorallocate($image, 225, 240, 230)); imagestring($image, 5, 45, 220, 'QA synthetic workflow image', imagecolorallocate($image, 0, 70, 40)); imagepng($image, $file); imagedestroy($image); } echo json_encode(['target' => $identity, 'synthetic_only' => true, 'sha256' => hash_file('sha256', $file), 'active_writes' => 0]).PHP_EOL;