From 3f93ee7a7ac1b6a7286ee178bd0e4a6325b8c549 Mon Sep 17 00:00:00 2001 From: Bryan Crowe Date: Fri, 26 Sep 2014 21:35:59 -0400 Subject: [PATCH 1/2] Convert tabs to spaces --- lib/Github/Api/Repo.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Github/Api/Repo.php b/lib/Github/Api/Repo.php index 9be29c0cfa1..f950b95b11f 100644 --- a/lib/Github/Api/Repo.php +++ b/lib/Github/Api/Repo.php @@ -49,10 +49,10 @@ public function find($keyword, array $params = array()) */ public function activity($username, $repository) { - return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/stats/commit_activity'); + return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/stats/commit_activity'); } - /** + /** * Get contributor commit statistics for a repository * @link http://developer.github.com/v3/repos/statistics/#contributors * @@ -61,10 +61,10 @@ public function activity($username, $repository) * * @return array list of contributors and their commit statistics */ - public function statistics($username, $repository) - { - return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/stats/contributors'); - } + public function statistics($username, $repository) + { + return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/stats/contributors'); + } /** * List all repositories for an organization From ed37a0dc2dc6ec54b6c262758ece3cfea0427237 Mon Sep 17 00:00:00 2001 From: Maxime Horcholle Date: Wed, 8 Oct 2014 10:10:27 +0200 Subject: [PATCH 2/2] fix indent related https://github.com/KnpLabs/php-github-api/pull/200 --- lib/Github/Api/Repo.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/Github/Api/Repo.php b/lib/Github/Api/Repo.php index f950b95b11f..071eab4843d 100644 --- a/lib/Github/Api/Repo.php +++ b/lib/Github/Api/Repo.php @@ -53,14 +53,14 @@ public function activity($username, $repository) } /** - * Get contributor commit statistics for a repository - * @link http://developer.github.com/v3/repos/statistics/#contributors - * - * @param string $username the user who owns the repository - * @param string $repository the name of the repository - * - * @return array list of contributors and their commit statistics - */ + * Get contributor commit statistics for a repository + * @link http://developer.github.com/v3/repos/statistics/#contributors + * + * @param string $username the user who owns the repository + * @param string $repository the name of the repository + * + * @return array list of contributors and their commit statistics + */ public function statistics($username, $repository) { return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/stats/contributors');