stable

Clone or download

Read-only

Fix docman plugin unit tests when running with PHP 8.2

You can test with the following command: `make tests-unit-php PHP_VERSION=82 FILES='plugins/docman/tests/unit/'` Part of request #30344: Run Tuleap with PHP 8.2 Change-Id: I2a1eed714084356c7370efa87a4eb2a30118fb6c

Modified Files

Name
M plugins/docman/include/Docman_ActionsDeleteVisitor.class.php +0 −2 Go to diff View file
M plugins/docman/include/Docman_BuildItemMappingVisitor.class.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_MetadataFactory.class.php +0 −5 Go to diff View file
M plugins/docman/include/Docman_MetadataValueScalar.php +0 −1 Go to diff View file
M plugins/docman/include/Docman_Version.class.php +1 −1 Go to diff View file
M plugins/docman/tests/unit/BuildItemMappingVisitorTest.php +3 −6 Go to diff View file
M plugins/docman/tests/unit/Docman_NotificationsManager_DeleteTest.php +1 −2 Go to diff View file
M plugins/docman/tests/unit/Docman_NotificationsManager_MoveTest.php +1 −2 Go to diff View file
M plugins/docman/tests/unit/Docman_ReportColumnFactoryTest.php +2 −0 Go to diff View file
M plugins/docman/tests/unit/Metadata/CreationMetadataValidatorTest.php +6 −0 Go to diff View file
M plugins/docman/tests/unit/REST/v1/DocmanItemCreatorTest.php +0 −2 Go to diff View file
M plugins/docman/tests/unit/REST/v1/Metadata/MetadataUpdatorTest.php +4 −0 Go to diff View file
M plugins/docman/tests/unit/SystemCheckTest.php +1 −0 Go to diff View file
M plugins/docman/tests/unit/Upload/Document/DocumentToUploadCreatorTest.php +1 −0 Go to diff View file