stable

Clone or download

Read-only

Remove usages of define() in GitPHP codebase

This way we are sure the constants defined by GitPHP can be accessed and we can let the autoloader do its job. This is part of story #10411: cleanly integrate gitphp into Tuleap Change-Id: I3011ca41ada63698bc9b858e2095e4bccfa11d83

Modified Files

Name
M plugins/git/include/GitPHP/Resource.php +1 −1 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller.php +2 −2 Go to diff View file
M plugins/git/include/GitPHP/controller/ControllerBase.php +1 −1 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_DiffBase.php +7 −32 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Feed.php +15 −18 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Search.php +7 −10 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Snapshot.php +5 −5 Go to diff View file
M plugins/git/include/GitPHP/git/Archive.php +29 −26 Go to diff View file
M plugins/git/include/GitPHP/git/Blob.php +4 −4 Go to diff View file
M plugins/git/include/GitPHP/git/Commit.php +4 −4 Go to diff View file
M plugins/git/include/GitPHP/git/FileDiff.php +1 −1 Go to diff View file
M plugins/git/include/GitPHP/git/GitExe.php +13 −17 Go to diff View file
M plugins/git/include/GitPHP/git/Project.php +6 −6 Go to diff View file
M plugins/git/include/GitPHP/git/Ref.php +1 −1 Go to diff View file
M plugins/git/include/GitPHP/git/Tag.php +3 −3 Go to diff View file
M plugins/git/include/GitPHP/git/Tree.php +1 −1 Go to diff View file
M plugins/git/include/GitPHP/git/TreeDiff.php +1 −1 Go to diff View file
M plugins/git/include/GitViews/GitPhpViewer.class.php +1 −17 Go to diff View file