isFile()) { continue; } $relative = substr($file->getPathname(), strlen(PLUGIN_ROOT) + 1); if (str_starts_with($relative, '.git/') || str_starts_with($relative, 'tests/')) { continue; } $content = file_get_contents($file->getPathname()) ?: ''; if (preg_match('/TODO|TBD|FIXME|placeholder|not implemented/i', $content)) { $bad[] = $relative; } } assert_same([], $bad); });