stable

Clone or download

Read-only

Refactoring: Introduce the Snapshot Object

This is part of story #14927 Import issue history The aim of these refactorings is to ease the readability and the maintainability of the whole feature. Objects are easier to manipulate and read than arrays. In addition, objects add an explicit name on the concept we are manipulating. Change-Id: I2c666332cbec960ed2155112d3265890217c7a3d

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntriesBuilder.php +1 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/Snapshot/FieldSnapshot.php +72 −0 Go to diff View file
R plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/CreationStateDataGenerator.php Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/Snapshot/Snapshot.php +78 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php +41 −30 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +6 −5 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +2 −2 Go to diff View file
R plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/CreationStateDataGeneratorTest.php Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +79 −69 Go to diff View file