1313/**
1414 * Helper class for interacting with the GitHub API.
1515 *
16- * @since __DEPLOY_VERSION__
16+ * @since 3.0.0
1717 */
1818class GitHub
1919{
2020 /**
2121 * Options for the connector.
2222 *
2323 * @var Registry
24- * @since __DEPLOY_VERSION__
24+ * @since 3.0.0
2525 */
2626 protected $ options ;
2727
2828 /**
2929 * The HTTP client object to use in sending HTTP requests.
3030 *
3131 * @var \JHttp
32- * @since __DEPLOY_VERSION__
32+ * @since 3.0.0
3333 */
3434 protected $ client ;
3535
@@ -39,7 +39,7 @@ class GitHub
3939 * @param Registry $options Connector options.
4040 * @param \JHttp $client The HTTP client object.
4141 *
42- * @since __DEPLOY_VERSION__
42+ * @since 3.0.0
4343 */
4444 public function __construct (Registry $ options = null , \JHttp $ client = null )
4545 {
@@ -59,7 +59,7 @@ public function __construct(Registry $options = null, \JHttp $client = null)
5959 *
6060 * @return string The request URL.
6161 *
62- * @since __DEPLOY_VERSION__
62+ * @since 3.0.0
6363 */
6464 protected function fetchUrl ($ path , $ page = 0 , $ limit = 0 )
6565 {
@@ -105,7 +105,7 @@ protected function fetchUrl($path, $page = 0, $limit = 0)
105105 *
106106 * @return \JHttp
107107 *
108- * @since __DEPLOY_VERSION__
108+ * @since 3.0.0
109109 */
110110 public function getClient ()
111111 {
@@ -121,7 +121,7 @@ public function getClient()
121121 *
122122 * @return \JHttpResponse
123123 *
124- * @since __DEPLOY_VERSION__
124+ * @since 3.0.0
125125 */
126126 public function getDiffForPullRequest ($ user , $ repo , $ pullId )
127127 {
@@ -146,7 +146,7 @@ public function getDiffForPullRequest($user, $repo, $pullId)
146146 *
147147 * @return \JHttpResponse
148148 *
149- * @since __DEPLOY_VERSION__
149+ * @since 3.0.0
150150 */
151151 public function getFileContents ($ user , $ repo , $ path , $ ref = null )
152152 {
@@ -174,7 +174,7 @@ public function getFileContents($user, $repo, $path, $ref = null)
174174 *
175175 * @return \JHttpResponse
176176 *
177- * @since __DEPLOY_VERSION__
177+ * @since 3.0.0
178178 */
179179 public function getFilesForPullRequest ($ user , $ repo , $ pullId )
180180 {
@@ -196,7 +196,7 @@ public function getFilesForPullRequest($user, $repo, $pullId)
196196 *
197197 * @return \JHttpResponse
198198 *
199- * @since __DEPLOY_VERSION__
199+ * @since 3.0.0
200200 */
201201 public function getOpenIssues ($ user , $ repo , $ page = 0 , $ limit = 0 )
202202 {
@@ -213,7 +213,7 @@ public function getOpenIssues($user, $repo, $page = 0, $limit = 0)
213213 *
214214 * @return mixed The option value.
215215 *
216- * @since __DEPLOY_VERSION__
216+ * @since 3.0.0
217217 */
218218 public function getOption ($ key , $ default = null )
219219 {
@@ -229,7 +229,7 @@ public function getOption($key, $default = null)
229229 *
230230 * @return \JHttpResponse
231231 *
232- * @since __DEPLOY_VERSION__
232+ * @since 3.0.0
233233 */
234234 public function getPullRequest ($ user , $ repo , $ pullId )
235235 {
@@ -246,7 +246,7 @@ public function getPullRequest($user, $repo, $pullId)
246246 *
247247 * @return \JHttpResponse
248248 *
249- * @since __DEPLOY_VERSION__
249+ * @since 3.0.0
250250 */
251251 public function getRateLimit ()
252252 {
@@ -263,7 +263,7 @@ public function getRateLimit()
263263 *
264264 * @return \JHttpResponse
265265 *
266- * @since __DEPLOY_VERSION__
266+ * @since 3.0.0
267267 * @throws Exception\UnexpectedResponse
268268 */
269269 protected function processResponse (\JHttpResponse $ response , $ expectedCode = 200 )
@@ -293,7 +293,7 @@ protected function processResponse(\JHttpResponse $response, $expectedCode = 200
293293 *
294294 * @return array Associative array containing the prepared URL and request headers
295295 *
296- * @since __DEPLOY_VERSION__
296+ * @since 3.0.0
297297 */
298298 protected function prepareRequest ($ path , $ page = 0 , $ limit = 0 , array $ headers = array ())
299299 {
@@ -315,7 +315,7 @@ protected function prepareRequest($path, $page = 0, $limit = 0, array $headers =
315315 *
316316 * @return $this
317317 *
318- * @since __DEPLOY_VERSION__
318+ * @since 3.0.0
319319 */
320320 public function setOption ($ key , $ value )
321321 {
0 commit comments