- private-audit: env() pode devolver bool; só descodifica JSON quando é texto. - migração de rascunhos: recriar triggers SQLite com DB::statement. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
396 B
PHP
12 lines
396 B
PHP
<?php
|
|
|
|
$legacyTransitions = env('COMPRAS_AUDIT_LEGACY_TRANSITIONS', '{}');
|
|
|
|
return [
|
|
'qa_enabled' => false,
|
|
// Explicit installation transition receipt: tenant => immutable export ID => original SHA-256.
|
|
'legacy_export_transitions' => is_string($legacyTransitions) && $legacyTransitions !== ''
|
|
? json_decode($legacyTransitions, true, 32, JSON_THROW_ON_ERROR)
|
|
: [],
|
|
];
|