stable

Clone or download

Read-only

Fix tracker 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/tracker/tests/unit/'` Remaining issue is caused by a library that will be updated in a dedicated contribution. Part of request #30344: Run Tuleap with PHP 8.2 Change-Id: I4aab3e87fa5996e7f98feac340082990d8180276

Modified Files

Name
M plugins/agiledashboard/tests/unit/AgileDashboard/Semantic/MoveSemanticInitialEffortCheckerTest.php +26 −8 Go to diff View file
M plugins/tracker/include/Tracker/Action/CopyArtifact.class.php +12 −7 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveDescriptionSemanticChecker.php +1 −2 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveStatusSemanticChecker.php +3 −4 Go to diff View file
M plugins/tracker/include/Workflow/Action/Rules/EditRules.class.php +1 −2 Go to diff View file
M plugins/tracker/include/Workflow/Transition/Condition/FieldNotEmpty.class.php +1 −2 Go to diff View file
M plugins/tracker/tests/unit/Artifact/Tracker_Artifact_XMLImportTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/REST/WorkflowRestBuilderTest.php +4 −0 Go to diff View file
M plugins/tracker/tests/unit/REST/v1/Workflow/PostAction/TrackerCheckerTest.php +6 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/BeforeMoveArtifactTest.php +57 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/MoveContributorSemanticCheckerTest.php +20 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/MoveDescriptionSemanticCheckerTest.php +20 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/MoveStatusSemanticCheckerTest.php +20 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/MoveTitleSemanticCheckerTest.php +8 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/MailGateway/MailGatewayInsecureTest.php +28 −15 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/MailGateway/MailGatewayTokenTest.php +20 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/MailGateway/RecipientFactoryTest.php +16 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Renderer/FieldsDataFromRequestRetrieverTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkValueSaverTest.php +16 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/ParentLinkActionTest.php +5 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/SubmittedValueConvertorTest.php +4 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/FloatingPointNumber/ChangesCheckerTest.php +6 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/Integer/ChangesCheckerTest.php +6 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Tracker_Artifact_getArtifactLinks_Test.php +1 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Reference/ReferenceCreatorTest.php +16 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Report/Tracker_Report_RESTTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Rules/FirstValidValueAccordingToDependenciesRetrieverTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Status/Done/DoneValueRetrieverTest.php +4 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Status/Done/SemanticDoneValueCheckerTest.php +12 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Status/StatusColorForChangesetProviderTest.php +6 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Status/StatusValueRetrieverTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Status/StatusValuesCollectionTest.php +1 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Service/ServiceActivatorTest.php +4 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/TrackerFactoryDuplicationTest.php +12 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/TrackerManagerTest.php +22 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Tracker_Artifact_ChangesetValue_OpenListTest.php +0 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Tracker_URLTest.php +23 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Webhook/WebhookXMLExporterTest.php +8 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Workflow/Transition/Condition/CommentNotEmptyTest.php +12 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/XML/Exporter/ChangesetValue/ChangesetValueComputedXMLExporterTest.php +5 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/XML/Exporter/Tracker_XML_Exporter_ChildrenXMLExporterTest.php +2 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/XML/Updater/MoveChangesetXMLUpdaterTest.php +37 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/XML/Updater/Tracker_XML_Updater_ChangesetXMLUpdaterTest.php +4 −0 Go to diff View file
M plugins/tracker/tests/unit/Workflow/Action/Rules/Tracker_Workflow_Action_Rules_EditRulesTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Workflow/FirstPossibleValueInListRetrieverTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Workflow/ValidValuesAccordingToTransitionsRetrieverTest.php +6 −0 Go to diff View file
M src/common/include/Codendi_DiffEngine.php +3 −0 Go to diff View file
M src/common/include/Codendi_HWLDF_WordAccumulator.php +6 −6 Go to diff View file