violations())->toBe([]); }); test('nothing of maryUI or daisyUI is left behind', function () { $leftovers = collect(['resources/views', 'resources/js', 'resources/css', 'app']) ->flatMap(fn (string $path) => File::allFiles(base_path($path))) ->filter(fn (SplFileInfo $file): bool => preg_match('/\b(base-content|bg-base-\d|btn(-[a-z]+)?|x-mary-|daisyui|robsontenorio)\b/', $file->getContents()) === 1) ->map(fn (SplFileInfo $file): string => str_replace(base_path().'/', '', $file->getPathname())) ->values() ->all(); expect($leftovers)->toBe([]); });