Skip to content

Commit b8c5137

Browse files
committed
Consistent formatting across the project.
1 parent 77385b1 commit b8c5137

8 files changed

Lines changed: 502 additions & 513 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
{
1010
"name" : "Sean McNamara",
11-
"email": "me@seanmcn.com"
11+
"email": "sean@kobas.co.uk"
1212
}
1313
],
1414
"minimum-stability": "stable",

spec/Kobas/Auth/SignerSpec.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace spec\Kobas\Auth;
44

5-
use PhpSpec\Exception\Example\FailureException;
65
use PhpSpec\ObjectBehavior;
76
use Prophecy\Argument;
87

@@ -35,7 +34,8 @@ function it_signs_post_request()
3534
{
3635
$url = 'https://api.kobas.co.uk/v2/venue';
3736

38-
$result = $this->signRequest('POST', $url, ['Content-Type' => 'application/json'], ['name' => 'New venue', 'description' => 'A good description']);
37+
$result = $this->signRequest('POST', $url, ['Content-Type' => 'application/json'],
38+
['name' => 'New venue', 'description' => 'A good description']);
3939

4040
$result->shouldHaveValueLike('Authorization: Bearer ');
4141
$result->shouldHaveValueLike('X-Kbs-Date: ');
@@ -56,10 +56,8 @@ public function getMatchers()
5656
},
5757
'haveValueLike' => function ($subject, $value) {
5858
$found = false;
59-
foreach($subject as $val)
60-
{
61-
if (strstr($val, $value))
62-
{
59+
foreach ($subject as $val) {
60+
if (strstr($val, $value)) {
6361
$found = true;
6462
}
6563
}

spec/Kobas/ClientSpec.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
class ClientSpec extends ObjectBehavior
1313
{
14-
// Todo Sean: Improve this.
15-
1614
function it_is_initializable()
1715
{
1816
$this->shouldHaveType(Client::class);

0 commit comments

Comments
 (0)