File tree 7 files changed +7
-8
lines changed
7 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ ratings:
25
25
- " **.rb"
26
26
exclude_paths :
27
27
- test/
28
- - vendor/
28
+ - vendor/
Original file line number Diff line number Diff line change @@ -377,4 +377,4 @@ Contributing to our projects is always very appreciated.
377
377
378
378
## License
379
379
380
- PHP JSON HTTP Client is under the MIT license.
380
+ PHP JSON HTTP Client is under the MIT license.
Original file line number Diff line number Diff line change 52
52
->setMessage ($ message )
53
53
->perform ();
54
54
55
- print_r ($ request ->getEffectiveRawHeader ());
55
+ // print_r($request->getEffectiveRawHeader());
Original file line number Diff line number Diff line change 14
14
</exclude >
15
15
</whitelist >
16
16
</filter >
17
- </phpunit >
17
+ </phpunit >
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function __construct(array $bodyData)
35
35
*/
36
36
public function configureCurl ($ curl )
37
37
{
38
- $ jsonBody = @ json_encode ($ this ->bodyData );
38
+ $ jsonBody = json_encode ($ this ->bodyData );
39
39
if ($ jsonBody === false ) {
40
40
throw new HttpRequestMessageException ('JSON body data not serializable. ' );
41
41
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ protected function setBody($body)
24
24
parent ::setBody (null );
25
25
return $ this ;
26
26
}
27
- $ body = @ json_decode ($ body , true );
27
+ $ body = json_decode ($ body , true );
28
28
if (is_null ($ body )) {
29
29
throw new HttpResponseException ('Response data is no valid JSON string. ' );
30
30
}
Original file line number Diff line number Diff line change 6
6
7
7
use Markenwerk \JsonHttpClient ;
8
8
use Markenwerk \BasicHttpClient \Request \Authentication ;
9
- use Markenwerk \BasicHttpClient \Request \Message ;
10
9
11
10
// Instantiating a basic HTTP client with the endpoints URL
12
11
// If the endpoint uses the `HTTPS` schema a `HttpsTransport` instance will be used automatically.
31
30
)
32
31
));
33
32
34
- print_r ($ client ->getRequest ()->getEffectiveRawHeader ());
33
+ // print_r($client->getRequest()->getEffectiveRawHeader());
You can’t perform that action at this time.
0 commit comments