Skip to content

Commit

Permalink
Merge pull request #97 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude authored Nov 10, 2022
2 parents fab757e + f4a95c4 commit 004d0e4
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"psr/log": "^1.0 || ^2.0 || 3.0",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"cache/filesystem-adapter": "^1.0",
"ramsey/uuid": "^4.0",
"symfony/cache": "^3.0 || ^4.0 || ^5.0 || ^6.0"
},
Expand Down
2 changes: 1 addition & 1 deletion lib/commercetools-api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"psr/log": "^1.0",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"cache/filesystem-adapter": "^1.0",
"symfony/cache": "^3.0 || ^4.0 || ^5.0 || ^6.0",
"commercetools/commercetools-sdk-base": "@dev"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion lib/commercetools-base/src/Client/CacheValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function validateCache($cache = null)
if (class_exists('Symfony\Component\Cache\Simple\FilesystemCache')) {
/** @psalm-suppress all */
/** @var CacheItemPoolInterface $cache */
$cache = new FilesystemCache('', 0, getcwd() . "/cache");
$cache = new \Symfony\Component\Cache\Simple\FilesystemCache('', 0, getcwd() . "/cache");
} else {
/** @psalm-suppress all */
/** @var CacheItemPoolInterface $cache */
Expand Down
3 changes: 0 additions & 3 deletions lib/commercetools-base/src/Client/OAuthHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@

namespace Commercetools\Client;

use Cache\Adapter\Filesystem\FilesystemCachePool;
use Commercetools\Exception\InvalidArgumentException;
use GuzzleHttp\Client;
use League\Flysystem\Adapter\Local;
use League\Flysystem\Filesystem;
use Psr\Cache\CacheItemPoolInterface;
use Psr\SimpleCache\CacheInterface;

Expand Down
2 changes: 1 addition & 1 deletion lib/commercetools-history/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"psr/log": "^1.0",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"cache/filesystem-adapter": "^1.0",
"symfony/cache": "^3.0 || ^4.0 || ^5.0 || ^6.0",
"commercetools/commercetools-sdk-base": "@dev"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion lib/commercetools-import/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"psr/log": "^1.0",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"cache/filesystem-adapter": "^1.0",
"symfony/cache": "^3.0 || ^4.0 || ^5.0 || ^6.0",
"commercetools/commercetools-sdk-base": "@dev"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion lib/commercetools-ml/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"psr/log": "^1.0",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"cache/filesystem-adapter": "^1.0",
"symfony/cache": "^3.0 || ^4.0 || ^5.0 || ^6.0",
"commercetools/commercetools-sdk-base": "@dev"
},
"require-dev": {
Expand Down
1 change: 1 addition & 0 deletions reference.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
13d90559d3ca80e53e4701cd85c575d2cf932efb

0 comments on commit 004d0e4

Please sign in to comment.