stable

Clone or download

Read-only

Event get_reference is now an object

This is part of story #17180 take into account gitlab commits No functional changes expected here. Tha aim of this commit is to ease the ability to add new references from plugins by working with objects instead of arrays. Change-Id: I1ae042ae4caf183167fcd978e2cb5ee753989360

Modified Files

Name
M plugins/docman/include/docmanPlugin.php +6 −5 Go to diff View file
M plugins/git/include/Git/ReferenceManager.class.php +2 −3 Go to diff View file
M plugins/git/include/gitPlugin.php +14 −10 Go to diff View file
M plugins/pullrequest/include/PullRequest/Reference/ReferenceFactory.php +5 −5 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.php +10 −5 Go to diff View file
M plugins/referencealias_core/include/ReferenceAliasCore/ReferencesBuilder.php +3 −6 Go to diff View file
M plugins/referencealias_core/include/referencealias_corePlugin.php +9 −7 Go to diff View file
M plugins/referencealias_git/include/ReferenceAliasGit/ReferencesBuilder.php +3 −6 Go to diff View file
M plugins/referencealias_git/include/referencealias_gitPlugin.php +10 −7 Go to diff View file
M plugins/referencealias_mediawiki/include/ReferencesBuilder.php +3 −6 Go to diff View file
M plugins/referencealias_mediawiki/include/referencealias_mediawikiPlugin.php +11 −5 Go to diff View file
M plugins/referencealias_svn/include/ReferenceAliasSVN/ReferencesBuilder.php +4 −8 Go to diff View file
M plugins/referencealias_svn/include/referencealias_svnPlugin.php +10 −7 Go to diff View file
M plugins/referencealias_tracker/include/ReferenceAliasTracker/OriginalReferencesBuilder.php +3 −7 Go to diff View file
M plugins/referencealias_tracker/include/referencealias_trackerPlugin.php +7 −6 Go to diff View file
M plugins/svn/include/Reference/Extractor.php +6 −7 Go to diff View file
M plugins/svn/include/svnPlugin.php +8 −7 Go to diff View file
M plugins/svn/tests/unit/Reference/ExtractorTest.php +6 −6 Go to diff View file
M plugins/tracker/include/Tracker/ReferenceManager.class.php +3 −9 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +9 −8 Go to diff View file
M src/common/Event/Event.class.php +0 −15 Go to diff View file
A src/common/reference/GetReferenceEvent.php +109 −0 Go to diff View file
M src/common/reference/ReferenceManager.class.php +10 −12 Go to diff View file
M src/core/goto.php +10 −12 Go to diff View file
M tests/unit/common/Reference/ReferenceManagerTest.php +12 −1 Go to diff View file