Skip to content

Commit 9acf27f

Browse files
acrobatNyholm
authored andcommitted
Mark legacy search methods as deprecated (#658)
1 parent 1654be3 commit 9acf27f

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

lib/Github/Api/Issue.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ public function all($username, $repository, array $params = array())
6060
/**
6161
* Search issues by username, repo, state and keyword.
6262
*
63+
* @deprecated This method is deprecated use the Search api instead. See https://developer.github.com/v3/search/legacy/#legacy-search-api-is-deprecated
64+
*
6365
* @link http://developer.github.com/v3/search/#search-issues
6466
*
6567
* @param string $username the username

lib/Github/Api/Repo.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ class Repo extends AbstractApi
3131
/**
3232
* Search repositories by keyword.
3333
*
34+
* @deprecated This method is deprecated use the Search api instead. See https://developer.github.com/v3/search/legacy/#legacy-search-api-is-deprecated
35+
*
3436
* @link http://developer.github.com/v3/search/#search-repositories
3537
*
3638
* @param string $keyword the search query

lib/Github/Api/User.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ class User extends AbstractApi
1414
/**
1515
* Search users by username.
1616
*
17+
* @deprecated This method is deprecated use the Search api instead. See https://developer.github.com/v3/search/legacy/#legacy-search-api-is-deprecated
18+
*
1719
* @link http://developer.github.com/v3/search/#search-users
1820
*
1921
* @param string $keyword the keyword to search

0 commit comments

Comments
 (0)