This is currently spotted by Psalm and it's an easy fix.
ERROR: DeprecatedMethod - plugins/roadmap/include/roadmapPlugin.php:166:31 - The method Tuleap\Request\CurrentPage::isProjectDashboard has been marked as deprecated (see https://psalm.dev/001)
return $current_page->isProjectDashboard();