Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit c4e1a4f

Browse files
authored
Merge pull request #65 from gmponos/declare_strict_types
Declare strict types at all classes
2 parents 16cf1b3 + 98381d7 commit c4e1a4f

11 files changed

+22
-0
lines changed

src/Promise.php

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

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6;
46

57
use GuzzleHttp\Exception as GuzzleExceptions;

tests/CurlHttpAdapterTest.php

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

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Handler\CurlHandler;

tests/CurlHttpAsyncAdapterTest.php

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

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Handler\CurlHandler;

tests/DefaultHttpAdapterTest.php

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

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6\Tests;
46

57
use Http\Adapter\Guzzle6\Client;

tests/HttpAdapterTest.php

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

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Client as GuzzleClient;

tests/HttpAsyncAdapterTest.php

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

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Client as GuzzleClient;

tests/MultiCurlHttpAdapterTest.php

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

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Handler\CurlMultiHandler;

tests/MultiCurlHttpAsyncAdapterTest.php

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

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Handler\CurlMultiHandler;

tests/PromiseTest.php

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

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Promise\RejectedPromise;

tests/StreamHttpAdapterTest.php

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

3+
declare(strict_types=1);
4+
35
namespace Http\Adapter\Guzzle6\Tests;
46

57
use GuzzleHttp\Handler\StreamHandler;

0 commit comments

Comments
 (0)