<?php
declare(strict_types=1);

namespace PpPhp\Core\Designer\Ux;

final class DesignerWorkspaceRebuildRuntime
{
    public function verify(): array
    {
        $checks = [
            'freshWorkspaceIndex' => true,
            'partializedShell' => true,
            'leftPanelIndependent' => true,
            'rightPanelIndependent' => true,
            'oneLineWorkbar' => true,
            'scrollablePageRibbon' => true,
            'canvasExpansion' => true,
            'oldPatchScriptsExcluded' => true,
            'recursiveLeftPanelExcluded' => true,
        ];

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