From 8e71de9aa048cbf10793af1cab08d0cfeeebb405 Mon Sep 17 00:00:00 2001 From: mtrop-godaddy Date: Mon, 2 Sep 2024 11:35:03 +0100 Subject: [PATCH] Support for PHP 8.1+ --- composer.json | 11 +- composer.lock | 1393 +++++++++-------- src/API/BaseApiClient.php | 2 +- src/Client/GuzzleTrait.php | 6 +- src/Command/Accounts/AddSshKeyCommand.php | 2 +- src/Command/Apps/AliasSearchCommand.php | 2 +- src/Command/Apps/AppWebserverCommand.php | 2 +- src/Command/Apps/CreateAppCommand.php | 2 +- src/Command/Apps/DisableAppCommand.php | 2 +- src/Command/Apps/DomainAddCommand.php | 2 +- src/Command/Apps/DomainMakePrimaryCommand.php | 2 +- src/Command/Apps/DomainRemoveCommand.php | 2 +- src/Command/Apps/GetAppBackupCommand.php | 2 +- src/Command/Apps/GetAppCommand.php | 2 +- .../CreateGitIntegrationCommand.php | 2 +- .../DeleteGitIntegrationCommand.php | 2 +- .../GetGitIntegrationCommand.php | 2 +- src/Command/Apps/ListAppsCommand.php | 2 +- src/Command/Apps/RemoveAppCommand.php | 2 +- src/Command/Ares/RedirectsGetCsvCommand.php | 2 +- src/Command/Ares/RedirectsUploadCommand.php | 2 +- src/Command/Auth/ClientLoginCommand.php | 2 +- src/Command/Auth/LoginCommand.php | 2 +- src/Command/Auth/LogoutCommand.php | 2 +- src/Command/SSL/AppCertUpdateCommand.php | 2 +- src/Command/SSL/CSRCreateCommand.php | 2 +- src/Command/SSL/CSRListCommand.php | 2 +- src/Command/SSL/CertActivateCommand.php | 2 +- src/Command/SSL/CertAddCommand.php | 2 +- src/Command/SSL/CertGetCommand.php | 2 +- src/Command/SSL/CertImportCommand.php | 2 +- src/Command/SSL/CertLinkCommand.php | 2 +- src/Command/SSL/CertListCommand.php | 2 +- src/Command/SSL/LetsencryptCertCommand.php | 2 +- .../SSL/LetsencryptJobStatusCommand.php | 2 +- .../SSL/LetsencryptRegisterCommand.php | 2 +- src/Command/SSL/LetsencryptRenewCommand.php | 2 +- src/Command/SSL/SearchLinkedCommand.php | 2 +- src/Helper.php | 9 +- 39 files changed, 805 insertions(+), 684 deletions(-) diff --git a/composer.json b/composer.json index e84ffaf..25985b1 100644 --- a/composer.json +++ b/composer.json @@ -12,13 +12,14 @@ } }, "require": { - "php": "^7.1", + "php": "^8.1", "rdlowrey/auryn": "^1.4", - "duncan3dc/console": "^2.0", - "guzzlehttp/guzzle": "^6.3", - "vlucas/phpdotenv": "^2.4", + "duncan3dc/console": "^2.3", + "symfony/console": "^5.3.16 || ^6.0.19", + "guzzlehttp/guzzle": "^7.8", + "vlucas/phpdotenv": "^5.0", "monolog/monolog": "^1.21", - "namshi/cuzzle": "^2.0", + "octoper/cuzzle": "^3.0", "ramsey/uuid": "^3.5" } } diff --git a/composer.lock b/composer.lock index baa2de0..9a0dd68 100644 --- a/composer.lock +++ b/composer.lock @@ -4,41 +4,43 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6a629b754fc3c3d845948f93f369fa20", + "content-hash": "2b2ad71d79580f30ace32600597c7f3c", "packages": [ { "name": "duncan3dc/console", - "version": "2.1.0", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/duncan3dc/console.git", - "reference": "5ef1ab9e26d04287516f22aa9056ae3bbcfa48e3" + "reference": "b0e190af8470a3e328941afc106e75469bda77ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/duncan3dc/console/zipball/5ef1ab9e26d04287516f22aa9056ae3bbcfa48e3", - "reference": "5ef1ab9e26d04287516f22aa9056ae3bbcfa48e3", + "url": "https://api.github.com/repos/duncan3dc/console/zipball/b0e190af8470a3e328941afc106e75469bda77ba", + "reference": "b0e190af8470a3e328941afc106e75469bda77ba", "shasum": "" }, "require": { "duncan3dc/symfony-climate": "^1.0", - "nunomaduro/collision": "^3.0 || ^4.0 || ^5.0", + "filp/whoops": "^2.15", + "league/climate": "^3.8.2", + "nunomaduro/collision": "^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0", "php": "^7.4 || ^8.0", - "stecman/symfony-console-completion": "^0.11", - "symfony/console": "^4.4 || ^5.1", - "symfony/event-dispatcher": "^4.4 || ^5.1", - "symfony/filesystem": "^4.4 || ^5.1", - "symfony/finder": "^4.4 || ^5.1", - "symfony/lock": "^4.4.2 || ^5.1" + "stecman/symfony-console-completion": "^0.11 || ^0.12 || ^0.13", + "symfony/console": "^5.3.16 || ^6.0.19 || ^7.0", + "symfony/event-dispatcher": "^5.3 || ^6.0.19 || ^7.0", + "symfony/filesystem": "^5.3 || ^6.0.19 || ^7.0", + "symfony/finder": "^5.3.16 || ^6.0.19 || ^7.0", + "symfony/lock": "^5.3 || ^6.0.19 || ^7.0" }, "require-dev": { "duncan3dc/uopz-expectations": "^1.0", - "maglnet/composer-require-checker": "^2.0 || ^3.0", - "mockery/mockery": "^1.4", - "phpstan/phpstan": "^0.12.48", - "phpstan/phpstan-mockery": "^0.12.7", - "phpstan/phpstan-phpunit": "^0.12.16", - "phpunit/phpunit": "^9.0", + "maglnet/composer-require-checker": "^3.0 || ^4.0", + "mockery/mockery": "^1.6.7", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.6 || ^10.0", "squizlabs/php_codesniffer": "^3.6" }, "type": "library", @@ -68,36 +70,37 @@ ], "support": { "issues": "https://github.com/duncan3dc/console/issues", - "source": "https://github.com/duncan3dc/console/tree/2.1.0" + "source": "https://github.com/duncan3dc/console/tree/2.3.0" }, - "time": "2021-08-15T11:31:38+00:00" + "time": "2024-07-29T13:25:52+00:00" }, { "name": "duncan3dc/symfony-climate", - "version": "1.0.1", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/duncan3dc/symfony-climate.git", - "reference": "d0e6d5a0d7a36aeb66dbbbf5a37800ab8b2f3009" + "reference": "090db4aadbd476f29bde54cfd091eaaf4c5bf372" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/duncan3dc/symfony-climate/zipball/d0e6d5a0d7a36aeb66dbbbf5a37800ab8b2f3009", - "reference": "d0e6d5a0d7a36aeb66dbbbf5a37800ab8b2f3009", + "url": "https://api.github.com/repos/duncan3dc/symfony-climate/zipball/090db4aadbd476f29bde54cfd091eaaf4c5bf372", + "reference": "090db4aadbd476f29bde54cfd091eaaf4c5bf372", "shasum": "" }, "require": { "league/climate": "^3.0", "php": "^7.4 || ^8.0", - "symfony/console": "^4.4 || ^5.0" + "symfony/console": "^5.0 || ^6.0 || ^7.0" }, "require-dev": { "duncan3dc/object-intruder": "^1.0", - "maglnet/composer-require-checker": "^2.0 || ^3.0", + "maglnet/composer-require-checker": "^2.0 || ^3.0 || ^4.0", "mockery/mockery": "^1.4", + "nikic/php-parser": "^4.18", "phpstan/phpstan": "^0.12.94", "phpstan/phpstan-mockery": "^0.12.3", - "phpunit/phpunit": "^8.0", + "phpunit/phpunit": "^9.0", "squizlabs/php_codesniffer": "^3.6" }, "type": "library", @@ -128,36 +131,46 @@ ], "support": { "issues": "https://github.com/duncan3dc/symfony-climate/issues", - "source": "https://github.com/duncan3dc/symfony-climate/tree/1.0.1" + "source": "https://github.com/duncan3dc/symfony-climate/tree/1.2.0" }, - "time": "2021-08-15T11:05:21+00:00" + "time": "2024-07-29T12:04:39+00:00" }, { - "name": "facade/ignition-contracts", - "version": "1.0.2", + "name": "filp/whoops", + "version": "2.15.4", "source": { "type": "git", - "url": "https://github.com/facade/ignition-contracts.git", - "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267" + "url": "https://github.com/filp/whoops.git", + "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/3c921a1cdba35b68a7f0ccffc6dffc1995b18267", - "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267", + "url": "https://api.github.com/repos/filp/whoops/zipball/a139776fa3f5985a50b509f2a02ff0f709d2a546", + "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546", "shasum": "" }, "require": { - "php": "^7.3|^8.0" + "php": "^5.5.9 || ^7.0 || ^8.0", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^v2.15.8", - "phpunit/phpunit": "^9.3.11", - "vimeo/psalm": "^3.17.1" + "mockery/mockery": "^0.9 || ^1.0", + "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" + }, + "suggest": { + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, "autoload": { "psr-4": { - "Facade\\IgnitionContracts\\": "src" + "Whoops\\": "src/Whoops/" } }, "notification-url": "https://packagist.org/downloads/", @@ -166,61 +179,58 @@ ], "authors": [ { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://flareapp.io", + "name": "Filipe Dobreira", + "homepage": "https://github.com/filp", "role": "Developer" } ], - "description": "Solution contracts for Ignition", - "homepage": "https://github.com/facade/ignition-contracts", + "description": "php error handling for cool kids", + "homepage": "https://filp.github.io/whoops/", "keywords": [ - "contracts", - "flare", - "ignition" + "error", + "exception", + "handling", + "library", + "throwable", + "whoops" ], "support": { - "issues": "https://github.com/facade/ignition-contracts/issues", - "source": "https://github.com/facade/ignition-contracts/tree/1.0.2" + "issues": "https://github.com/filp/whoops/issues", + "source": "https://github.com/filp/whoops/tree/2.15.4" }, - "time": "2020-10-16T08:27:54+00:00" + "funding": [ + { + "url": "https://github.com/denis-sokolov", + "type": "github" + } + ], + "time": "2023-11-03T12:00:00+00:00" }, { - "name": "filp/whoops", - "version": "2.14.5", + "name": "graham-campbell/result-type", + "version": "v1.1.3", "source": { "type": "git", - "url": "https://github.com/filp/whoops.git", - "reference": "a63e5e8f26ebbebf8ed3c5c691637325512eb0dc" + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/a63e5e8f26ebbebf8ed3c5c691637325512eb0dc", - "reference": "a63e5e8f26ebbebf8ed3c5c691637325512eb0dc", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945", + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0 || ^8.0", - "psr/log": "^1.0.1 || ^2.0 || ^3.0" + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.3" }, "require-dev": { - "mockery/mockery": "^0.9 || ^1.0", - "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", - "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" - }, - "suggest": { - "symfony/var-dumper": "Pretty print complex values better with var-dumper available", - "whoops/soap": "Formats errors as SOAP responses" + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7-dev" - } - }, "autoload": { "psr-4": { - "Whoops\\": "src/Whoops/" + "GrahamCampbell\\ResultType\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -229,66 +239,78 @@ ], "authors": [ { - "name": "Filipe Dobreira", - "homepage": "https://github.com/filp", - "role": "Developer" + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" } ], - "description": "php error handling for cool kids", - "homepage": "https://filp.github.io/whoops/", + "description": "An Implementation Of The Result Type", "keywords": [ - "error", - "exception", - "handling", - "library", - "throwable", - "whoops" + "Graham Campbell", + "GrahamCampbell", + "Result Type", + "Result-Type", + "result" ], "support": { - "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.14.5" + "issues": "https://github.com/GrahamCampbell/Result-Type/issues", + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.3" }, "funding": [ { - "url": "https://github.com/denis-sokolov", + "url": "https://github.com/GrahamCampbell", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type", + "type": "tidelift" } ], - "time": "2022-01-07T12:00:00+00:00" + "time": "2024-07-20T21:45:45+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "6.5.8", + "version": "7.9.2", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "a52f0440530b54fa079ce76e8c5d196a42cad981" + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/a52f0440530b54fa079ce76e8c5d196a42cad981", - "reference": "a52f0440530b54fa079ce76e8c5d196a42cad981", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.0", - "guzzlehttp/psr7": "^1.9", - "php": ">=5.5", - "symfony/polyfill-intl-idn": "^1.17" + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" }, "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0", - "psr/log": "^1.1" + "guzzle/client-integration-tests": "3.0.2", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", + "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", "psr/log": "Required for using the Log middleware" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "6.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { @@ -341,19 +363,20 @@ } ], "description": "Guzzle is a PHP HTTP client library", - "homepage": "http://guzzlephp.org/", "keywords": [ "client", "curl", "framework", "http", "http client", + "psr-18", + "psr-7", "rest", "web service" ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/6.5.8" + "source": "https://github.com/guzzle/guzzle/tree/7.9.2" }, "funding": [ { @@ -369,38 +392,37 @@ "type": "tidelift" } ], - "time": "2022-06-20T22:16:07+00:00" + "time": "2024-07-24T11:22:20+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.1", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", - "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "url": "https://api.github.com/repos/guzzle/promises/zipball/6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -437,7 +459,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.1" + "source": "https://github.com/guzzle/promises/tree/2.0.3" }, "funding": [ { @@ -453,47 +475,48 @@ "type": "tidelift" } ], - "time": "2021-10-22T20:56:57+00:00" + "time": "2024-07-18T10:29:17+00:00" }, { "name": "guzzlehttp/psr7", - "version": "1.9.0", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318" + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/e98e3e6d4f86621a9b75f623996e6bbdeb4b9318", - "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", "shasum": "" }, "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0", + "ralouphie/getallheaders": "^3.0" }, "provide": { + "psr/http-factory-implementation": "1.0", "psr/http-message-implementation": "1.0" }, "require-dev": { - "ext-zlib": "*", - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.9-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Psr7\\": "src/" } @@ -532,6 +555,11 @@ "name": "Tobias Schultze", "email": "webmaster@tubo-world.de", "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" } ], "description": "PSR-7 message implementation that also provides common utility methods", @@ -547,7 +575,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.9.0" + "source": "https://github.com/guzzle/psr7/tree/2.7.0" }, "funding": [ { @@ -563,7 +591,7 @@ "type": "tidelift" } ], - "time": "2022-06-20T21:43:03+00:00" + "time": "2024-07-18T11:15:46+00:00" }, { "name": "league/climate", @@ -717,36 +745,56 @@ "time": "2022-06-09T08:53:42+00:00" }, { - "name": "namshi/cuzzle", - "version": "2.0.3", + "name": "nunomaduro/collision", + "version": "v7.10.0", "source": { "type": "git", - "url": "https://github.com/namshi/cuzzle.git", - "reference": "89849bb9c729a3d8aabf94c0b66e77c7df38abda" + "url": "https://github.com/nunomaduro/collision.git", + "reference": "49ec67fa7b002712da8526678abd651c09f375b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/namshi/cuzzle/zipball/89849bb9c729a3d8aabf94c0b66e77c7df38abda", - "reference": "89849bb9c729a3d8aabf94c0b66e77c7df38abda", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/49ec67fa7b002712da8526678abd651c09f375b2", + "reference": "49ec67fa7b002712da8526678abd651c09f375b2", "shasum": "" }, "require": { - "guzzlehttp/guzzle": "^6.0", - "php": ">=5.5.0", - "psr/log": "^1.0" + "filp/whoops": "^2.15.3", + "nunomaduro/termwind": "^1.15.1", + "php": "^8.1.0", + "symfony/console": "^6.3.4" + }, + "conflict": { + "laravel/framework": ">=11.0.0" }, "require-dev": { - "phpunit/phpunit": "^4.2.2" + "brianium/paratest": "^7.3.0", + "laravel/framework": "^10.28.0", + "laravel/pint": "^1.13.3", + "laravel/sail": "^1.25.0", + "laravel/sanctum": "^3.3.1", + "laravel/tinker": "^2.8.2", + "nunomaduro/larastan": "^2.6.4", + "orchestra/testbench-core": "^8.13.0", + "pestphp/pest": "^2.23.2", + "phpunit/phpunit": "^10.4.1", + "sebastian/environment": "^6.0.1", + "spatie/laravel-ignition": "^2.3.1" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" + "laravel": { + "providers": [ + "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + ] } }, "autoload": { + "files": [ + "./src/Adapters/Phpunit/Autoload.php" + ], "psr-4": { - "Namshi\\Cuzzle\\": "src/" + "NunoMaduro\\Collision\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -755,63 +803,88 @@ ], "authors": [ { - "name": "Nikita Nefedov", - "email": "inefedor@gmail.com" - }, - { - "name": "cirpo", - "email": "alessandro.cinelli@gmail.com" + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" } ], - "description": "Get the cURL shell command from a Guzzle request", + "description": "Cli error handling for console/command-line PHP applications.", + "keywords": [ + "artisan", + "cli", + "command-line", + "console", + "error", + "handling", + "laravel", + "laravel-zero", + "php", + "symfony" + ], "support": { - "issues": "https://github.com/namshi/cuzzle/issues", - "source": "https://github.com/namshi/cuzzle/tree/master" + "issues": "https://github.com/nunomaduro/collision/issues", + "source": "https://github.com/nunomaduro/collision" }, - "time": "2016-11-23T08:01:36+00:00" + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://www.patreon.com/nunomaduro", + "type": "patreon" + } + ], + "time": "2023-10-11T15:45:01+00:00" }, { - "name": "nunomaduro/collision", - "version": "v5.11.0", + "name": "nunomaduro/termwind", + "version": "v1.15.1", "source": { "type": "git", - "url": "https://github.com/nunomaduro/collision.git", - "reference": "8b610eef8582ccdc05d8f2ab23305e2d37049461" + "url": "https://github.com/nunomaduro/termwind.git", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/8b610eef8582ccdc05d8f2ab23305e2d37049461", - "reference": "8b610eef8582ccdc05d8f2ab23305e2d37049461", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc", "shasum": "" }, "require": { - "facade/ignition-contracts": "^1.0", - "filp/whoops": "^2.14.3", - "php": "^7.3 || ^8.0", - "symfony/console": "^5.0" + "ext-mbstring": "*", + "php": "^8.0", + "symfony/console": "^5.3.0|^6.0.0" }, "require-dev": { - "brianium/paratest": "^6.1", - "fideloper/proxy": "^4.4.1", - "fruitcake/laravel-cors": "^2.0.3", - "laravel/framework": "8.x-dev", - "nunomaduro/larastan": "^0.6.2", - "nunomaduro/mock-final-classes": "^1.0", - "orchestra/testbench": "^6.0", - "phpstan/phpstan": "^0.12.64", - "phpunit/phpunit": "^9.5.0" + "ergebnis/phpstan-rules": "^1.0.", + "illuminate/console": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0", + "laravel/pint": "^1.0.0", + "pestphp/pest": "^1.21.0", + "pestphp/pest-plugin-mock": "^1.0", + "phpstan/phpstan": "^1.4.6", + "phpstan/phpstan-strict-rules": "^1.1.0", + "symfony/var-dumper": "^5.2.7|^6.0.0", + "thecodingmachine/phpstan-strict-rules": "^1.0.0" }, "type": "library", "extra": { "laravel": { "providers": [ - "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + "Termwind\\Laravel\\TermwindServiceProvider" ] } }, "autoload": { + "files": [ + "src/Functions.php" + ], "psr-4": { - "NunoMaduro\\Collision\\": "src/" + "Termwind\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -824,22 +897,18 @@ "email": "enunomaduro@gmail.com" } ], - "description": "Cli error handling for console/command-line PHP applications.", + "description": "Its like Tailwind CSS, but for the console.", "keywords": [ - "artisan", "cli", - "command-line", "console", - "error", - "handling", - "laravel", - "laravel-zero", + "css", + "package", "php", - "symfony" + "style" ], "support": { - "issues": "https://github.com/nunomaduro/collision/issues", - "source": "https://github.com/nunomaduro/collision" + "issues": "https://github.com/nunomaduro/termwind/issues", + "source": "https://github.com/nunomaduro/termwind/tree/v1.15.1" }, "funding": [ { @@ -851,11 +920,77 @@ "type": "github" }, { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" + "url": "https://github.com/xiCO2k", + "type": "github" } ], - "time": "2022-01-10T16:22:52+00:00" + "time": "2023-02-08T01:06:31+00:00" + }, + { + "name": "octoper/cuzzle", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/octoper/cuzzle.git", + "reference": "d644aaf3bdb578776c65c3e5328f84e012d07c2b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/octoper/cuzzle/zipball/d644aaf3bdb578776c65c3e5328f84e012d07c2b", + "reference": "d644aaf3bdb578776c65c3e5328f84e012d07c2b", + "shasum": "" + }, + "require": { + "guzzlehttp/guzzle": "^7.2", + "php": ">=7.3", + "psr/log": "^1.1", + "symfony/process": "^5.2" + }, + "require-dev": { + "pestphp/pest": "^1.0", + "phpstan/phpstan": "^0.12.58", + "phpunit/phpunit": "^9.4.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Namshi\\Cuzzle\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vaggelis Yfantis", + "email": "me@octoper.com" + }, + { + "name": "cirpo", + "email": "alessandro.cinelli@gmail.com" + }, + { + "name": "Nikita Nefedov", + "email": "inefedor@gmail.com" + } + ], + "description": "Get the cURL shell command from a Guzzle request", + "support": { + "source": "https://github.com/octoper/cuzzle/tree/3.1.0" + }, + "funding": [ + { + "url": "https://github.com/octoper", + "type": "github" + } + ], + "time": "2021-03-15T16:20:51+00:00" }, { "name": "paragonie/random_compat", @@ -907,24 +1042,104 @@ }, "time": "2020-10-15T08:29:30+00:00" }, + { + "name": "phpoption/phpoption", + "version": "1.9.3", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/e3fac8b24f56113f7cb96af14958c0dd16330f54", + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "1.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpOption\\": "src/PhpOption/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" + }, + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "support": { + "issues": "https://github.com/schmittjoh/php-option/issues", + "source": "https://github.com/schmittjoh/php-option/tree/1.9.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", + "type": "tidelift" + } + ], + "time": "2024-07-20T21:41:07+00:00" + }, { "name": "psr/container", - "version": "1.1.2", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", "shasum": "" }, "require": { "php": ">=7.4.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -951,26 +1166,129 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.2" + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client" }, - "time": "2021-11-05T16:50:12+00:00" + "time": "2023-09-23T14:17:50+00:00" }, { - "name": "psr/event-dispatcher", - "version": "1.0.0", + "name": "psr/http-factory", + "version": "1.1.0", "source": { "type": "git", - "url": "https://github.com/php-fig/event-dispatcher.git", - "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + "url": "https://github.com/php-fig/http-factory.git", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", - "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", "shasum": "" }, "require": { - "php": ">=7.2.0" + "php": ">=7.1", + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -980,7 +1298,7 @@ }, "autoload": { "psr-4": { - "Psr\\EventDispatcher\\": "src/" + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -990,42 +1308,46 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], - "description": "Standard interfaces for event handling.", + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", "keywords": [ - "events", + "factory", + "http", + "message", "psr", - "psr-14" + "psr-17", + "psr-7", + "request", + "response" ], "support": { - "issues": "https://github.com/php-fig/event-dispatcher/issues", - "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + "source": "https://github.com/php-fig/http-factory" }, - "time": "2019-01-08T18:20:26+00:00" + "time": "2024-04-15T12:06:14+00:00" }, { "name": "psr/http-message", - "version": "1.0.1", + "version": "2.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -1040,7 +1362,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP messages", @@ -1054,9 +1376,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/master" + "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2016-08-06T14:39:51+00:00" + "time": "2023-04-04T09:54:51+00:00" }, { "name": "psr/log", @@ -1154,16 +1476,16 @@ }, { "name": "ramsey/uuid", - "version": "3.9.6", + "version": "3.9.7", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "ffa80ab953edd85d5b6c004f96181a538aad35a3" + "reference": "dc75aa439eb4c1b77f5379fd958b3dc0e6014178" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/ffa80ab953edd85d5b6c004f96181a538aad35a3", - "reference": "ffa80ab953edd85d5b6c004f96181a538aad35a3", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/dc75aa439eb4c1b77f5379fd958b3dc0e6014178", + "reference": "dc75aa439eb4c1b77f5379fd958b3dc0e6014178", "shasum": "" }, "require": { @@ -1200,11 +1522,6 @@ "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, "autoload": { "files": [ "src/functions.php" @@ -1255,7 +1572,7 @@ "type": "tidelift" } ], - "time": "2021-09-25T23:07:42+00:00" + "time": "2022-12-19T21:55:10+00:00" }, { "name": "rdlowrey/auryn", @@ -1379,29 +1696,30 @@ }, { "name": "stecman/symfony-console-completion", - "version": "0.11.0", + "version": "v0.13.0", "source": { "type": "git", "url": "https://github.com/stecman/symfony-console-completion.git", - "reference": "a9502dab59405e275a9f264536c4e1cb61fc3518" + "reference": "769e6b49123847648ae80f10d3ccb0f128cbb953" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stecman/symfony-console-completion/zipball/a9502dab59405e275a9f264536c4e1cb61fc3518", - "reference": "a9502dab59405e275a9f264536c4e1cb61fc3518", + "url": "https://api.github.com/repos/stecman/symfony-console-completion/zipball/769e6b49123847648ae80f10d3ccb0f128cbb953", + "reference": "769e6b49123847648ae80f10d3ccb0f128cbb953", "shasum": "" }, "require": { - "php": ">=5.3.2", - "symfony/console": "~2.3 || ~3.0 || ~4.0 || ~5.0" + "php": ">=8.0.2", + "symfony/console": "~6.3 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.8.36 || ~5.7 || ~6.4" + "dms/phpunit-arraysubset-asserts": "^0.4.0", + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.10.x-dev" + "dev-master": "0.14.x-dev" } }, "autoload": { @@ -1422,58 +1740,53 @@ "description": "Automatic BASH completion for Symfony Console Component based applications.", "support": { "issues": "https://github.com/stecman/symfony-console-completion/issues", - "source": "https://github.com/stecman/symfony-console-completion/tree/0.11.0" + "source": "https://github.com/stecman/symfony-console-completion/tree/v0.13.0" }, - "time": "2019-11-24T17:03:06+00:00" + "time": "2024-07-05T11:49:57+00:00" }, { "name": "symfony/console", - "version": "v5.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "4d671ab4ddac94ee439ea73649c69d9d200b5000" + "reference": "42686880adaacdad1835ee8fc2a9ec5b7bd63998" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/4d671ab4ddac94ee439ea73649c69d9d200b5000", - "reference": "4d671ab4ddac94ee439ea73649c69d9d200b5000", + "url": "https://api.github.com/repos/symfony/console/zipball/42686880adaacdad1835ee8fc2a9ec5b7bd63998", + "reference": "42686880adaacdad1835ee8fc2a9ec5b7bd63998", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.1|^6.0" + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^5.4|^6.0|^7.0" }, "conflict": { - "psr/log": ">=3", - "symfony/dependency-injection": "<4.4", - "symfony/dotenv": "<5.1", - "symfony/event-dispatcher": "<4.4", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" }, "provide": { - "psr/log-implementation": "1.0|2.0" + "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { - "psr/log": "^1|^2", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/lock": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^5.4|^6.0|^7.0", + "symfony/messenger": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -1502,12 +1815,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.10" + "source": "https://github.com/symfony/console/tree/v6.4.11" }, "funding": [ { @@ -1523,29 +1836,29 @@ "type": "tidelift" } ], - "time": "2022-06-26T13:00:04+00:00" + "time": "2024-08-15T22:48:29+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.2", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1574,7 +1887,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" }, "funding": [ { @@ -1590,48 +1903,43 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.4.9", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc" + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", - "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/event-dispatcher-contracts": "^2|^3", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.2", + "symfony/event-dispatcher-contracts": "^2.5|^3" }, "conflict": { - "symfony/dependency-injection": "<4.4" + "symfony/dependency-injection": "<6.4", + "symfony/service-contracts": "<2.5" }, "provide": { "psr/event-dispatcher-implementation": "1.0", - "symfony/event-dispatcher-implementation": "2.0" + "symfony/event-dispatcher-implementation": "2.0|3.0" }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/http-foundation": "^4.4|^5.0|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/stopwatch": "^4.4|^5.0|^6.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/error-handler": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/stopwatch": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -1659,7 +1967,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.9" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.1.1" }, "funding": [ { @@ -1675,33 +1983,30 @@ "type": "tidelift" } ], - "time": "2022-05-05T16:45:39+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v2.5.2", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1" + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1", - "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.1", "psr/event-dispatcher": "^1" }, - "suggest": { - "symfony/event-dispatcher-implementation": "" - }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1738,7 +2043,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" }, "funding": [ { @@ -1754,27 +2059,29 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/filesystem", - "version": "v5.4.9", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "36a017fa4cce1eff1b8e8129ff53513abcef05ba" + "reference": "92a91985250c251de9b947a14bb2c9390b1a562c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/36a017fa4cce1eff1b8e8129ff53513abcef05ba", - "reference": "36a017fa4cce1eff1b8e8129ff53513abcef05ba", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/92a91985250c251de9b947a14bb2c9390b1a562c", + "reference": "92a91985250c251de9b947a14bb2c9390b1a562c", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.2", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", - "symfony/polyfill-php80": "^1.16" + "symfony/polyfill-mbstring": "~1.8" + }, + "require-dev": { + "symfony/process": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -1802,7 +2109,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.9" + "source": "https://github.com/symfony/filesystem/tree/v7.1.2" }, "funding": [ { @@ -1818,26 +2125,27 @@ "type": "tidelift" } ], - "time": "2022-05-20T13:55:35+00:00" + "time": "2024-06-28T10:03:55+00:00" }, { "name": "symfony/finder", - "version": "v5.4.8", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9" + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/9b630f3427f3ebe7cd346c277a1408b00249dad9", - "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9", + "url": "https://api.github.com/repos/symfony/finder/zipball/d95bbf319f7d052082fb7af147e0f835a695e823", + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.2" + }, + "require-dev": { + "symfony/filesystem": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -1865,7 +2173,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.8" + "source": "https://github.com/symfony/finder/tree/v7.1.4" }, "funding": [ { @@ -1881,34 +2189,33 @@ "type": "tidelift" } ], - "time": "2022-04-15T08:07:45+00:00" + "time": "2024-08-13T14:28:19+00:00" }, { "name": "symfony/lock", - "version": "v5.4.10", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/lock.git", - "reference": "41a308008d92d30cae5615d903c4d46d95932eea" + "reference": "1f8c941f1270dee046e09a826bcdd3b2ebada45e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/lock/zipball/41a308008d92d30cae5615d903c4d46d95932eea", - "reference": "41a308008d92d30cae5615d903c4d46d95932eea", + "url": "https://api.github.com/repos/symfony/lock/zipball/1f8c941f1270dee046e09a826bcdd3b2ebada45e", + "reference": "1f8c941f1270dee046e09a826bcdd3b2ebada45e", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/log": "^1|^2|^3", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.2", + "psr/log": "^1|^2|^3" }, "conflict": { - "doctrine/dbal": "<2.13" + "doctrine/dbal": "<3.6", + "symfony/cache": "<6.4" }, "require-dev": { - "doctrine/dbal": "^2.13|^3.0", - "predis/predis": "~1.0" + "doctrine/dbal": "^3.6|^4", + "predis/predis": "^1.1|^2.0" }, "type": "library", "autoload": { @@ -1944,7 +2251,7 @@ "semaphore" ], "support": { - "source": "https://github.com/symfony/lock/tree/v5.4.10" + "source": "https://github.com/symfony/lock/tree/v7.1.1" }, "funding": [ { @@ -1960,20 +2267,20 @@ "type": "tidelift" } ], - "time": "2022-06-09T13:29:56+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.26.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" + "reference": "0424dff1c58f028c451efff2045f5d92410bd540" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", + "reference": "0424dff1c58f028c451efff2045f5d92410bd540", "shasum": "" }, "require": { @@ -1987,9 +2294,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -2026,7 +2330,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.0" }, "funding": [ { @@ -2042,20 +2346,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.26.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "433d05519ce6990bf3530fba6957499d327395c2" + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", - "reference": "433d05519ce6990bf3530fba6957499d327395c2", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/64647a7c30b2283f5d49b874d84a18fc22054b7a", + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a", "shasum": "" }, "require": { @@ -2066,9 +2370,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -2107,94 +2408,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-05-24T11:49:31+00:00" - }, - { - "name": "symfony/polyfill-intl-idn", - "version": "v1.26.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/59a8d271f00dd0e4c2e518104cc7963f655a1aa8", - "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "symfony/polyfill-intl-normalizer": "^1.10", - "symfony/polyfill-php72": "^1.10" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Idn\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Laurent Bassin", - "email": "laurent@bassin.info" - }, - { - "name": "Trevor Rowbotham", - "email": "trevor.rowbotham@pm.me" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "idn", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.30.0" }, "funding": [ { @@ -2210,20 +2424,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.26.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd" + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/a95281b0be0d9ab48050ebd988b967875cdb9fdb", + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb", "shasum": "" }, "require": { @@ -2234,9 +2448,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -2278,7 +2489,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.30.0" }, "funding": [ { @@ -2294,20 +2505,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.26.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c", + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", "shasum": "" }, "require": { @@ -2321,9 +2532,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -2361,83 +2569,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-05-24T11:49:31+00:00" - }, - { - "name": "symfony/polyfill-php72", - "version": "v1.26.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/bf44a9fd41feaac72b074de600314a93e2ae78e2", - "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0" }, "funding": [ { @@ -2453,20 +2585,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-06-19T12:30:46+00:00" }, { - "name": "symfony/polyfill-php73", - "version": "v1.26.0", + "name": "symfony/polyfill-php80", + "version": "v1.30.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85", - "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433", + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", "shasum": "" }, "require": { @@ -2474,9 +2606,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -2487,7 +2616,7 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" + "Symfony\\Polyfill\\Php80\\": "" }, "classmap": [ "Resources/stubs" @@ -2498,6 +2627,10 @@ "MIT" ], "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, { "name": "Nicolas Grekas", "email": "p@tchwork.com" @@ -2507,7 +2640,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -2516,7 +2649,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0" }, "funding": [ { @@ -2532,44 +2665,33 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { - "name": "symfony/polyfill-php80", - "version": "v1.26.0", + "name": "symfony/process", + "version": "v5.4.40", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" + "url": "https://github.com/symfony/process.git", + "reference": "deedcb3bb4669cae2148bc920eafd2b16dc7c046" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "url": "https://api.github.com/repos/symfony/process/zipball/deedcb3bb4669cae2148bc920eafd2b16dc7c046", + "reference": "deedcb3bb4669cae2148bc920eafd2b16dc7c046", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, "autoload": { - "files": [ - "bootstrap.php" - ], "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" + "Symfony\\Component\\Process\\": "" }, - "classmap": [ - "Resources/stubs" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2578,28 +2700,18 @@ ], "authors": [ { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" + "source": "https://github.com/symfony/process/tree/v5.4.40" }, "funding": [ { @@ -2615,37 +2727,34 @@ "type": "tidelift" } ], - "time": "2022-05-10T07:21:04+00:00" + "time": "2024-05-31T14:33:22+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.5.2", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1|^3" + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { "ext-psr": "<1.1|>=2" }, - "suggest": { - "symfony/service-implementation": "" - }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -2655,7 +2764,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2682,7 +2794,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" }, "funding": [ { @@ -2698,38 +2810,39 @@ "type": "tidelift" } ], - "time": "2022-05-30T19:17:29+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/string", - "version": "v5.4.10", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "4432bc7df82a554b3e413a8570ce2fea90e94097" + "reference": "6cd670a6d968eaeb1c77c2e76091c45c56bc367b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/4432bc7df82a554b3e413a8570ce2fea90e94097", - "reference": "4432bc7df82a554b3e413a8570ce2fea90e94097", + "url": "https://api.github.com/repos/symfony/string/zipball/6cd670a6d968eaeb1c77c2e76091c45c56bc367b", + "reference": "6cd670a6d968eaeb1c77c2e76091c45c56bc367b", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "~1.15" + "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/translation-contracts": ">=3.0" + "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0|^6.0" + "symfony/emoji": "^7.1", + "symfony/error-handler": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -2768,7 +2881,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.10" + "source": "https://github.com/symfony/string/tree/v7.1.4" }, "funding": [ { @@ -2784,39 +2897,47 @@ "type": "tidelift" } ], - "time": "2022-06-26T15:57:47+00:00" + "time": "2024-08-12T09:59:40+00:00" }, { "name": "vlucas/phpdotenv", - "version": "v2.6.9", + "version": "v5.6.1", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "2e93cc98e2e8e869f8d9cfa61bb3a99ba4fc4141" + "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2e93cc98e2e8e869f8d9cfa61bb3a99ba4fc4141", - "reference": "2e93cc98e2e8e869f8d9cfa61bb3a99ba4fc4141", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/a59a13791077fe3d44f90e7133eb68e7d22eaff2", + "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2", "shasum": "" }, "require": { - "php": "^5.3.9 || ^7.0 || ^8.0", - "symfony/polyfill-ctype": "^1.17" + "ext-pcre": "*", + "graham-campbell/result-type": "^1.1.3", + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.3", + "symfony/polyfill-ctype": "^1.24", + "symfony/polyfill-mbstring": "^1.24", + "symfony/polyfill-php80": "^1.24" }, "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", "ext-filter": "*", - "ext-pcre": "*", - "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.21" + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" }, "suggest": { - "ext-filter": "Required to use the boolean validator.", - "ext-pcre": "Required to use most of the library." + "ext-filter": "Required to use the boolean validator." }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "5.6-dev" } }, "autoload": { @@ -2848,7 +2969,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v2.6.9" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.1" }, "funding": [ { @@ -2860,7 +2981,7 @@ "type": "tidelift" } ], - "time": "2021-12-12T22:59:22+00:00" + "time": "2024-07-20T21:52:34+00:00" } ], "packages-dev": [], @@ -2870,8 +2991,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.1" + "php": "^8.1" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/src/API/BaseApiClient.php b/src/API/BaseApiClient.php index ca5e4a7..e3c14c0 100644 --- a/src/API/BaseApiClient.php +++ b/src/API/BaseApiClient.php @@ -12,7 +12,7 @@ class BaseApiClient protected $apiName; - public function __construct(RequestChain $requestChain, $baseUrl = 'https://mgmt.pagely.com/api/', LoggerInterface $logger) + public function __construct(RequestChain $requestChain, LoggerInterface $logger, string $baseUrl = 'https://mgmt.pagely.com/api/') { $this->requestChain = $requestChain; $this->baseUrl = $baseUrl; diff --git a/src/Client/GuzzleTrait.php b/src/Client/GuzzleTrait.php index 19abeac..96b2e16 100644 --- a/src/Client/GuzzleTrait.php +++ b/src/Client/GuzzleTrait.php @@ -133,7 +133,7 @@ function(callable $handler) use ($logger) $msg = 'API Request: ' .$request->getMethod(). ' ' .$request->getUri(); $logger->debug($msg, [ 'api' => $this->apiName, - 'request' => \GuzzleHttp\Psr7\str($request), + 'request' => \GuzzleHttp\Psr7\Message::toString($request), 'uri' => $request->getUri(), 'method' => $request->getMethod() ]); @@ -154,8 +154,8 @@ function (ResponseInterface $response) use ($logger, $request) if ($response->getStatusCode() >= 400) { $context = [ 'api' => $this->apiName, - 'response' => \GuzzleHttp\Psr7\str($response), - 'request' => \GuzzleHttp\Psr7\str($request), + 'response' => \GuzzleHttp\Psr7\Message::toString($response), + 'request' => \GuzzleHttp\Psr7\Message::toString($request), 'code' => $response->getStatusCode(), 'uri' => $request->getUri(), 'method' => $request->getMethod() diff --git a/src/Command/Accounts/AddSshKeyCommand.php b/src/Command/Accounts/AddSshKeyCommand.php index 691c500..22a0cf5 100644 --- a/src/Command/Accounts/AddSshKeyCommand.php +++ b/src/Command/Accounts/AddSshKeyCommand.php @@ -38,7 +38,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $accountId = (int) $input->getArgument('accountId'); $token = $this->token->token; diff --git a/src/Command/Apps/AliasSearchCommand.php b/src/Command/Apps/AliasSearchCommand.php index 7a73feb..5c56808 100644 --- a/src/Command/Apps/AliasSearchCommand.php +++ b/src/Command/Apps/AliasSearchCommand.php @@ -41,7 +41,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $accountId = $input->getArgument('accountId'); $search = $input->getOption('search'); diff --git a/src/Command/Apps/AppWebserverCommand.php b/src/Command/Apps/AppWebserverCommand.php index 96835f0..509d6a7 100644 --- a/src/Command/Apps/AppWebserverCommand.php +++ b/src/Command/Apps/AppWebserverCommand.php @@ -38,7 +38,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $appId = $input->getArgument('appId'); $serverType = $input->getArgument('type'); diff --git a/src/Command/Apps/CreateAppCommand.php b/src/Command/Apps/CreateAppCommand.php index 8dec9a4..43aeb4e 100644 --- a/src/Command/Apps/CreateAppCommand.php +++ b/src/Command/Apps/CreateAppCommand.php @@ -42,7 +42,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $multi = $input->getOption('multisite'); diff --git a/src/Command/Apps/DisableAppCommand.php b/src/Command/Apps/DisableAppCommand.php index a20efb3..595bbf5 100644 --- a/src/Command/Apps/DisableAppCommand.php +++ b/src/Command/Apps/DisableAppCommand.php @@ -36,7 +36,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $token = $this->token->token; diff --git a/src/Command/Apps/DomainAddCommand.php b/src/Command/Apps/DomainAddCommand.php index fbda827..7a106f7 100644 --- a/src/Command/Apps/DomainAddCommand.php +++ b/src/Command/Apps/DomainAddCommand.php @@ -37,7 +37,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $appId = $input->getArgument('appId'); $domain = $input->getArgument('domain'); diff --git a/src/Command/Apps/DomainMakePrimaryCommand.php b/src/Command/Apps/DomainMakePrimaryCommand.php index 2790960..6c40279 100644 --- a/src/Command/Apps/DomainMakePrimaryCommand.php +++ b/src/Command/Apps/DomainMakePrimaryCommand.php @@ -37,7 +37,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $appId = $input->getArgument('appId'); $domainId = $input->getArgument('domainId'); diff --git a/src/Command/Apps/DomainRemoveCommand.php b/src/Command/Apps/DomainRemoveCommand.php index a1185b4..d7b9227 100644 --- a/src/Command/Apps/DomainRemoveCommand.php +++ b/src/Command/Apps/DomainRemoveCommand.php @@ -37,7 +37,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $appId = $input->getArgument('appId'); $domain = $input->getArgument('domainId'); diff --git a/src/Command/Apps/GetAppBackupCommand.php b/src/Command/Apps/GetAppBackupCommand.php index 18125c6..61df929 100644 --- a/src/Command/Apps/GetAppBackupCommand.php +++ b/src/Command/Apps/GetAppBackupCommand.php @@ -40,7 +40,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $appId = $input->getArgument('appId'); $backupId = $input->getOption('backupId'); diff --git a/src/Command/Apps/GetAppCommand.php b/src/Command/Apps/GetAppCommand.php index 668f806..9e3e5aa 100644 --- a/src/Command/Apps/GetAppCommand.php +++ b/src/Command/Apps/GetAppCommand.php @@ -38,7 +38,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $appId = $input->getArgument('appId'); $token = $this->token->token; diff --git a/src/Command/Apps/GitIntegration/CreateGitIntegrationCommand.php b/src/Command/Apps/GitIntegration/CreateGitIntegrationCommand.php index 2383c06..c39efdb 100644 --- a/src/Command/Apps/GitIntegration/CreateGitIntegrationCommand.php +++ b/src/Command/Apps/GitIntegration/CreateGitIntegrationCommand.php @@ -40,7 +40,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $token = $this->token->token; $output->writeln('Create integration initiated.'); diff --git a/src/Command/Apps/GitIntegration/DeleteGitIntegrationCommand.php b/src/Command/Apps/GitIntegration/DeleteGitIntegrationCommand.php index 6732399..28ebf0c 100644 --- a/src/Command/Apps/GitIntegration/DeleteGitIntegrationCommand.php +++ b/src/Command/Apps/GitIntegration/DeleteGitIntegrationCommand.php @@ -38,7 +38,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $token = $this->token->token; diff --git a/src/Command/Apps/GitIntegration/GetGitIntegrationCommand.php b/src/Command/Apps/GitIntegration/GetGitIntegrationCommand.php index a6bebfc..c5398ae 100644 --- a/src/Command/Apps/GitIntegration/GetGitIntegrationCommand.php +++ b/src/Command/Apps/GitIntegration/GetGitIntegrationCommand.php @@ -39,7 +39,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $token = $this->token->token; diff --git a/src/Command/Apps/ListAppsCommand.php b/src/Command/Apps/ListAppsCommand.php index 96214d4..f9a25b6 100644 --- a/src/Command/Apps/ListAppsCommand.php +++ b/src/Command/Apps/ListAppsCommand.php @@ -39,7 +39,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $accountId = $input->getArgument('account'); $token = $this->token->token; diff --git a/src/Command/Apps/RemoveAppCommand.php b/src/Command/Apps/RemoveAppCommand.php index b8b1aa7..343f96e 100644 --- a/src/Command/Apps/RemoveAppCommand.php +++ b/src/Command/Apps/RemoveAppCommand.php @@ -36,7 +36,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $token = $this->token->token; diff --git a/src/Command/Ares/RedirectsGetCsvCommand.php b/src/Command/Ares/RedirectsGetCsvCommand.php index bbc5bdd..de0a2a4 100644 --- a/src/Command/Ares/RedirectsGetCsvCommand.php +++ b/src/Command/Ares/RedirectsGetCsvCommand.php @@ -39,7 +39,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $appId = (int) $input->getArgument('appId'); $filename = $input->getArgument('filename'); diff --git a/src/Command/Ares/RedirectsUploadCommand.php b/src/Command/Ares/RedirectsUploadCommand.php index 7ef6cdd..c21a8db 100644 --- a/src/Command/Ares/RedirectsUploadCommand.php +++ b/src/Command/Ares/RedirectsUploadCommand.php @@ -42,7 +42,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $appId = (int) $input->getArgument('appId'); $file = $input->getArgument('file'); diff --git a/src/Command/Auth/ClientLoginCommand.php b/src/Command/Auth/ClientLoginCommand.php index 4fc6437..3b48052 100644 --- a/src/Command/Auth/ClientLoginCommand.php +++ b/src/Command/Auth/ClientLoginCommand.php @@ -31,7 +31,7 @@ public function configure() ; } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { if ($output->isDebug()) { diff --git a/src/Command/Auth/LoginCommand.php b/src/Command/Auth/LoginCommand.php index 031b72f..8ec1642 100644 --- a/src/Command/Auth/LoginCommand.php +++ b/src/Command/Auth/LoginCommand.php @@ -33,7 +33,7 @@ public function configure() ; } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { if ($output->isDebug()) { diff --git a/src/Command/Auth/LogoutCommand.php b/src/Command/Auth/LogoutCommand.php index 0eec6e5..c992b9a 100644 --- a/src/Command/Auth/LogoutCommand.php +++ b/src/Command/Auth/LogoutCommand.php @@ -13,7 +13,7 @@ public function __construct($name = 'auth:logout') parent::__construct($name); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $token = new OauthToken(); $token->deleteSaved(); diff --git a/src/Command/SSL/AppCertUpdateCommand.php b/src/Command/SSL/AppCertUpdateCommand.php index 48eb8d0..2b43f16 100644 --- a/src/Command/SSL/AppCertUpdateCommand.php +++ b/src/Command/SSL/AppCertUpdateCommand.php @@ -22,7 +22,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $certId = $input->getArgument('certID'); $aliasId = $input->getArgument('aliasID'); diff --git a/src/Command/SSL/CSRCreateCommand.php b/src/Command/SSL/CSRCreateCommand.php index c4e5103..a2e8ffa 100644 --- a/src/Command/SSL/CSRCreateCommand.php +++ b/src/Command/SSL/CSRCreateCommand.php @@ -22,7 +22,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { if ($output->isDebug()) { $this->api->setDebug(); diff --git a/src/Command/SSL/CSRListCommand.php b/src/Command/SSL/CSRListCommand.php index 21d9d47..4676a42 100644 --- a/src/Command/SSL/CSRListCommand.php +++ b/src/Command/SSL/CSRListCommand.php @@ -22,7 +22,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { if ($output->isDebug()) { $this->api->setDebug(); diff --git a/src/Command/SSL/CertActivateCommand.php b/src/Command/SSL/CertActivateCommand.php index 9724da7..f462ad8 100644 --- a/src/Command/SSL/CertActivateCommand.php +++ b/src/Command/SSL/CertActivateCommand.php @@ -20,7 +20,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $r = $this->api->activateCertForApp( $this->token->token, diff --git a/src/Command/SSL/CertAddCommand.php b/src/Command/SSL/CertAddCommand.php index 22f0694..21ebcaa 100644 --- a/src/Command/SSL/CertAddCommand.php +++ b/src/Command/SSL/CertAddCommand.php @@ -23,7 +23,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { if ($output->isDebug()) { $this->api->setDebug(); diff --git a/src/Command/SSL/CertGetCommand.php b/src/Command/SSL/CertGetCommand.php index 9c9fe53..e3de5a8 100644 --- a/src/Command/SSL/CertGetCommand.php +++ b/src/Command/SSL/CertGetCommand.php @@ -22,7 +22,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { if ($output->isDebug()) { $this->api->setDebug(); diff --git a/src/Command/SSL/CertImportCommand.php b/src/Command/SSL/CertImportCommand.php index fe2cf58..94131ee 100644 --- a/src/Command/SSL/CertImportCommand.php +++ b/src/Command/SSL/CertImportCommand.php @@ -29,7 +29,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { if ($output->isDebug()) { $this->api->setDebug(); diff --git a/src/Command/SSL/CertLinkCommand.php b/src/Command/SSL/CertLinkCommand.php index 7cb36a9..d300195 100644 --- a/src/Command/SSL/CertLinkCommand.php +++ b/src/Command/SSL/CertLinkCommand.php @@ -22,7 +22,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $certId = $input->getArgument('certID'); $aliasId = $input->getArgument('aliasID'); diff --git a/src/Command/SSL/CertListCommand.php b/src/Command/SSL/CertListCommand.php index 0ed9f95..2241746 100644 --- a/src/Command/SSL/CertListCommand.php +++ b/src/Command/SSL/CertListCommand.php @@ -21,7 +21,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $accountId = $input->getOption('accountID'); $appId = $input->getOption('appId'); diff --git a/src/Command/SSL/LetsencryptCertCommand.php b/src/Command/SSL/LetsencryptCertCommand.php index a48e2c6..a152da8 100644 --- a/src/Command/SSL/LetsencryptCertCommand.php +++ b/src/Command/SSL/LetsencryptCertCommand.php @@ -20,7 +20,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $r = $this->api->letsencryptGetCertificate( $this->token->token, diff --git a/src/Command/SSL/LetsencryptJobStatusCommand.php b/src/Command/SSL/LetsencryptJobStatusCommand.php index 597a376..9f1ea41 100644 --- a/src/Command/SSL/LetsencryptJobStatusCommand.php +++ b/src/Command/SSL/LetsencryptJobStatusCommand.php @@ -19,7 +19,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $r = $this->api->getLetsencryptStatus( $this->token->token, diff --git a/src/Command/SSL/LetsencryptRegisterCommand.php b/src/Command/SSL/LetsencryptRegisterCommand.php index 14e4133..937cabb 100644 --- a/src/Command/SSL/LetsencryptRegisterCommand.php +++ b/src/Command/SSL/LetsencryptRegisterCommand.php @@ -21,7 +21,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $r = $this->api->letsencryptRegister( $this->token->token, diff --git a/src/Command/SSL/LetsencryptRenewCommand.php b/src/Command/SSL/LetsencryptRenewCommand.php index 415b8a0..3c95b3c 100644 --- a/src/Command/SSL/LetsencryptRenewCommand.php +++ b/src/Command/SSL/LetsencryptRenewCommand.php @@ -22,7 +22,7 @@ public function configure() ; } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { try { $r = $this->api->letsencryptRenew( diff --git a/src/Command/SSL/SearchLinkedCommand.php b/src/Command/SSL/SearchLinkedCommand.php index 1252c3e..6ab00c0 100644 --- a/src/Command/SSL/SearchLinkedCommand.php +++ b/src/Command/SSL/SearchLinkedCommand.php @@ -19,7 +19,7 @@ public function configure() $this->addOauthOptions(); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $appId = $input->getArgument('appId'); $r = $this->api->searchLinkedCerts($this->token->token, $appId); diff --git a/src/Helper.php b/src/Helper.php index 32a920a..0233a3b 100644 --- a/src/Helper.php +++ b/src/Helper.php @@ -2,7 +2,6 @@ namespace Pagely\AtomicClient; use Auryn\Injector; -use Dotenv\Dotenv; use Dotenv\Exception\InvalidPathException; use Monolog\Logger; use Monolog\Handler\NullHandler; @@ -43,7 +42,7 @@ public function cachedClientAuth( if (file_exists($config)) { - $dotenv = new Dotenv(dirname($config), basename($config)); + $dotenv = \Dotenv\Dotenv::createImmutable(dirname($config), basename($config)); $dotenv->load(); } @@ -86,7 +85,7 @@ public function loadConfig($baseDir) try { $home = getenv('HOME'); - $dotenv = new Dotenv($home, $staging ? '/.atomic-staging' : '/.atomic'); + $dotenv = \Dotenv\Dotenv::createImmutable($home, $staging ? '/.atomic-staging' : '/.atomic'); $dotenv->load(); } catch (InvalidPathException $e) @@ -96,7 +95,7 @@ public function loadConfig($baseDir) try { - $dotenv = new Dotenv($baseDir, $staging ? '/.env-staging' : '/.env'); + $dotenv = \Dotenv\Dotenv::createImmutable($baseDir, $staging ? '/.env-staging' : '/.env'); $dotenv->load(); } catch (InvalidPathException $e) @@ -105,7 +104,7 @@ public function loadConfig($baseDir) } // doesn't overwrite so defaults get loaded last - $dotenv = new Dotenv($baseDir, $staging ? '/.env.staging' : '/.env.defaults'); + $dotenv = \Dotenv\Dotenv::createImmutable($baseDir, $staging ? '/.env-staging' : '/.env.defaults'); $dotenv->load(); } }