Skip to content

Commit 5a37ec2

Browse files
committed
Fixed coding style issues.
- Fixed classes docblock. - Fixed files docblock. - Fixed some PSR issues.
1 parent 3d75413 commit 5a37ec2

39 files changed

+77
-130
lines changed

lib/Bitbucket/API/Api.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/*
3+
/**
44
* This file is part of the bitbucket-api package.
55
*
66
* (c) Alexandru G. <alex@gentle.ro>
@@ -20,8 +20,6 @@
2020
use Buzz\Client\Curl;
2121

2222
/**
23-
* Api
24-
*
2523
* @author Alexandru G. <alex@gentle.ro>
2624
*/
2725
class Api

lib/Bitbucket/API/Authentication/AuthenticationInterface.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/**
4+
* This file is part of the bitbucket-api package.
5+
*
6+
* (c) Alexandru G. <alex@gentle.ro>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Bitbucket\API\Authentication;
413

514
use Buzz\Message\RequestInterface;

lib/Bitbucket/API/Authentication/Basic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/*
3+
/**
44
* This file is part of the bitbucket-api package.
55
*
66
* (c) Alexandru G. <alex@gentle.ro>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/*
3+
/**
44
* This file is part of the bitbucket-api package.
55
*
66
* (c) Alexandru G. <alex@gentle.ro>
@@ -12,8 +12,8 @@
1212
namespace Bitbucket\API\Authentication;
1313

1414
/**
15-
* Exception
16-
*
1715
* @author Alexandru G. <alex@gentle.ro>
1816
*/
19-
class Exception extends \Exception { }
17+
class Exception extends \Exception
18+
{
19+
}

lib/Bitbucket/API/Authentication/OAuth.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

3-
/*
4-
* This file is part of the bitbucket_api package.
3+
/**
4+
* This file is part of the bitbucket-api package.
55
*
66
* (c) Alexandru G. <alex@gentle.ro>
77
*
@@ -14,8 +14,6 @@
1414
use Buzz\Message\RequestInterface;
1515

1616
/**
17-
* OAuth class
18-
*
1917
* Build authorization header from previously signed OAuth parameters
2018
* and pass it to current request.
2119
*
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

3-
/*
4-
* This file is part of the bitbucket_api package.
3+
/**
4+
* This file is part of the bitbucket-api package.
55
*
66
* (c) Alexandru G. <alex@gentle.ro>
77
*
@@ -12,11 +12,8 @@
1212
namespace Bitbucket\API\Exceptions;
1313

1414
/**
15-
* ForbiddenAccessException class
16-
*
17-
* [Class description]
18-
*
1915
* @author Alexandru G. <alex@gentle.ro>
2016
*/
2117
class ForbiddenAccessException extends \Exception
22-
{ }
18+
{
19+
}

lib/Bitbucket/API/GroupPrivileges.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/*
3+
/**
44
* This file is part of the bitbucket-api package.
55
*
66
* (c) Alexandru G. <alex@gentle.ro>
@@ -12,8 +12,6 @@
1212
namespace Bitbucket\API;
1313

1414
/**
15-
* GroupPrivileges class
16-
*
1715
* Manages a group's repository permissions.
1816
*
1917
* @author Alexandru G. <alex@gentle.ro>

lib/Bitbucket/API/Groups.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/*
3+
/**
44
* This file is part of the bitbucket-api package.
55
*
66
* (c) Alexandru G. <alex@gentle.ro>
@@ -13,8 +13,6 @@
1313

1414

1515
/**
16-
* Groups class
17-
*
1816
* Provides functionality for querying information about groups,
1917
* creating new ones, updating memberships, and deleting them.
2018
*

lib/Bitbucket/API/Groups/Members.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
/*
3+
/**
44
* This file is part of the bitbucket-api package.
55
*
66
* (c) Alexandru G. <alex@gentle.ro>
@@ -14,8 +14,6 @@
1414
use Bitbucket\API;
1515

1616
/**
17-
* Members class
18-
*
1917
* Manage group members.
2018
*
2119
* @author Alexandru G. <alex@gentle.ro>

lib/Bitbucket/API/Http/Listener/BasicAuthListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ public function getName()
2525
{
2626
return 'basicauth';
2727
}
28-
}
28+
}

0 commit comments

Comments
 (0)