Skip to content

Commit fc6c114

Browse files
authored
Merge pull request #19 from ionutcalara/master
Change version to respect semver for packagist
2 parents 56c54b0 + 2d94c36 commit fc6c114

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "paylike/php-api",
33
"description": "PHP SDK to communicate with the Paylike HTTP api",
4-
"version": "0.2.0",
4+
"version": "1.0.0",
55
"license": "MIT",
66
"authors": [
77
{

src/HttpClient/CurlClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function request(
7676
'Accept: application/vnd.api+json',
7777
'Content-Type: application/vnd.api+json'
7878
));
79-
curl_setopt($ch, CURLOPT_USERAGENT, 'PHP 0.2.0 (php' . phpversion() .')');
79+
curl_setopt($ch, CURLOPT_USERAGENT, 'PHP 1.0.0 (php' . phpversion() .')');
8080
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, $this->verify_ssl);
8181
curl_setopt($ch, CURLOPT_USERPWD, ":" . $this->api_key);
8282
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);

0 commit comments

Comments
 (0)