stable

Clone or download

Read-only

Do not pass around a TimePeriod encapsulated in another object when it's not useful

Also, ensure the TimePeriod is always of the expected type. No functionnal change is introduced by this contribution. This is part of story #10670: a BurnUp chart based on Done stories Change-Id: I1b2a9ab7682bae7937d2f501c19198719c58fafc

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCacheChecker.php +5 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupData.php +8 −24 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDataBuilder.php +2 −4 Go to diff View file
M plugins/agiledashboard/tests/include/AgileDashboard/FormElement/BurnupCacheCheckerTest.php +15 −18 Go to diff View file
M plugins/tracker/include/Tracker/Chart/Data/Burndown.class.php +2 −6 Go to diff View file
D plugins/tracker/include/Tracker/Chart/Data/IProvideChartData.php +0 −29 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartCachedDaysComparator.php +16 −13 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.class.php +3 −3 Go to diff View file
M plugins/tracker/include/autoload.php +2 −3 Go to diff View file
M plugins/tracker/tests/Tracker/Chart/Data/BurndownTest.php +4 −5 Go to diff View file
M plugins/tracker/tests/Tracker/FormElement/ChartCachedDaysComparatorTest.php +2 −5 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_BurndownTest.php +1 −1 Go to diff View file