stable

Clone or download

Read-only

Refactoring: Add type hinting

And centralize TimePeriodeWithoutWeekEnd instantiation. This will help future contribution without having to update instantiations all over the codebase. Part of story #12537: configure my burndown/up & sprint with a start date & end date Change-Id: I2ae829ca18486a29873be43f8ef678b1a5b21cb9

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCacheDateRetriever.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDataBuilder.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/SystemEvent/SystemEvent_BURNUP_DAILY.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/SystemEvent/SystemEvent_BURNUP_GENERATE.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/ArtifactMilestone.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/FormElement/BurnupCacheCheckerTest.php +1 −1 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/FormElement/BurnupCacheDateRetrieverTest.php +4 −4 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/FormElement/BurnupDataBuilderTest.php +3 −3 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/Planning/ArtifactMilestoneTest.php +4 −4 Go to diff View file
M plugins/agiledashboard/tests/include/MilestoneFactoryTest.php +8 −8 Go to diff View file
M plugins/graphontrackersv5/phpunit/GraphOnTrackersV5_BurndownDataTest.php +7 −7 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/BurndownCacheDateRetriever.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationChecker.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCommonDataBuilder.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForLegacy.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderForLegacy.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/SystemEvent/SystemEvent_BURNDOWN_DAILY.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/SystemEvent/SystemEvent_BURNDOWN_GENERATE.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/ArtifactTimeframeHelper.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeBuilder.php +3 −3 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/ChartConfigurationValueCheckerTest.php +3 −3 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationCheckerTest.php +4 −4 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForLegacyTest.php +4 −4 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForRESTTest.php +5 −5 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderForLegacyTest.php +3 −3 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderForRESTTest.php +4 −4 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Tracker_FormElement_Field_BurndownTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker/Chart/Data/BurndownTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/Tracker/FormElement/BurndownCacheDateRetrieverTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/Tracker/FormElement/ChartCachedDaysComparatorTest.php +2 −2 Go to diff View file
M src/common/date/TimePeriodWithoutWeekEnd.class.php +64 −60 Go to diff View file
M tests/phpunit/common/date/TimePeriodWithoutWeekEndTest.php +212 −303 Go to diff View file