stable

Clone or download

Read-only

Refactoring: have a better naming for metadata representations

part of story #12634 Add custom metadata in modal Why this change: It's not obvious to distinguish Tuleap\Docman\REST\v1\Metadata\DocmanMetadataRepresentation Tuleap\Docman\REST\v1\Metadata\MetadataRepresentation we didn't see it during review process because both representations have been introduced for very different purposes at different times. Change-Id: I0a29e290a8c76f616a1c4c7f96366086bd476e76

Modified Files

Name
M plugins/docman/include/REST/v1/ItemRepresentation.php +2 −2 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/CustomMetadataCollection.php +2 −2 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/CustomMetadataCollectionBuilder.php +1 −1 Go to diff View file
R plugins/docman/include/REST/v1/Metadata/MetadataRepresentation.php Go to diff View file
M plugins/docman/include/REST/v1/Metadata/MetadataRepresentationBuilder.php +2 −2 Go to diff View file
R plugins/docman/include/REST/v1/Metadata/DocmanMetadataRepresentation.php Go to diff View file
M plugins/docman/include/REST/v1/ProjectMetadataResource.php +1 −1 Go to diff View file
M plugins/docman/phpunit/Metadata/CustomMetadataRepresentationRetrieverTest.php +24 −24 Go to diff View file
M plugins/docman/phpunit/REST/v1/ItemRepresentationBuilderTest.php +2 −2 Go to diff View file
M plugins/docman/phpunit/REST/v1/ItemRepresentationCollectionBuilderTest.php +5 −5 Go to diff View file
M plugins/docman/phpunit/REST/v1/Metadata/CustomMetadataCollectionBuilderTest.php +2 −2 Go to diff View file
M plugins/docman/phpunit/REST/v1/MetadataRepresentationBuilderTest.php +6 −6 Go to diff View file