Skip to content

Commit 2d94c36

Browse files
committed
Change version to respect semver for packagist
1 parent 56c54b0 commit 2d94c36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)