stable

Clone or download

Read-only

refactor: Update Widget::getPreferences() signature

In order to prepare the field to display current preference for selected report to filter Roadmap, we need the content id to be passed alongside the widget id (in our case, the widget id is for the widget while the content id identifies the roadmap configuration). Therefore the signature of all overrides of `Widget::getPreferences()` are updated to: * have the extra parameter $content_id * have a return type * have parameters type No functional change expected Part of story #26776: configure roadmap filters Change-Id: I9d3ff90899134f380fc954cf2850f303c3035925

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Widget/Kanban.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_Widget_Embedded.class.php +5 −5 Go to diff View file
M plugins/git/include/Git_Widget_UserPushes.class.php +5 −5 Go to diff View file
M plugins/graphontrackersv5/include/GraphOnTrackersV5_Widget_Chart.class.php +1 −1 Go to diff View file
M plugins/hudson/include/HudsonJobWidget.class.php +2 −2 Go to diff View file
M plugins/hudson/include/hudson_Widget_MyMonitoredJobs.class.php +1 −1 Go to diff View file
M plugins/label/include/Label/Widget/ProjectLabeledItems.php +1 −1 Go to diff View file
M plugins/projectmilestones/include/Widget/DashboardProjectMilestones.php +1 −1 Go to diff View file
M plugins/projectmilestones/include/Widget/MyProjectMilestones.php +1 −1 Go to diff View file
M plugins/projectmilestones/include/Widget/ProjectMilestonesWidgetRetriever.php +1 −1 Go to diff View file
M plugins/roadmap/include/Roadmap/RoadmapProjectWidget.php +2 −5 Go to diff View file
M plugins/timetracking/include/Timetracking/Widget/TimeTrackingOverview.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Widget/Tracker_Widget_MyArtifacts.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Widget/Tracker_Widget_Renderer.class.php +1 −1 Go to diff View file
M src/common/Dashboard/Widget/PreferencesController.php +2 −2 Go to diff View file
M src/common/Widget/Note/Note.php +1 −4 Go to diff View file
M src/common/Widget/Widget.class.php +1 −1 Go to diff View file
M src/common/Widget/Widget_ImageViewer.class.php +5 −5 Go to diff View file
M src/common/Widget/Widget_MyArtifacts.class.php +27 −27 Go to diff View file
M src/common/Widget/Widget_MyLatestSvnCommits.class.php +3 −3 Go to diff View file
M src/common/Widget/Widget_Rss.class.php +5 −5 Go to diff View file
M tests/psalm/tuleap-baseline.xml +2 −2 Go to diff View file