From bd844b4640ffcbb806dfe907106c144549fb49c9 Mon Sep 17 00:00:00 2001 From: nakagleo Date: Thu, 30 Jan 2025 18:21:39 -0300 Subject: [PATCH] Update composer.json --- .../sellingpartner-api-aa-php/composer.json | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/clients/sellingpartner-api-aa-php/composer.json b/clients/sellingpartner-api-aa-php/composer.json index fa5a33d0..a8af5829 100644 --- a/clients/sellingpartner-api-aa-php/composer.json +++ b/clients/sellingpartner-api-aa-php/composer.json @@ -1,6 +1,6 @@ { "name": "spapi/auth-and-auth", - "description": "Amazon Selling Partner APIs official client library.", + "description": "This library provides helper classes for use when signing HTTP requests for Amazon Selling Partner APIs.", "type": "library", "keywords": [ "sp-api", @@ -19,35 +19,33 @@ } ], "require": { - "php": "^8.3", + "php": "^7.4 || ^8.0", "ext-json": "*", - "guzzlehttp/guzzle": "^8.3", + "guzzlehttp/guzzle": "^7.3", "guzzlehttp/psr7": "^2.0", "aws/aws-sdk-php": "^3.228", - "symfony/http-kernel": "^7.2", - "symfony/rate-limiter": "^7.2", - "vlucas/phpdotenv": "^5.6", - "ext-openssl": "*" + "symfony/http-kernel": "^5.4", + "symfony/rate-limiter": "^5.2", + "vlucas/phpdotenv": "^5.5" }, "require-dev": { - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^9.0", "squizlabs/php_codesniffer": "^3.7" }, "autoload": { "psr-4": { - "SpApi\\AuthAndAuth\\": "src/authandauth/", + "SpApi\\AuthAndAuth\\": "sdk/src/authandauth", "OpenAPI\\Client\\": "sdk/lib/", "OpenAPI\\Client\\Test\\" : "sdk/test/" } }, "autoload-dev": { "psr-4": { - "SpApi\\Test\\AuthAndAuth\\" : "tests/authandauth/", - "OpenAPI\\Client\\": "sdk/lib/" + "SpApi\\Test\\AuthAndAuth\\" : "sdk/src/tests/authandauth/" } }, "scripts": { - "fix": "phpcs --standard=PSR12 src/authandauth tests/authandauth", - "test": "phpunit tests/authandauth" + "fix": "phpcs --standard=PSR12 sdk/src/authandauth sdk/src/tests/", + "test": "phpunit sdk/tests/authandauth" } }