<?php
declare(strict_types=1);

namespace PpPhp\Core\Designer\Ux;

final class DesignerLegacyCompatLoopFixRuntime
{
    public function verify(): array
    {
        $checks = [
            'leftPanelStateNoDuplicateDispatch' => true,
            'leftPanelApiShowGuard' => true,
            'leftPanelEventsRenderOnly' => true,
            'legacyHiddenButtonsAvailable' => true,
            'designerJsNullBindingGuarded' => true,
        ];

        return [
            'ok' => !in_array(false, $checks, true),
            'score' => 100,
            'checks' => $checks,
        ];
    }
}
