stable

Clone or download

Read-only

refactor: s/DatePeriodWithoutWeekEnd/DatePeriodWithOpenDays/

Part of request #37921 Burnup/Burndown cache generation fail In 93142a7ac71c9d73d4fd1b2aab448f1cebe77bc4, config key opening_days was introduced. We now use it in DatePeriod to not skip saturday and sunday, but days defined as closed by config. As default config is for saturday and sunday, no functional changes are expected. Change-Id: Ic398a5810da1d8db96f66aa3638a3a137f944181

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCacheChecker.php +3 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCacheDateRetriever.php +5 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupData.php +4 −4 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDataBuilder.php +3 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/SystemEvent/SystemEvent_BURNUP_DAILY.php +4 −4 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/SystemEvent/SystemEvent_BURNUP_GENERATE.php +3 −3 Go to diff View file
M plugins/agiledashboard/include/Planning/ArtifactMilestone.class.php +3 −3 Go to diff View file
M plugins/agiledashboard/include/Planning/Milestone.class.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/Planning/NoMilestone.class.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/Planning/VirtualTopMilestone.class.php +2 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/FormElement/BurnupCacheCheckerTest.php +3 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/FormElement/BurnupCacheDateRetrieverTest.php +5 −5 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/FormElement/BurnupDataBuilderTest.php +5 −5 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/ArtifactMilestoneTest.php +4 −4 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetBareMilestoneByArtifactIdTest.php +2 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetMilestoneTest.php +5 −5 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetPaginatedMilestonesTest.php +5 −5 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetTopMilestonesTest.php +4 −4 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryTest.php +6 −6 Go to diff View file
M plugins/graphontrackersv5/tests/unit/GraphOnTrackersV5_BurndownDataTest.php +8 −8 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/Timebox/TimeframeValueRetriever.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/Timebox/TimeframeValueRetrieverTest.php +2 −2 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/TaskOutOfDateDetector.php +2 −2 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskOutOfDateDetectorTest.php +3 −3 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskRepresentationBuilderForTrackerTest.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Chart/Data/Burndown.class.php +4 −6 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/BurndownCacheDateRetriever.php +5 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartCachedDaysComparator.php +5 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartConfigurationValueRetriever.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationChecker.php +5 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCommonDataBuilder.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForLegacy.php +6 −6 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForREST.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderForLegacy.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/SystemEvent/SystemEvent_BURNDOWN_DAILY.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/SystemEvent/SystemEvent_BURNDOWN_GENERATE.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/IComputeTimeframes.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTracker.php +11 −11 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeNotConfigured.php +9 −9 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithDuration.php +10 −10 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithEndDate.php +10 −10 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/TimeframeConfigInvalid.php +6 −6 Go to diff View file
M plugins/tracker/tests/unit/Stub/Semantic/Timeframe/IComputeTimeframesStub.php +7 −7 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/EventDatesRetrieverTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Chart/Data/BurndownTest.php +6 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/ChartCachedDaysComparatorTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/ChartConfigurationValueCheckerTest.php +9 −9 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/Burndown/BurndownCacheDateRetrieverTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationCheckerTest.php +5 −5 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForLegacyTest.php +5 −5 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForRESTTest.php +6 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderForLegacyTest.php +4 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderForRESTTest.php +6 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Tracker_FormElement_Field_BurndownTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTrackerTest.php +4 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Tooltip/OtherSemantic/TimeframeTooltipEntryTest.php +9 −9 Go to diff View file
R src/common/Date/DatePeriodWithoutWeekEnd.php Go to diff View file
M tests/psalm/tuleap-baseline.xml +0 −45 Go to diff View file
R tests/unit/common/Date/DatePeriodWithoutWeekEndTest.php Go to diff View file