From 37abed07c99059b8039d0ee7714bcbbe3ec51127 Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Wed, 1 Mar 2023 16:22:11 +0000 Subject: [PATCH 1/3] Bump minimum versions for dependencies; require PHP 7.4 or higher --- composer.json | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 6ce917a..25d0507 100644 --- a/composer.json +++ b/composer.json @@ -1,14 +1,28 @@ { "name": "convertkit/convertkitapi", - "description": "ConvertKit API SDK", - "keywords": ["convertkit", "api", "forms"], + "description": "ConvertKit PHP SDK for the ConvertKit API", + "keywords": [ + "convertkit", + "api", + "forms" + ], + "homepage": "https://convertkit.com/", + "license": "GPLv3", + "authors": [ + { + "name": "ConvertKit and contributors", + "homepage": "https://github.com/convertkit/convertkitsdk-php/contributors" + } + ], "require": { - "php": ">=5.5", - "guzzlehttp/guzzle": "^6.3", + "php": ">=7.4", + "guzzlehttp/guzzle": "^6.5|^7.0", "monolog/monolog": "^2.0" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^5.7 || ^9.0", + "squizlabs/php_codesniffer": "^3.3", + "phpstan/phpstan": "^1.2", }, "autoload": { "psr-4": { From 1bd3188f38481fab89d19124233ca9a8abe98575 Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Wed, 1 Mar 2023 16:25:15 +0000 Subject: [PATCH 2/3] Remove trailing comma --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 25d0507..a667c54 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require-dev": { "phpunit/phpunit": "^5.7 || ^9.0", "squizlabs/php_codesniffer": "^3.3", - "phpstan/phpstan": "^1.2", + "phpstan/phpstan": "^1.2" }, "autoload": { "psr-4": { From 43a7f07d7ae3d2bded997ae0df5509aac53e9fcf Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Wed, 1 Mar 2023 16:38:34 +0000 Subject: [PATCH 3/3] Updated .gitignore file to exclude vendor folder and other local files --- .gitignore | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c708edb..d755384 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ -src/logs -.idea .DS_Store -.phpunit.result.cache - +.env +.env.testing +composer.lock +phpstan.neon +src/logs +vendor \ No newline at end of file