stable

Clone or download

Read-only

chore: rename ArtifactLink\Nature namespace to ArtifactLink\Type

Since the renaming of "nature" to "type" [five years ago][1], only the front end and various places in backend have been changed to reflect that. This means that today we have code that deal with both "nature" and "type" terms. This is confusing, we should only have "type". This is a first contribution to clean this up. Part of story #23042: have "parent" as type within artifacts links [1]: See git #tuleap/stable/db50cfab0a5084ce75e7d6055bf1395a8590a41a Change-Id: Ibf28d1398af3de8c87f18c3b55bd62ef9af21306

Modified Files

Name
M plugins/artifactsfolders/bin/convert_from_folders_to_scrum.php +1 −1 Go to diff View file
M plugins/artifactsfolders/include/Converter/AncestorFolderChecker.php +1 −1 Go to diff View file
M plugins/artifactsfolders/include/Folder/ArtifactPresenterBuilder.php +2 −2 Go to diff View file
M plugins/artifactsfolders/include/Folder/HierarchyOfFolderBuilder.php +1 −1 Go to diff View file
M plugins/artifactsfolders/include/Nature/NatureInFolderPresenter.php +1 −1 Go to diff View file
M plugins/artifactsfolders/include/artifactsfoldersPlugin.php +3 −3 Go to diff View file
M plugins/document_generation/include/document_generationPlugin.php +2 −2 Go to diff View file
M plugins/frs/include/FRS/REST/v1/ReleaseRepresentation.php +1 −1 Go to diff View file
M plugins/jira_import/include/Project/ArtifactLinkType/ArtifactLinkTypeImporter.php +5 −5 Go to diff View file
M plugins/jira_import/include/jira_importPlugin.php +4 −4 Go to diff View file
M plugins/jira_import/tests/unit/Project/ArtifactLinkType/ArtifactLinkTypeImporterTest.php +3 −3 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/IterationCreationProcessorBuilder.php +2 −2 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/IterationUpdateProcessorBuilder.php +2 −2 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessorBuilder.php +2 −2 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/TimeboxArtifactLinkPresenter.php +1 −1 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +1 −1 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/RoadmapResource.php +2 −2 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/TasksResource.php +2 −2 Go to diff View file
M plugins/roadmap/include/Roadmap/Widget/RoadmapWidgetPresenter.php +1 −1 Go to diff View file
M plugins/roadmap/include/Roadmap/Widget/RoadmapWidgetPresenterBuilder.php +2 −2 Go to diff View file
M plugins/roadmap/include/roadmapPlugin.php +2 −2 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/Widget/RoadmapWidgetPresenterBuilderTest.php +2 −2 Go to diff View file
M plugins/testmanagement/include/TestManagement/Nature/NatureCoveredByPresenter.php +1 −1 Go to diff View file
M plugins/testmanagement/include/testmanagementPlugin.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/Artifact/ArtifactRepresentationBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactLinkRepresentation.php +3 −3 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/v1/ReportsResource.class.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/v1/TrackersResource.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Action/UpdateArtifact.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Admin/GlobalAdmin/ArtifactLinks/ArtifactLinksController.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Artifact.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactChildPresenter.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArchiveAndDeleteArtifactTaskBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChanagesetFieldsValidator.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/AddedLinkByNatureCollection.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/UpdatedNatureLinkCollection.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Renderer/CopyRenderer.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Renderer/EditRenderer.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_ArtifactLink.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_ArtifactLinkDiff.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImport.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImport/ArtifactFieldsDataBuilder.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyArtifactLink.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Config/ConfigController.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Events/ArtifactLinkTypeCanBeUnused.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Events/GetEditableTypesInProject.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ArtifactLinkValidator.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ArtifactLinksToRender.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ArtifactLinksToRenderForPerNatureTable.php +1 −1 Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/AllNaturesRetriever.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/ArtifactInNatureTablePresenter.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/CSVOutputStrategy.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/HTMLOutputStrategy.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/NoFieldToFormatException.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/OutputStrategy.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/ReplaceValueVisitor.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/UnsupportedFieldException.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/ValueFormatter.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/IRetrieveAllUsableTypesInProject.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/InvalidNatureParameterException.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureConfigController.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureConfigPresenter.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureCreator.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureCreatorInterface.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureDao.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureDeletor.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureEditor.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureIsChildLinkRetriever.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureIsChildPresenter.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureManagementException.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NaturePresenter.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NaturePresenterFactory.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureSelectorPresenter.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureTablePresenter.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureUsagePresenter.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureUsagePresenterFactory.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureValidator.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/ParentOfArtifactCollection.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/TypeSelectorRenderer.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/UnableToCreateNatureException.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/UnableToDeleteNatureException.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/UnableToEditNatureException.php Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.php +8 −8 Go to diff View file
M plugins/tracker/include/Tracker/Hierarchy/HierarchyFactory.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report_Renderer_Table.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/MethodBuilder.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgress.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticManager.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +3 −3 Go to diff View file
M plugins/tracker/include/TrackerXmlExport.class.php +2 −2 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +8 −8 Go to diff View file
M plugins/tracker/tests/unit/Artifact/Tracker_Artifact_XMLImportTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Artifact/XMLImport/TrackerArtifactXMLImportArtifactFieldsDataBuilderTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ArtifactRepresentationBuilderTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/Tracker_Action_UpdateArtifactTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLinkDiffTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/XMLImport/XMLImportFieldStrategyArtifactLinkTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/XmlImportTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/ArtifactLinkValidatorTest.php +9 −9 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/Nature/NaturePresenterFactoryTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/Nature/NatureValidatorTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/Nature/TypeSelectorRendererTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/ProcessChildrenTriggersCommandTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Hierarchy/HierarchyFactoryTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Hierarchy/TrackerHierarchyFactoryGetParentArtifactTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Hierarchy/TrackerHierarchyFactoryGetParentTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodBuilderTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/XML/Exporter/TrackerXmlExportTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker_Artifact_ChangesetValue_ArtifactLinkTest.php +1 −1 Go to diff View file
M tests/psalm/tuleap-baseline.xml +18 −18 Go to diff View file