stable

Clone or download

Read-only

Fix recent issues spotted by vimeo/psalm in the tracker plugin

Most of these issues has been introduced by recent developments for story #12189 (prevent field modification according to state), story #13243 (import/export workflow simple mode via XML) and story #13012 (remove trailing 0 of tracker float field). The goal here is to clean errors that has been introduced since the baseline creation before recreating a new baseline with the update of vimeo/psalm. Part of request #13292: Integrate vimeo/psalm to the test pipeline Change-Id: Ie28a862142d1f0ab3417c6fe9af1be886005bd00

Modified Files

Name
M plugins/tracker/include/REST/Artifact/ArtifactRepresentationBuilder.php +7 −14 Go to diff View file
M plugins/tracker/include/REST/CompleteTrackerRepresentation.class.php +3 −3 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +13 −1 Go to diff View file
M plugins/tracker/include/REST/v1/TrackersResource.class.php +5 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactLinkInfo.class.php +7 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Numeric.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkValueSaver.php +5 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/ValueFormatter.php +5 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement.class.php +5 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +2 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Float.class.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Integer.class.php +4 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_BindFactory.class.php +3 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_PermissionsOnArtifact.class.php +5 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_StaticField.class.php +5 −3 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +2 −4 Go to diff View file
M plugins/tracker/include/Tracker/Tracker_FileInfo.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/FrozenFields/FrozenFieldsFactory.php +2 −1 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/PostActionSubFactory.class.php +2 −3 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Transition_PostAction.class.php +4 −4 Go to diff View file
M plugins/tracker/include/Workflow/PostAction/Transition_PostActionFactory.class.php +1 −1 Go to diff View file
M src/common/REST/JsonCast.class.php +1 −0 Go to diff View file