OndraM / ci-detector

Detect continuous integration environment and get information of current build
MIT License
212 stars 12 forks source link

Rename methods to make them VCS agnostic [BC break] #95

Closed OndraM closed 3 years ago

OndraM commented 3 years ago

It was probably a not that great idea to name them like that in the first place. But that was a while ago.

getGitCommit() is now getCommit()

-    echo $ci->getGitCommit();
+    echo $ci->getCommit();

getGitBranch() is now getBranch()

-    echo $ci->getGitBranch();
+    echo $ci->getBranch();