File tree Expand file tree Collapse file tree 7 files changed +7
-8
lines changed Expand file tree Collapse file tree 7 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ ratings:
2525 - " **.rb"
2626exclude_paths :
2727- 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.
377377
378378## License
379379
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 5252 ->setMessage ($ message )
5353 ->perform ();
5454
55- print_r ($ request ->getEffectiveRawHeader ());
55+ // print_r($request->getEffectiveRawHeader());
Original file line number Diff line number Diff line change 1414 </exclude >
1515 </whitelist >
1616 </filter >
17- </phpunit >
17+ </phpunit >
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function __construct(array $bodyData)
3535 */
3636 public function configureCurl ($ curl )
3737 {
38- $ jsonBody = @ json_encode ($ this ->bodyData );
38+ $ jsonBody = json_encode ($ this ->bodyData );
3939 if ($ jsonBody === false ) {
4040 throw new HttpRequestMessageException ('JSON body data not serializable. ' );
4141 }
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ protected function setBody($body)
2424 parent ::setBody (null );
2525 return $ this ;
2626 }
27- $ body = @ json_decode ($ body , true );
27+ $ body = json_decode ($ body , true );
2828 if (is_null ($ body )) {
2929 throw new HttpResponseException ('Response data is no valid JSON string. ' );
3030 }
Original file line number Diff line number Diff line change 66
77use Markenwerk \JsonHttpClient ;
88use Markenwerk \BasicHttpClient \Request \Authentication ;
9- use Markenwerk \BasicHttpClient \Request \Message ;
109
1110// Instantiating a basic HTTP client with the endpoints URL
1211// If the endpoint uses the `HTTPS` schema a `HttpsTransport` instance will be used automatically.
3130 )
3231));
3332
34- print_r ($ client ->getRequest ()->getEffectiveRawHeader ());
33+ // print_r($client->getRequest()->getEffectiveRawHeader());
You can’t perform that action at this time.
0 commit comments