Skip to content

Commit e5b8155

Browse files
committed
The body of each structure MUST be enclosed by braces. Braces should be properly placed. Body of braces should be properly indented.
1 parent 08a176c commit e5b8155

15 files changed

+23
-30
lines changed

lib/Github/Api/CurrentUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function watched($page = 1)
139139
*/
140140
public function starring()
141141
{
142-
return new Starring($this->client);
142+
return new Starring($this->client);
143143
}
144144

145145
/**

lib/Github/Api/Organization/Members.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ public function all($organization, $type = null, $filter = 'all')
1515
$parameters = array();
1616
$path = 'orgs/'.rawurlencode($organization).'/';
1717
if (null === $type) {
18-
$path .= 'members';
19-
if (null !== $filter) {
20-
$parameters['filter'] = $filter;
21-
}
18+
$path .= 'members';
19+
if (null !== $filter) {
20+
$parameters['filter'] = $filter;
21+
}
2222
} else {
2323
$path .= 'public_members';
2424
}

lib/Github/Api/Search.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,4 @@ public function users($q, $sort = 'updated', $order = 'desc')
7676
{
7777
return $this->get('/search/users', array('q' => $q, 'sort' => $sort, 'order' => $order));
7878
}
79-
8079
}

lib/Github/Client.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,8 @@ public function getSupportedApiVersions()
320320
*
321321
* @throws InvalidArgumentException
322322
*/
323-
public function __call($name, $args) {
323+
public function __call($name, $args)
324+
{
324325
try {
325326
return $this->api($name);
326327
} catch (InvalidArgumentException $e) {

lib/Github/Exception/BadMethodCallException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
*/
1010
class BadMethodCallException extends \BadMethodCallException implements ExceptionInterface
1111
{
12-
1312
}

lib/Github/Exception/ErrorException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
*/
1010
class ErrorException extends \ErrorException implements ExceptionInterface
1111
{
12-
1312
}

lib/Github/Exception/ExceptionInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44

55
interface ExceptionInterface
66
{
7-
87
}

lib/Github/Exception/InvalidArgumentException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
*/
1010
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
1111
{
12-
1312
}

lib/Github/Exception/RuntimeException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
*/
1010
class RuntimeException extends \RuntimeException implements ExceptionInterface
1111
{
12-
1312
}

lib/Github/Exception/ValidationFailedException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
*/
1010
class ValidationFailedException extends ErrorException
1111
{
12-
1312
}

0 commit comments

Comments
 (0)