Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
jlevers committed Feb 26, 2021
1 parent d6d68a6 commit b7c3b3d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 15 deletions.
18 changes: 12 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
.DS_Store
.idea
*.log
tmp/
# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore

composer.phar
/git_push.sh
/vendor/
/.openapi-generator/

composer.lock
git_push.sh
vendor/

# php-cs-fixer cache
.php_cs.cache

# PHPUnit cache
.phpunit.result.cache
4 changes: 4 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OpenAPI Generator Ignore

lib/Authentication.php
lib/Credentials.php
17 changes: 10 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"name": "jlevers/selling-partner-api",
"description": "",
"version": "1.1.3",
"keywords": [
"api",
"selling-partner-api",
"amazon",
"ecommerce",
"spapi"
"sp-api",
"php",
"sdk",
"rest",
"api"
],
"license": "BSD-3-Clause",
"type": "library",
Expand All @@ -17,7 +21,7 @@
}
],
"require": {
"php": ">=5.5",
"php": ">=7.2",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
Expand All @@ -27,11 +31,10 @@
"jsq/psr7-stream-encryption": "^0.4.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8",
"squizlabs/php_codesniffer": "~2.6"
"phpunit/phpunit": "^8.0 || ^9.0",
"friendsofphp/php-cs-fixer": "^2.12"
},
"autoload": {
"psr-4": { "Evers\\SellingPartnerApi\\" : "lib/" },
"files": [ "lib/functions_include.php" ]
"psr-4": { "Evers\\SellingPartnerApi\\" : "lib/" }
}
}
4 changes: 2 additions & 2 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'SellingPartnerAPI/1.1.2 (Language=PHP)';
protected $userAgent = 'SellingPartnerAPI/1.1.3 (Language=PHP)';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -394,7 +394,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' The version of the OpenAPI document: 2020-11-01' . PHP_EOL;
$report .= ' SDK Package Version: 1.1.2' . PHP_EOL;
$report .= ' SDK Package Version: 1.1.3' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down

0 comments on commit b7c3b3d

Please sign in to comment.