Changeset 3107391
- Timestamp:
- 06/25/2024 10:47:11 AM (9 months ago)
- Location:
- ai-assistant-gpt-chatbot
- Files:
-
- 2 added
- 74 edited
Legend:
- Unmodified
- Added
- Removed
-
ai-assistant-gpt-chatbot/tags/1.0.2/composer.lock
r3097791 r3107391 583 583 { 584 584 "name": "php-http/multipart-stream-builder", 585 "version": "1.3. 0",585 "version": "1.3.1", 586 586 "source": { 587 587 "type": "git", 588 588 "url": "https://github.com/php-http/multipart-stream-builder.git", 589 "reference": " f5938fd135d9fa442cc297dc98481805acfe2b6a"590 }, 591 "dist": { 592 "type": "zip", 593 "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ f5938fd135d9fa442cc297dc98481805acfe2b6a",594 "reference": " f5938fd135d9fa442cc297dc98481805acfe2b6a",589 "reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24" 590 }, 591 "dist": { 592 "type": "zip", 593 "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ed56da23b95949ae4747378bed8a5b61a2fdae24", 594 "reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24", 595 595 "shasum": "" 596 596 }, … … 633 633 "support": { 634 634 "issues": "https://github.com/php-http/multipart-stream-builder/issues", 635 "source": "https://github.com/php-http/multipart-stream-builder/tree/1.3. 0"636 }, 637 "time": "202 3-04-28T14:10:22+00:00"635 "source": "https://github.com/php-http/multipart-stream-builder/tree/1.3.1" 636 }, 637 "time": "2024-06-10T14:51:55+00:00" 638 638 }, 639 639 { … … 744 744 { 745 745 "name": "psr/http-factory", 746 "version": "1. 0.2",746 "version": "1.1.0", 747 747 "source": { 748 748 "type": "git", 749 749 "url": "https://github.com/php-fig/http-factory.git", 750 "reference": " e616d01114759c4c489f93b099585439f795fe35"751 }, 752 "dist": { 753 "type": "zip", 754 "url": "https://api.github.com/repos/php-fig/http-factory/zipball/ e616d01114759c4c489f93b099585439f795fe35",755 "reference": " e616d01114759c4c489f93b099585439f795fe35",756 "shasum": "" 757 }, 758 "require": { 759 "php": ">=7. 0.0",750 "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" 751 }, 752 "dist": { 753 "type": "zip", 754 "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", 755 "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", 756 "shasum": "" 757 }, 758 "require": { 759 "php": ">=7.1", 760 760 "psr/http-message": "^1.0 || ^2.0" 761 761 }, … … 781 781 } 782 782 ], 783 "description": " Common interfaces for PSR-7 HTTP message factories",783 "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", 784 784 "keywords": [ 785 785 "factory", … … 793 793 ], 794 794 "support": { 795 "source": "https://github.com/php-fig/http-factory /tree/1.0.2"796 }, 797 "time": "202 3-04-10T20:10:41+00:00"795 "source": "https://github.com/php-fig/http-factory" 796 }, 797 "time": "2024-04-15T12:06:14+00:00" 798 798 }, 799 799 { … … 1013 1013 { 1014 1014 "name": "symfony/http-client", 1015 "version": "v7. 0.7",1015 "version": "v7.1.1", 1016 1016 "source": { 1017 1017 "type": "git", 1018 1018 "url": "https://github.com/symfony/http-client.git", 1019 "reference": " 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7"1020 }, 1021 "dist": { 1022 "type": "zip", 1023 "url": "https://api.github.com/repos/symfony/http-client/zipball/ 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7",1024 "reference": " 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7",1019 "reference": "1ec24a54d1885b11e862d6ddab31bd6749720d20" 1020 }, 1021 "dist": { 1022 "type": "zip", 1023 "url": "https://api.github.com/repos/symfony/http-client/zipball/1ec24a54d1885b11e862d6ddab31bd6749720d20", 1024 "reference": "1ec24a54d1885b11e862d6ddab31bd6749720d20", 1025 1025 "shasum": "" 1026 1026 }, … … 1028 1028 "php": ">=8.2", 1029 1029 "psr/log": "^1|^2|^3", 1030 "symfony/deprecation-contracts": "^2.5|^3", 1030 1031 "symfony/http-client-contracts": "^3.4.1", 1031 1032 "symfony/service-contracts": "^2.5|^3" … … 1054 1055 "symfony/messenger": "^6.4|^7.0", 1055 1056 "symfony/process": "^6.4|^7.0", 1057 "symfony/rate-limiter": "^6.4|^7.0", 1056 1058 "symfony/stopwatch": "^6.4|^7.0" 1057 1059 }, … … 1085 1087 ], 1086 1088 "support": { 1087 "source": "https://github.com/symfony/http-client/tree/v7. 0.7"1089 "source": "https://github.com/symfony/http-client/tree/v7.1.1" 1088 1090 }, 1089 1091 "funding": [ … … 1101 1103 } 1102 1104 ], 1103 "time": "2024-0 4-18T09:29:19+00:00"1105 "time": "2024-05-31T14:57:53+00:00" 1104 1106 }, 1105 1107 { -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/composer/autoload_psr4.php
r3097791 r3107391 11 11 'Symfony\\Component\\HttpClient\\' => array($vendorDir . '/symfony/http-client'), 12 12 'Psr\\Log\\' => array($vendorDir . '/psr/log/src'), 13 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http- factory/src', $vendorDir . '/psr/http-message/src'),13 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src', $vendorDir . '/psr/http-factory/src'), 14 14 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 15 15 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'), -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/composer/autoload_static.php
r3097791 r3107391 68 68 'Psr\\Http\\Message\\' => 69 69 array ( 70 0 => __DIR__ . '/..' . '/psr/http- factory/src',71 1 => __DIR__ . '/..' . '/psr/http- message/src',70 0 => __DIR__ . '/..' . '/psr/http-message/src', 71 1 => __DIR__ . '/..' . '/psr/http-factory/src', 72 72 ), 73 73 'Psr\\Http\\Client\\' => -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/composer/installed.json
r3097791 r3107391 595 595 { 596 596 "name": "php-http/multipart-stream-builder", 597 "version": "1.3. 0",598 "version_normalized": "1.3. 0.0",597 "version": "1.3.1", 598 "version_normalized": "1.3.1.0", 599 599 "source": { 600 600 "type": "git", 601 601 "url": "https://github.com/php-http/multipart-stream-builder.git", 602 "reference": " f5938fd135d9fa442cc297dc98481805acfe2b6a"603 }, 604 "dist": { 605 "type": "zip", 606 "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ f5938fd135d9fa442cc297dc98481805acfe2b6a",607 "reference": " f5938fd135d9fa442cc297dc98481805acfe2b6a",602 "reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24" 603 }, 604 "dist": { 605 "type": "zip", 606 "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ed56da23b95949ae4747378bed8a5b61a2fdae24", 607 "reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24", 608 608 "shasum": "" 609 609 }, … … 619 619 "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3" 620 620 }, 621 "time": "202 3-04-28T14:10:22+00:00",621 "time": "2024-06-10T14:51:55+00:00", 622 622 "type": "library", 623 623 "installation-source": "dist", … … 648 648 "support": { 649 649 "issues": "https://github.com/php-http/multipart-stream-builder/issues", 650 "source": "https://github.com/php-http/multipart-stream-builder/tree/1.3. 0"650 "source": "https://github.com/php-http/multipart-stream-builder/tree/1.3.1" 651 651 }, 652 652 "install-path": "../php-http/multipart-stream-builder" … … 765 765 { 766 766 "name": "psr/http-factory", 767 "version": "1. 0.2",768 "version_normalized": "1. 0.2.0",767 "version": "1.1.0", 768 "version_normalized": "1.1.0.0", 769 769 "source": { 770 770 "type": "git", 771 771 "url": "https://github.com/php-fig/http-factory.git", 772 "reference": " e616d01114759c4c489f93b099585439f795fe35"773 }, 774 "dist": { 775 "type": "zip", 776 "url": "https://api.github.com/repos/php-fig/http-factory/zipball/ e616d01114759c4c489f93b099585439f795fe35",777 "reference": " e616d01114759c4c489f93b099585439f795fe35",778 "shasum": "" 779 }, 780 "require": { 781 "php": ">=7. 0.0",772 "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" 773 }, 774 "dist": { 775 "type": "zip", 776 "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", 777 "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", 778 "shasum": "" 779 }, 780 "require": { 781 "php": ">=7.1", 782 782 "psr/http-message": "^1.0 || ^2.0" 783 783 }, 784 "time": "202 3-04-10T20:10:41+00:00",784 "time": "2024-04-15T12:06:14+00:00", 785 785 "type": "library", 786 786 "extra": { … … 805 805 } 806 806 ], 807 "description": " Common interfaces for PSR-7 HTTP message factories",807 "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", 808 808 "keywords": [ 809 809 "factory", … … 817 817 ], 818 818 "support": { 819 "source": "https://github.com/php-fig/http-factory /tree/1.0.2"819 "source": "https://github.com/php-fig/http-factory" 820 820 }, 821 821 "install-path": "../psr/http-factory" … … 1049 1049 { 1050 1050 "name": "symfony/http-client", 1051 "version": "v7. 0.7",1052 "version_normalized": "7. 0.7.0",1051 "version": "v7.1.1", 1052 "version_normalized": "7.1.1.0", 1053 1053 "source": { 1054 1054 "type": "git", 1055 1055 "url": "https://github.com/symfony/http-client.git", 1056 "reference": " 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7"1057 }, 1058 "dist": { 1059 "type": "zip", 1060 "url": "https://api.github.com/repos/symfony/http-client/zipball/ 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7",1061 "reference": " 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7",1056 "reference": "1ec24a54d1885b11e862d6ddab31bd6749720d20" 1057 }, 1058 "dist": { 1059 "type": "zip", 1060 "url": "https://api.github.com/repos/symfony/http-client/zipball/1ec24a54d1885b11e862d6ddab31bd6749720d20", 1061 "reference": "1ec24a54d1885b11e862d6ddab31bd6749720d20", 1062 1062 "shasum": "" 1063 1063 }, … … 1065 1065 "php": ">=8.2", 1066 1066 "psr/log": "^1|^2|^3", 1067 "symfony/deprecation-contracts": "^2.5|^3", 1067 1068 "symfony/http-client-contracts": "^3.4.1", 1068 1069 "symfony/service-contracts": "^2.5|^3" … … 1091 1092 "symfony/messenger": "^6.4|^7.0", 1092 1093 "symfony/process": "^6.4|^7.0", 1094 "symfony/rate-limiter": "^6.4|^7.0", 1093 1095 "symfony/stopwatch": "^6.4|^7.0" 1094 1096 }, 1095 "time": "2024-0 4-18T09:29:19+00:00",1097 "time": "2024-05-31T14:57:53+00:00", 1096 1098 "type": "library", 1097 1099 "installation-source": "dist", … … 1124 1126 ], 1125 1127 "support": { 1126 "source": "https://github.com/symfony/http-client/tree/v7. 0.7"1128 "source": "https://github.com/symfony/http-client/tree/v7.1.1" 1127 1129 }, 1128 1130 "funding": [ -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/composer/installed.php
r3097791 r3107391 93 93 ), 94 94 'php-http/multipart-stream-builder' => array( 95 'pretty_version' => '1.3. 0',96 'version' => '1.3. 0.0',97 'reference' => ' f5938fd135d9fa442cc297dc98481805acfe2b6a',95 'pretty_version' => '1.3.1', 96 'version' => '1.3.1.0', 97 'reference' => 'ed56da23b95949ae4747378bed8a5b61a2fdae24', 98 98 'type' => 'library', 99 99 'install_path' => __DIR__ . '/../php-http/multipart-stream-builder', … … 127 127 ), 128 128 'psr/http-factory' => array( 129 'pretty_version' => '1. 0.2',130 'version' => '1. 0.2.0',131 'reference' => ' e616d01114759c4c489f93b099585439f795fe35',129 'pretty_version' => '1.1.0', 130 'version' => '1.1.0.0', 131 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 132 132 'type' => 'library', 133 133 'install_path' => __DIR__ . '/../psr/http-factory', … … 186 186 ), 187 187 'symfony/http-client' => array( 188 'pretty_version' => 'v7. 0.7',189 'version' => '7. 0.7.0',190 'reference' => ' 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7',188 'pretty_version' => 'v7.1.1', 189 'version' => '7.1.1.0', 190 'reference' => '1ec24a54d1885b11e862d6ddab31bd6749720d20', 191 191 'type' => 'library', 192 192 'install_path' => __DIR__ . '/../symfony/http-client', -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/php-http/multipart-stream-builder/CHANGELOG.md
r3097791 r3107391 1 1 # Change Log 2 3 ## 1.3.1 - 2024-06-10 4 5 - Added missing mimetype for `.webp` images. 2 6 3 7 ## 1.3.0 - 2023-04-28 4 8 5 9 - Removed unnecessary dependency on deprecated `php-http/message-factory` 10 - Allow `psr/http-message` 2.* 11 - Also skip setting filename if URI starts with `data://` 6 12 7 13 ## 1.2.0 - 2021-05-21 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/php-http/multipart-stream-builder/src/ApacheMimetypeHelper.php
r3097791 r3107391 114 114 'txt' => 'text/plain', 115 115 'wav' => 'audio/x-wav', 116 'webp' => 'image/webp', 116 117 'webm' => 'video/webm', 117 118 'wma' => 'audio/x-ms-wma', -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/psr/http-factory/composer.json
r3097791 r3107391 1 1 { 2 2 "name": "psr/http-factory", 3 "description": " Common interfaces for PSR-7 HTTP message factories",3 "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", 4 4 "keywords": [ 5 5 "psr", … … 19 19 } 20 20 ], 21 "support": { 22 "source": "https://github.com/php-fig/http-factory" 23 }, 21 24 "require": { 22 "php": ">=7. 0.0",25 "php": ">=7.1", 23 26 "psr/http-message": "^1.0 || ^2.0" 24 27 }, -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
r3097791 r3107391 16 16 * @param StreamInterface $stream Underlying stream representing the 17 17 * uploaded file content. 18 * @param int $size in bytes18 * @param int|null $size in bytes 19 19 * @param int $error PHP file upload error 20 * @param string $clientFilename Filename as provided by the client, if any.21 * @param string $clientMediaType Media type as provided by the client, if any.20 * @param string|null $clientFilename Filename as provided by the client, if any. 21 * @param string|null $clientMediaType Media type as provided by the client, if any. 22 22 * 23 23 * @return UploadedFileInterface … … 27 27 public function createUploadedFile( 28 28 StreamInterface $stream, 29 int $size = null,29 ?int $size = null, 30 30 int $error = \UPLOAD_ERR_OK, 31 string $clientFilename = null,32 string $clientMediaType = null31 ?string $clientFilename = null, 32 ?string $clientMediaType = null 33 33 ): UploadedFileInterface; 34 34 } -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/CHANGELOG.md
r3097791 r3107391 1 1 CHANGELOG 2 2 ========= 3 4 7.1 5 --- 6 7 * Add `HttpOptions::setHeader()` to add or replace a single header 8 * Allow mocking `start_time` info in `MockResponse` 9 * Add `MockResponse::fromFile()` and `JsonMockResponse::fromFile()` methods to help using fixtures files 10 * Add `ThrottlingHttpClient` to enable limiting the number of requests within a certain period 11 * Deprecate the `setLogger()` methods of the `NoPrivateNetworkHttpClient`, `TraceableHttpClient` and `ScopingHttpClient` classes, configure the logger of the wrapped clients directly instead 3 12 4 13 7.0 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Chunk/DataChunk.php
r3097791 r3107391 21 21 class DataChunk implements ChunkInterface 22 22 { 23 private int $offset = 0; 24 private string $content = ''; 25 26 public function __construct(int $offset = 0, string $content = '') 27 { 28 $this->offset = $offset; 29 $this->content = $content; 23 public function __construct( 24 private int $offset = 0, 25 private string $content = '', 26 ) { 30 27 } 31 28 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Chunk/ErrorChunk.php
r3097791 r3107391 24 24 { 25 25 private bool $didThrow = false; 26 private int $offset;27 26 private string $errorMessage; 28 27 private ?\Throwable $error = null; 29 28 30 public function __construct( int $offset, \Throwable|string $error)31 {32 $this->offset = $offset;33 29 public function __construct( 30 private int $offset, 31 \Throwable|string $error, 32 ) { 34 33 if (\is_string($error)) { 35 34 $this->errorMessage = $error; -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Chunk/ServerSentEvent.php
r3097791 r3107391 46 46 47 47 switch ($field) { 48 case 'id': $this->id = substr($line, $i); break; 49 case 'event': $this->type = substr($line, $i); break; 50 case 'data': $this->data .= ('' === $this->data ? '' : "\n").substr($line, $i); break; 48 case 'id': 49 $this->id = substr($line, $i); 50 break; 51 case 'event': 52 $this->type = substr($line, $i); 53 break; 54 case 'data': 55 $this->data .= ('' === $this->data ? '' : "\n").substr($line, $i); 56 break; 51 57 case 'retry': 52 58 $retry = substr($line, $i); … … 55 61 $this->retry = $retry / 1000.0; 56 62 } 63 57 64 break; 58 65 } -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/CurlHttpClient.php
r3097791 r3107391 116 116 \CURLOPT_REDIR_PROTOCOLS => \CURLPROTO_HTTP | \CURLPROTO_HTTPS, 117 117 \CURLOPT_FOLLOWLOCATION => true, 118 \CURLOPT_MAXREDIRS => 0 < $options['max_redirects'] ? $options['max_redirects'] : 0,118 \CURLOPT_MAXREDIRS => max(0, $options['max_redirects']), 119 119 \CURLOPT_COOKIEFILE => '', // Keep track of cookies during redirects 120 120 \CURLOPT_TIMEOUT => 0, … … 555 555 } 556 556 557 if (\in_array($opt, $methodOpts )) {557 if (\in_array($opt, $methodOpts, true)) { 558 558 throw new InvalidArgumentException('The HTTP method cannot be overridden using "extra.curl".'); 559 559 } 560 560 561 if (\in_array($opt, $curloptsToCheck )) {561 if (\in_array($opt, $curloptsToCheck, true)) { 562 562 $constName = $this->findConstantName($opt) ?? $opt; 563 563 throw new InvalidArgumentException(sprintf('Cannot set "%s" with "extra.curl".', $constName)); -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/DataCollector/HttpClientDataCollector.php
r3097791 r3107391 214 214 } 215 215 216 $dataArg = empty($dataArg) ? null : implode(' ', $dataArg);216 $dataArg = $dataArg ? implode(' ', $dataArg) : null; 217 217 218 218 foreach (explode("\n", $trace['info']['debug']) as $line) { -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/HttpOptions.php
r3097791 r3107391 67 67 * @return $this 68 68 */ 69 public function setHeader(string $key, string $value): static 70 { 71 $this->options['headers'][$key] = $value; 72 73 return $this; 74 } 75 76 /** 77 * @return $this 78 */ 69 79 public function setHeaders(iterable $headers): static 70 80 { -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/AmpBody.php
r3097791 r3107391 28 28 private ResourceInputStream|\Closure|string $body; 29 29 private array $info; 30 private \Closure $onProgress;31 30 private ?int $offset = 0; 32 31 private int $length = -1; … … 36 35 * @param \Closure|resource|string $body 37 36 */ 38 public function __construct($body, &$info, \Closure $onProgress) 39 { 37 public function __construct( 38 $body, 39 &$info, 40 private \Closure $onProgress, 41 ) { 40 42 $this->info = &$info; 41 $this->onProgress = $onProgress;42 43 43 44 if (\is_resource($body)) { -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/AmpClientState.php
r3097791 r3107391 48 48 private array $clients = []; 49 49 private \Closure $clientConfigurator; 50 private int $maxHostConnections; 51 private int $maxPendingPushes; 52 private ?LoggerInterface $logger; 53 54 public function __construct(?callable $clientConfigurator, int $maxHostConnections, int $maxPendingPushes, ?LoggerInterface &$logger) 55 { 50 51 public function __construct( 52 ?callable $clientConfigurator, 53 private int $maxHostConnections, 54 private int $maxPendingPushes, 55 private ?LoggerInterface &$logger, 56 ) { 56 57 $clientConfigurator ??= static fn (PooledHttpClient $client) => new InterceptedHttpClient($client, new RetryRequests(2)); 57 58 $this->clientConfigurator = $clientConfigurator(...); 58 59 $this->maxHostConnections = $maxHostConnections;60 $this->maxPendingPushes = $maxPendingPushes;61 $this->logger = &$logger;62 59 } 63 60 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/AmpListener.php
r3097791 r3107391 27 27 { 28 28 private array $info; 29 private array $pinSha256;30 private \Closure $onProgress;31 /** @var resource|null */32 private $handle;33 29 34 public function __construct(array &$info, array $pinSha256, \Closure $onProgress, &$handle) 35 { 30 /** 31 * @param resource|null $handle 32 */ 33 public function __construct( 34 array &$info, 35 private array $pinSha256, 36 private \Closure $onProgress, 37 private &$handle, 38 ) { 36 39 $info += [ 37 40 'connect_time' => 0.0, … … 45 48 46 49 $this->info = &$info; 47 $this->pinSha256 = $pinSha256;48 $this->onProgress = $onProgress;49 $this->handle = &$handle;50 50 } 51 51 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/AmpResolver.php
r3097791 r3107391 26 26 class AmpResolver implements Dns\Resolver 27 27 { 28 private array $dnsMap; 29 30 public function __construct(array &$dnsMap) 31 { 32 $this->dnsMap = &$dnsMap; 28 public function __construct( 29 private array &$dnsMap, 30 ) { 33 31 } 34 32 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/Canary.php
r3097791 r3107391 19 19 final class Canary 20 20 { 21 private \Closure $canceller; 22 23 public function __construct(\Closure $canceller) 24 { 25 $this->canceller = $canceller; 21 public function __construct( 22 private \Closure $canceller, 23 ) { 26 24 } 27 25 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/HttplugWaitLoop.php
r3097791 r3107391 31 31 final class HttplugWaitLoop 32 32 { 33 private HttpClientInterface $client;34 private ?\SplObjectStorage $promisePool;35 private ResponseFactoryInterface $responseFactory;36 private StreamFactoryInterface $streamFactory;37 38 33 /** 39 34 * @param \SplObjectStorage<ResponseInterface, array{Psr7RequestInterface, Promise}>|null $promisePool 40 35 */ 41 public function __construct( HttpClientInterface $client, ?\SplObjectStorage $promisePool, ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory)42 {43 $this->client = $client;44 $this->promisePool = $promisePool;45 $this->responseFactory = $responseFactory;46 $this->streamFactory = $streamFactory;36 public function __construct( 37 private HttpClientInterface $client, 38 private ?\SplObjectStorage $promisePool, 39 private ResponseFactoryInterface $responseFactory, 40 private StreamFactoryInterface $streamFactory, 41 ) { 47 42 } 48 43 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/NoPrivateNetworkHttpClient.php
r3097791 r3107391 78 78 } 79 79 80 /** 81 * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead 82 */ 80 83 public function setLogger(LoggerInterface $logger): void 81 84 { 85 trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.'); 86 82 87 if ($this->client instanceof LoggerAwareInterface) { 83 88 $this->client->setLogger($logger); -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/README.md
r3097791 r3107391 3 3 4 4 The HttpClient component provides powerful methods to fetch HTTP resources synchronously or asynchronously. 5 6 Sponsor7 -------8 9 The HttpClient component for Symfony 7.0 is [backed][1] by [Innovative Web AG][2].10 11 Innovative Web AG (i-web) is a specialist for web, applications and the12 digitalisation of the public sector based in Switzerland. With their i-CMS,13 public authorities and institutions implement modern websites and eGovernment14 portals and offer user-friendly eServices for residents and companies.15 16 Help Symfony by [sponsoring][3] its development!17 5 18 6 Resources … … 24 12 [send Pull Requests](https://github.com/symfony/symfony/pulls) 25 13 in the [main Symfony repository](https://github.com/symfony/symfony) 26 27 [1]: https://symfony.com/backers28 [2]: https://www.i-web.ch29 [3]: https://symfony.com/sponsor -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/AmpResponse.php
r3097791 r3107391 46 46 private static string $nextId = 'a'; 47 47 48 private AmpClientState $multi;49 48 private ?array $options; 50 49 private \Closure $onProgress; … … 55 54 * @internal 56 55 */ 57 public function __construct(AmpClientState $multi, Request $request, array $options, ?LoggerInterface $logger) 58 { 59 $this->multi = $multi; 56 public function __construct( 57 private AmpClientState $multi, 58 Request $request, 59 array $options, 60 ?LoggerInterface $logger, 61 ) { 60 62 $this->options = &$options; 61 63 $this->logger = $logger; -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/CurlResponse.php
r3097791 r3107391 33 33 use TransportResponseTrait; 34 34 35 private CurlClientState $multi;36 37 35 /** 38 36 * @var resource … … 43 41 * @internal 44 42 */ 45 public function __construct(CurlClientState $multi, \CurlHandle|string $ch, ?array $options = null, ?LoggerInterface $logger = null, string $method = 'GET', ?callable $resolveRedirect = null, ?int $curlVersion = null, ?string $originalUrl = null) 46 { 47 $this->multi = $multi; 48 43 public function __construct( 44 private CurlClientState $multi, 45 \CurlHandle|string $ch, 46 ?array $options = null, 47 ?LoggerInterface $logger = null, 48 string $method = 'GET', 49 ?callable $resolveRedirect = null, 50 ?int $curlVersion = null, 51 ?string $originalUrl = null, 52 ) { 49 53 if ($ch instanceof \CurlHandle) { 50 54 $this->handle = $ch; -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/HttplugPromise.php
r3097791 r3107391 24 24 final class HttplugPromise implements HttplugPromiseInterface 25 25 { 26 private GuzzlePromiseInterface $promise; 27 28 public function __construct(GuzzlePromiseInterface $promise) 29 { 30 $this->promise = $promise; 26 public function __construct( 27 private GuzzlePromiseInterface $promise, 28 ) { 31 29 } 32 30 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/JsonMockResponse.php
r3097791 r3107391 31 31 parent::__construct($json, $info); 32 32 } 33 34 public static function fromFile(string $path, array $info = []): static 35 { 36 if (!is_file($path)) { 37 throw new InvalidArgumentException(sprintf('File not found: "%s".', $path)); 38 } 39 40 $json = file_get_contents($path); 41 if (!json_validate($json)) { 42 throw new \InvalidArgumentException(sprintf('File "%s" does not contain valid JSON.', $path)); 43 } 44 45 return new static(json_decode($json, true, flags: \JSON_THROW_ON_ERROR), $info); 46 } 33 47 } -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/MockResponse.php
r3097791 r3107391 63 63 $this->info['response_headers'] = []; 64 64 self::addResponseHeaders($responseHeaders, $this->info, $this->headers); 65 } 66 67 public static function fromFile(string $path, array $info = []): static 68 { 69 if (!is_file($path)) { 70 throw new \InvalidArgumentException(sprintf('File not found: "%s".', $path)); 71 } 72 73 return new static(file_get_contents($path), $info); 65 74 } 66 75 … … 218 227 $onProgress = $options['on_progress'] ?? static function () {}; 219 228 $response->info += $mock->getInfo() ?: []; 229 if (null !== $mock->getInfo('start_time')) { 230 $response->info['start_time'] = $mock->getInfo('start_time'); 231 } 220 232 221 233 // simulate "size_upload" if it is set -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/NativeResponse.php
r3097791 r3107391 30 30 use TransportResponseTrait; 31 31 32 /**33 * @var resource34 */35 private $context;36 private string $url;37 32 private \Closure $resolver; 38 33 private ?\Closure $onProgress; … … 44 39 private $buffer; 45 40 46 private NativeClientState $multi;47 41 private float $pauseExpiry = 0.0; 48 42 49 43 /** 50 44 * @internal 45 * @param $context resource 51 46 */ 52 public function __construct(NativeClientState $multi, $context, string $url, array $options, array &$info, callable $resolver, ?callable $onProgress, ?LoggerInterface $logger) 53 { 54 $this->multi = $multi; 47 public function __construct( 48 private NativeClientState $multi, 49 private $context, 50 private string $url, 51 array $options, 52 array &$info, 53 callable $resolver, 54 ?callable $onProgress, 55 ?LoggerInterface $logger, 56 ) { 55 57 $this->id = $id = (int) $context; 56 $this->context = $context;57 $this->url = $url;58 58 $this->logger = $logger; 59 59 $this->timeout = $options['timeout']; -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/ResponseStream.php
r3097791 r3107391 21 21 final class ResponseStream implements ResponseStreamInterface 22 22 { 23 private \Generator $generator; 24 25 public function __construct(\Generator $generator) 26 { 27 $this->generator = $generator; 23 public function __construct( 24 private \Generator $generator, 25 ) { 28 26 } 29 27 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/StreamWrapper.php
r3097791 r3107391 31 31 32 32 /** @var resource|string|null */ 33 private $content = null;33 private $content; 34 34 35 35 /** @var resource|callable|null */ -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/TraceableResponse.php
r3097791 r3107391 32 32 class TraceableResponse implements ResponseInterface, StreamableInterface 33 33 { 34 private HttpClientInterface $client; 35 private ResponseInterface $response; 36 private mixed $content; 37 private ?StopwatchEvent $event; 38 39 public function __construct(HttpClientInterface $client, ResponseInterface $response, &$content, ?StopwatchEvent $event = null) 40 { 41 $this->client = $client; 42 $this->response = $response; 43 $this->content = &$content; 44 $this->event = $event; 34 public function __construct( 35 private HttpClientInterface $client, 36 private ResponseInterface $response, 37 private mixed &$content, 38 private ?StopwatchEvent $event = null, 39 ) { 45 40 } 46 41 -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Retry/GenericRetryStrategy.php
r3097791 r3107391 37 37 ]; 38 38 39 private array $statusCodes;40 39 private int $delayMs; 41 40 private float $multiplier; … … 50 49 * @param float $jitter Probability of randomness int delay (0 = none, 1 = 100% random) 51 50 */ 52 public function __construct(array $statusCodes = self::DEFAULT_RETRY_STATUS_CODES, int $delayMs = 1000, float $multiplier = 2.0, int $maxDelayMs = 0, float $jitter = 0.1) 53 { 54 $this->statusCodes = $statusCodes; 55 51 public function __construct( 52 private array $statusCodes = self::DEFAULT_RETRY_STATUS_CODES, 53 int $delayMs = 1000, 54 float $multiplier = 2.0, 55 int $maxDelayMs = 0, 56 float $jitter = 0.1, 57 ) { 56 58 if ($delayMs < 0) { 57 59 throw new InvalidArgumentException(sprintf('Delay must be greater than or equal to zero: "%s" given.', $delayMs)); -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/ScopingHttpClient.php
r3097791 r3107391 101 101 } 102 102 103 /** 104 * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead 105 */ 103 106 public function setLogger(LoggerInterface $logger): void 104 107 { 108 trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.'); 109 105 110 if ($this->client instanceof LoggerAwareInterface) { 106 111 $this->client->setLogger($logger); -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/TraceableHttpClient.php
r3097791 r3107391 90 90 } 91 91 92 /** 93 * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead 94 */ 92 95 public function setLogger(LoggerInterface $logger): void 93 96 { 97 trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.'); 98 94 99 if ($this->client instanceof LoggerAwareInterface) { 95 100 $this->client->setLogger($logger); -
ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/composer.json
r3097791 r3107391 25 25 "php": ">=8.2", 26 26 "psr/log": "^1|^2|^3", 27 "symfony/deprecation-contracts": "^2.5|^3", 27 28 "symfony/http-client-contracts": "^3.4.1", 28 29 "symfony/service-contracts": "^2.5|^3" … … 41 42 "symfony/messenger": "^6.4|^7.0", 42 43 "symfony/process": "^6.4|^7.0", 44 "symfony/rate-limiter": "^6.4|^7.0", 43 45 "symfony/stopwatch": "^6.4|^7.0" 44 46 }, -
ai-assistant-gpt-chatbot/trunk/composer.lock
r3081790 r3107391 583 583 { 584 584 "name": "php-http/multipart-stream-builder", 585 "version": "1.3. 0",585 "version": "1.3.1", 586 586 "source": { 587 587 "type": "git", 588 588 "url": "https://github.com/php-http/multipart-stream-builder.git", 589 "reference": " f5938fd135d9fa442cc297dc98481805acfe2b6a"590 }, 591 "dist": { 592 "type": "zip", 593 "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ f5938fd135d9fa442cc297dc98481805acfe2b6a",594 "reference": " f5938fd135d9fa442cc297dc98481805acfe2b6a",589 "reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24" 590 }, 591 "dist": { 592 "type": "zip", 593 "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ed56da23b95949ae4747378bed8a5b61a2fdae24", 594 "reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24", 595 595 "shasum": "" 596 596 }, … … 633 633 "support": { 634 634 "issues": "https://github.com/php-http/multipart-stream-builder/issues", 635 "source": "https://github.com/php-http/multipart-stream-builder/tree/1.3. 0"636 }, 637 "time": "202 3-04-28T14:10:22+00:00"635 "source": "https://github.com/php-http/multipart-stream-builder/tree/1.3.1" 636 }, 637 "time": "2024-06-10T14:51:55+00:00" 638 638 }, 639 639 { … … 744 744 { 745 745 "name": "psr/http-factory", 746 "version": "1. 0.2",746 "version": "1.1.0", 747 747 "source": { 748 748 "type": "git", 749 749 "url": "https://github.com/php-fig/http-factory.git", 750 "reference": " e616d01114759c4c489f93b099585439f795fe35"751 }, 752 "dist": { 753 "type": "zip", 754 "url": "https://api.github.com/repos/php-fig/http-factory/zipball/ e616d01114759c4c489f93b099585439f795fe35",755 "reference": " e616d01114759c4c489f93b099585439f795fe35",756 "shasum": "" 757 }, 758 "require": { 759 "php": ">=7. 0.0",750 "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" 751 }, 752 "dist": { 753 "type": "zip", 754 "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", 755 "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", 756 "shasum": "" 757 }, 758 "require": { 759 "php": ">=7.1", 760 760 "psr/http-message": "^1.0 || ^2.0" 761 761 }, … … 781 781 } 782 782 ], 783 "description": " Common interfaces for PSR-7 HTTP message factories",783 "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", 784 784 "keywords": [ 785 785 "factory", … … 793 793 ], 794 794 "support": { 795 "source": "https://github.com/php-fig/http-factory /tree/1.0.2"796 }, 797 "time": "202 3-04-10T20:10:41+00:00"795 "source": "https://github.com/php-fig/http-factory" 796 }, 797 "time": "2024-04-15T12:06:14+00:00" 798 798 }, 799 799 { … … 1013 1013 { 1014 1014 "name": "symfony/http-client", 1015 "version": "v7. 0.7",1015 "version": "v7.1.1", 1016 1016 "source": { 1017 1017 "type": "git", 1018 1018 "url": "https://github.com/symfony/http-client.git", 1019 "reference": " 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7"1020 }, 1021 "dist": { 1022 "type": "zip", 1023 "url": "https://api.github.com/repos/symfony/http-client/zipball/ 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7",1024 "reference": " 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7",1019 "reference": "1ec24a54d1885b11e862d6ddab31bd6749720d20" 1020 }, 1021 "dist": { 1022 "type": "zip", 1023 "url": "https://api.github.com/repos/symfony/http-client/zipball/1ec24a54d1885b11e862d6ddab31bd6749720d20", 1024 "reference": "1ec24a54d1885b11e862d6ddab31bd6749720d20", 1025 1025 "shasum": "" 1026 1026 }, … … 1028 1028 "php": ">=8.2", 1029 1029 "psr/log": "^1|^2|^3", 1030 "symfony/deprecation-contracts": "^2.5|^3", 1030 1031 "symfony/http-client-contracts": "^3.4.1", 1031 1032 "symfony/service-contracts": "^2.5|^3" … … 1054 1055 "symfony/messenger": "^6.4|^7.0", 1055 1056 "symfony/process": "^6.4|^7.0", 1057 "symfony/rate-limiter": "^6.4|^7.0", 1056 1058 "symfony/stopwatch": "^6.4|^7.0" 1057 1059 }, … … 1085 1087 ], 1086 1088 "support": { 1087 "source": "https://github.com/symfony/http-client/tree/v7. 0.7"1089 "source": "https://github.com/symfony/http-client/tree/v7.1.1" 1088 1090 }, 1089 1091 "funding": [ … … 1101 1103 } 1102 1104 ], 1103 "time": "2024-0 4-18T09:29:19+00:00"1105 "time": "2024-05-31T14:57:53+00:00" 1104 1106 }, 1105 1107 { -
ai-assistant-gpt-chatbot/trunk/vendor/composer/autoload_psr4.php
r3075019 r3107391 11 11 'Symfony\\Component\\HttpClient\\' => array($vendorDir . '/symfony/http-client'), 12 12 'Psr\\Log\\' => array($vendorDir . '/psr/log/src'), 13 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http- factory/src', $vendorDir . '/psr/http-message/src'),13 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src', $vendorDir . '/psr/http-factory/src'), 14 14 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 15 15 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'), -
ai-assistant-gpt-chatbot/trunk/vendor/composer/autoload_static.php
r3081790 r3107391 68 68 'Psr\\Http\\Message\\' => 69 69 array ( 70 0 => __DIR__ . '/..' . '/psr/http- factory/src',71 1 => __DIR__ . '/..' . '/psr/http- message/src',70 0 => __DIR__ . '/..' . '/psr/http-message/src', 71 1 => __DIR__ . '/..' . '/psr/http-factory/src', 72 72 ), 73 73 'Psr\\Http\\Client\\' => -
ai-assistant-gpt-chatbot/trunk/vendor/composer/installed.json
r3081790 r3107391 595 595 { 596 596 "name": "php-http/multipart-stream-builder", 597 "version": "1.3. 0",598 "version_normalized": "1.3. 0.0",597 "version": "1.3.1", 598 "version_normalized": "1.3.1.0", 599 599 "source": { 600 600 "type": "git", 601 601 "url": "https://github.com/php-http/multipart-stream-builder.git", 602 "reference": " f5938fd135d9fa442cc297dc98481805acfe2b6a"603 }, 604 "dist": { 605 "type": "zip", 606 "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ f5938fd135d9fa442cc297dc98481805acfe2b6a",607 "reference": " f5938fd135d9fa442cc297dc98481805acfe2b6a",602 "reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24" 603 }, 604 "dist": { 605 "type": "zip", 606 "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ed56da23b95949ae4747378bed8a5b61a2fdae24", 607 "reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24", 608 608 "shasum": "" 609 609 }, … … 619 619 "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3" 620 620 }, 621 "time": "202 3-04-28T14:10:22+00:00",621 "time": "2024-06-10T14:51:55+00:00", 622 622 "type": "library", 623 623 "installation-source": "dist", … … 648 648 "support": { 649 649 "issues": "https://github.com/php-http/multipart-stream-builder/issues", 650 "source": "https://github.com/php-http/multipart-stream-builder/tree/1.3. 0"650 "source": "https://github.com/php-http/multipart-stream-builder/tree/1.3.1" 651 651 }, 652 652 "install-path": "../php-http/multipart-stream-builder" … … 765 765 { 766 766 "name": "psr/http-factory", 767 "version": "1. 0.2",768 "version_normalized": "1. 0.2.0",767 "version": "1.1.0", 768 "version_normalized": "1.1.0.0", 769 769 "source": { 770 770 "type": "git", 771 771 "url": "https://github.com/php-fig/http-factory.git", 772 "reference": " e616d01114759c4c489f93b099585439f795fe35"773 }, 774 "dist": { 775 "type": "zip", 776 "url": "https://api.github.com/repos/php-fig/http-factory/zipball/ e616d01114759c4c489f93b099585439f795fe35",777 "reference": " e616d01114759c4c489f93b099585439f795fe35",778 "shasum": "" 779 }, 780 "require": { 781 "php": ">=7. 0.0",772 "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" 773 }, 774 "dist": { 775 "type": "zip", 776 "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", 777 "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", 778 "shasum": "" 779 }, 780 "require": { 781 "php": ">=7.1", 782 782 "psr/http-message": "^1.0 || ^2.0" 783 783 }, 784 "time": "202 3-04-10T20:10:41+00:00",784 "time": "2024-04-15T12:06:14+00:00", 785 785 "type": "library", 786 786 "extra": { … … 805 805 } 806 806 ], 807 "description": " Common interfaces for PSR-7 HTTP message factories",807 "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", 808 808 "keywords": [ 809 809 "factory", … … 817 817 ], 818 818 "support": { 819 "source": "https://github.com/php-fig/http-factory /tree/1.0.2"819 "source": "https://github.com/php-fig/http-factory" 820 820 }, 821 821 "install-path": "../psr/http-factory" … … 1049 1049 { 1050 1050 "name": "symfony/http-client", 1051 "version": "v7. 0.7",1052 "version_normalized": "7. 0.7.0",1051 "version": "v7.1.1", 1052 "version_normalized": "7.1.1.0", 1053 1053 "source": { 1054 1054 "type": "git", 1055 1055 "url": "https://github.com/symfony/http-client.git", 1056 "reference": " 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7"1057 }, 1058 "dist": { 1059 "type": "zip", 1060 "url": "https://api.github.com/repos/symfony/http-client/zipball/ 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7",1061 "reference": " 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7",1056 "reference": "1ec24a54d1885b11e862d6ddab31bd6749720d20" 1057 }, 1058 "dist": { 1059 "type": "zip", 1060 "url": "https://api.github.com/repos/symfony/http-client/zipball/1ec24a54d1885b11e862d6ddab31bd6749720d20", 1061 "reference": "1ec24a54d1885b11e862d6ddab31bd6749720d20", 1062 1062 "shasum": "" 1063 1063 }, … … 1065 1065 "php": ">=8.2", 1066 1066 "psr/log": "^1|^2|^3", 1067 "symfony/deprecation-contracts": "^2.5|^3", 1067 1068 "symfony/http-client-contracts": "^3.4.1", 1068 1069 "symfony/service-contracts": "^2.5|^3" … … 1091 1092 "symfony/messenger": "^6.4|^7.0", 1092 1093 "symfony/process": "^6.4|^7.0", 1094 "symfony/rate-limiter": "^6.4|^7.0", 1093 1095 "symfony/stopwatch": "^6.4|^7.0" 1094 1096 }, 1095 "time": "2024-0 4-18T09:29:19+00:00",1097 "time": "2024-05-31T14:57:53+00:00", 1096 1098 "type": "library", 1097 1099 "installation-source": "dist", … … 1124 1126 ], 1125 1127 "support": { 1126 "source": "https://github.com/symfony/http-client/tree/v7. 0.7"1128 "source": "https://github.com/symfony/http-client/tree/v7.1.1" 1127 1129 }, 1128 1130 "funding": [ -
ai-assistant-gpt-chatbot/trunk/vendor/composer/installed.php
r3081790 r3107391 93 93 ), 94 94 'php-http/multipart-stream-builder' => array( 95 'pretty_version' => '1.3. 0',96 'version' => '1.3. 0.0',97 'reference' => ' f5938fd135d9fa442cc297dc98481805acfe2b6a',95 'pretty_version' => '1.3.1', 96 'version' => '1.3.1.0', 97 'reference' => 'ed56da23b95949ae4747378bed8a5b61a2fdae24', 98 98 'type' => 'library', 99 99 'install_path' => __DIR__ . '/../php-http/multipart-stream-builder', … … 127 127 ), 128 128 'psr/http-factory' => array( 129 'pretty_version' => '1. 0.2',130 'version' => '1. 0.2.0',131 'reference' => ' e616d01114759c4c489f93b099585439f795fe35',129 'pretty_version' => '1.1.0', 130 'version' => '1.1.0.0', 131 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 132 132 'type' => 'library', 133 133 'install_path' => __DIR__ . '/../psr/http-factory', … … 186 186 ), 187 187 'symfony/http-client' => array( 188 'pretty_version' => 'v7. 0.7',189 'version' => '7. 0.7.0',190 'reference' => ' 6ce3c4c899051b3d7326ea1a1dda3729e29ae6d7',188 'pretty_version' => 'v7.1.1', 189 'version' => '7.1.1.0', 190 'reference' => '1ec24a54d1885b11e862d6ddab31bd6749720d20', 191 191 'type' => 'library', 192 192 'install_path' => __DIR__ . '/../symfony/http-client', -
ai-assistant-gpt-chatbot/trunk/vendor/php-http/multipart-stream-builder/CHANGELOG.md
r3075019 r3107391 1 1 # Change Log 2 3 ## 1.3.1 - 2024-06-10 4 5 - Added missing mimetype for `.webp` images. 2 6 3 7 ## 1.3.0 - 2023-04-28 4 8 5 9 - Removed unnecessary dependency on deprecated `php-http/message-factory` 10 - Allow `psr/http-message` 2.* 11 - Also skip setting filename if URI starts with `data://` 6 12 7 13 ## 1.2.0 - 2021-05-21 -
ai-assistant-gpt-chatbot/trunk/vendor/php-http/multipart-stream-builder/src/ApacheMimetypeHelper.php
r3075019 r3107391 114 114 'txt' => 'text/plain', 115 115 'wav' => 'audio/x-wav', 116 'webp' => 'image/webp', 116 117 'webm' => 'video/webm', 117 118 'wma' => 'audio/x-ms-wma', -
ai-assistant-gpt-chatbot/trunk/vendor/psr/http-factory/composer.json
r3075019 r3107391 1 1 { 2 2 "name": "psr/http-factory", 3 "description": " Common interfaces for PSR-7 HTTP message factories",3 "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", 4 4 "keywords": [ 5 5 "psr", … … 19 19 } 20 20 ], 21 "support": { 22 "source": "https://github.com/php-fig/http-factory" 23 }, 21 24 "require": { 22 "php": ">=7. 0.0",25 "php": ">=7.1", 23 26 "psr/http-message": "^1.0 || ^2.0" 24 27 }, -
ai-assistant-gpt-chatbot/trunk/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
r3075019 r3107391 16 16 * @param StreamInterface $stream Underlying stream representing the 17 17 * uploaded file content. 18 * @param int $size in bytes18 * @param int|null $size in bytes 19 19 * @param int $error PHP file upload error 20 * @param string $clientFilename Filename as provided by the client, if any.21 * @param string $clientMediaType Media type as provided by the client, if any.20 * @param string|null $clientFilename Filename as provided by the client, if any. 21 * @param string|null $clientMediaType Media type as provided by the client, if any. 22 22 * 23 23 * @return UploadedFileInterface … … 27 27 public function createUploadedFile( 28 28 StreamInterface $stream, 29 int $size = null,29 ?int $size = null, 30 30 int $error = \UPLOAD_ERR_OK, 31 string $clientFilename = null,32 string $clientMediaType = null31 ?string $clientFilename = null, 32 ?string $clientMediaType = null 33 33 ): UploadedFileInterface; 34 34 } -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/CHANGELOG.md
r3075019 r3107391 1 1 CHANGELOG 2 2 ========= 3 4 7.1 5 --- 6 7 * Add `HttpOptions::setHeader()` to add or replace a single header 8 * Allow mocking `start_time` info in `MockResponse` 9 * Add `MockResponse::fromFile()` and `JsonMockResponse::fromFile()` methods to help using fixtures files 10 * Add `ThrottlingHttpClient` to enable limiting the number of requests within a certain period 11 * Deprecate the `setLogger()` methods of the `NoPrivateNetworkHttpClient`, `TraceableHttpClient` and `ScopingHttpClient` classes, configure the logger of the wrapped clients directly instead 3 12 4 13 7.0 -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Chunk/DataChunk.php
r3075019 r3107391 21 21 class DataChunk implements ChunkInterface 22 22 { 23 private int $offset = 0; 24 private string $content = ''; 25 26 public function __construct(int $offset = 0, string $content = '') 27 { 28 $this->offset = $offset; 29 $this->content = $content; 23 public function __construct( 24 private int $offset = 0, 25 private string $content = '', 26 ) { 30 27 } 31 28 -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Chunk/ErrorChunk.php
r3075019 r3107391 24 24 { 25 25 private bool $didThrow = false; 26 private int $offset;27 26 private string $errorMessage; 28 27 private ?\Throwable $error = null; 29 28 30 public function __construct( int $offset, \Throwable|string $error)31 {32 $this->offset = $offset;33 29 public function __construct( 30 private int $offset, 31 \Throwable|string $error, 32 ) { 34 33 if (\is_string($error)) { 35 34 $this->errorMessage = $error; -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Chunk/ServerSentEvent.php
r3075019 r3107391 46 46 47 47 switch ($field) { 48 case 'id': $this->id = substr($line, $i); break; 49 case 'event': $this->type = substr($line, $i); break; 50 case 'data': $this->data .= ('' === $this->data ? '' : "\n").substr($line, $i); break; 48 case 'id': 49 $this->id = substr($line, $i); 50 break; 51 case 'event': 52 $this->type = substr($line, $i); 53 break; 54 case 'data': 55 $this->data .= ('' === $this->data ? '' : "\n").substr($line, $i); 56 break; 51 57 case 'retry': 52 58 $retry = substr($line, $i); … … 55 61 $this->retry = $retry / 1000.0; 56 62 } 63 57 64 break; 58 65 } -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/CurlHttpClient.php
r3081790 r3107391 116 116 \CURLOPT_REDIR_PROTOCOLS => \CURLPROTO_HTTP | \CURLPROTO_HTTPS, 117 117 \CURLOPT_FOLLOWLOCATION => true, 118 \CURLOPT_MAXREDIRS => 0 < $options['max_redirects'] ? $options['max_redirects'] : 0,118 \CURLOPT_MAXREDIRS => max(0, $options['max_redirects']), 119 119 \CURLOPT_COOKIEFILE => '', // Keep track of cookies during redirects 120 120 \CURLOPT_TIMEOUT => 0, … … 555 555 } 556 556 557 if (\in_array($opt, $methodOpts )) {557 if (\in_array($opt, $methodOpts, true)) { 558 558 throw new InvalidArgumentException('The HTTP method cannot be overridden using "extra.curl".'); 559 559 } 560 560 561 if (\in_array($opt, $curloptsToCheck )) {561 if (\in_array($opt, $curloptsToCheck, true)) { 562 562 $constName = $this->findConstantName($opt) ?? $opt; 563 563 throw new InvalidArgumentException(sprintf('Cannot set "%s" with "extra.curl".', $constName)); -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/DataCollector/HttpClientDataCollector.php
r3075019 r3107391 214 214 } 215 215 216 $dataArg = empty($dataArg) ? null : implode(' ', $dataArg);216 $dataArg = $dataArg ? implode(' ', $dataArg) : null; 217 217 218 218 foreach (explode("\n", $trace['info']['debug']) as $line) { -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/HttpOptions.php
r3075019 r3107391 67 67 * @return $this 68 68 */ 69 public function setHeader(string $key, string $value): static 70 { 71 $this->options['headers'][$key] = $value; 72 73 return $this; 74 } 75 76 /** 77 * @return $this 78 */ 69 79 public function setHeaders(iterable $headers): static 70 80 { -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/AmpBody.php
r3075019 r3107391 28 28 private ResourceInputStream|\Closure|string $body; 29 29 private array $info; 30 private \Closure $onProgress;31 30 private ?int $offset = 0; 32 31 private int $length = -1; … … 36 35 * @param \Closure|resource|string $body 37 36 */ 38 public function __construct($body, &$info, \Closure $onProgress) 39 { 37 public function __construct( 38 $body, 39 &$info, 40 private \Closure $onProgress, 41 ) { 40 42 $this->info = &$info; 41 $this->onProgress = $onProgress;42 43 43 44 if (\is_resource($body)) { -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/AmpClientState.php
r3075019 r3107391 48 48 private array $clients = []; 49 49 private \Closure $clientConfigurator; 50 private int $maxHostConnections; 51 private int $maxPendingPushes; 52 private ?LoggerInterface $logger; 53 54 public function __construct(?callable $clientConfigurator, int $maxHostConnections, int $maxPendingPushes, ?LoggerInterface &$logger) 55 { 50 51 public function __construct( 52 ?callable $clientConfigurator, 53 private int $maxHostConnections, 54 private int $maxPendingPushes, 55 private ?LoggerInterface &$logger, 56 ) { 56 57 $clientConfigurator ??= static fn (PooledHttpClient $client) => new InterceptedHttpClient($client, new RetryRequests(2)); 57 58 $this->clientConfigurator = $clientConfigurator(...); 58 59 $this->maxHostConnections = $maxHostConnections;60 $this->maxPendingPushes = $maxPendingPushes;61 $this->logger = &$logger;62 59 } 63 60 -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/AmpListener.php
r3075019 r3107391 27 27 { 28 28 private array $info; 29 private array $pinSha256;30 private \Closure $onProgress;31 /** @var resource|null */32 private $handle;33 29 34 public function __construct(array &$info, array $pinSha256, \Closure $onProgress, &$handle) 35 { 30 /** 31 * @param resource|null $handle 32 */ 33 public function __construct( 34 array &$info, 35 private array $pinSha256, 36 private \Closure $onProgress, 37 private &$handle, 38 ) { 36 39 $info += [ 37 40 'connect_time' => 0.0, … … 45 48 46 49 $this->info = &$info; 47 $this->pinSha256 = $pinSha256;48 $this->onProgress = $onProgress;49 $this->handle = &$handle;50 50 } 51 51 -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/AmpResolver.php
r3075019 r3107391 26 26 class AmpResolver implements Dns\Resolver 27 27 { 28 private array $dnsMap; 29 30 public function __construct(array &$dnsMap) 31 { 32 $this->dnsMap = &$dnsMap; 28 public function __construct( 29 private array &$dnsMap, 30 ) { 33 31 } 34 32 -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/Canary.php
r3075019 r3107391 19 19 final class Canary 20 20 { 21 private \Closure $canceller; 22 23 public function __construct(\Closure $canceller) 24 { 25 $this->canceller = $canceller; 21 public function __construct( 22 private \Closure $canceller, 23 ) { 26 24 } 27 25 -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/HttplugWaitLoop.php
r3075019 r3107391 31 31 final class HttplugWaitLoop 32 32 { 33 private HttpClientInterface $client;34 private ?\SplObjectStorage $promisePool;35 private ResponseFactoryInterface $responseFactory;36 private StreamFactoryInterface $streamFactory;37 38 33 /** 39 34 * @param \SplObjectStorage<ResponseInterface, array{Psr7RequestInterface, Promise}>|null $promisePool 40 35 */ 41 public function __construct( HttpClientInterface $client, ?\SplObjectStorage $promisePool, ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory)42 {43 $this->client = $client;44 $this->promisePool = $promisePool;45 $this->responseFactory = $responseFactory;46 $this->streamFactory = $streamFactory;36 public function __construct( 37 private HttpClientInterface $client, 38 private ?\SplObjectStorage $promisePool, 39 private ResponseFactoryInterface $responseFactory, 40 private StreamFactoryInterface $streamFactory, 41 ) { 47 42 } 48 43 -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/NoPrivateNetworkHttpClient.php
r3075019 r3107391 78 78 } 79 79 80 /** 81 * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead 82 */ 80 83 public function setLogger(LoggerInterface $logger): void 81 84 { 85 trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.'); 86 82 87 if ($this->client instanceof LoggerAwareInterface) { 83 88 $this->client->setLogger($logger); -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/README.md
r3075019 r3107391 3 3 4 4 The HttpClient component provides powerful methods to fetch HTTP resources synchronously or asynchronously. 5 6 Sponsor7 -------8 9 The HttpClient component for Symfony 7.0 is [backed][1] by [Innovative Web AG][2].10 11 Innovative Web AG (i-web) is a specialist for web, applications and the12 digitalisation of the public sector based in Switzerland. With their i-CMS,13 public authorities and institutions implement modern websites and eGovernment14 portals and offer user-friendly eServices for residents and companies.15 16 Help Symfony by [sponsoring][3] its development!17 5 18 6 Resources … … 24 12 [send Pull Requests](https://github.com/symfony/symfony/pulls) 25 13 in the [main Symfony repository](https://github.com/symfony/symfony) 26 27 [1]: https://symfony.com/backers28 [2]: https://www.i-web.ch29 [3]: https://symfony.com/sponsor -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/AmpResponse.php
r3075019 r3107391 46 46 private static string $nextId = 'a'; 47 47 48 private AmpClientState $multi;49 48 private ?array $options; 50 49 private \Closure $onProgress; … … 55 54 * @internal 56 55 */ 57 public function __construct(AmpClientState $multi, Request $request, array $options, ?LoggerInterface $logger) 58 { 59 $this->multi = $multi; 56 public function __construct( 57 private AmpClientState $multi, 58 Request $request, 59 array $options, 60 ?LoggerInterface $logger, 61 ) { 60 62 $this->options = &$options; 61 63 $this->logger = $logger; -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/CurlResponse.php
r3075019 r3107391 33 33 use TransportResponseTrait; 34 34 35 private CurlClientState $multi;36 37 35 /** 38 36 * @var resource … … 43 41 * @internal 44 42 */ 45 public function __construct(CurlClientState $multi, \CurlHandle|string $ch, ?array $options = null, ?LoggerInterface $logger = null, string $method = 'GET', ?callable $resolveRedirect = null, ?int $curlVersion = null, ?string $originalUrl = null) 46 { 47 $this->multi = $multi; 48 43 public function __construct( 44 private CurlClientState $multi, 45 \CurlHandle|string $ch, 46 ?array $options = null, 47 ?LoggerInterface $logger = null, 48 string $method = 'GET', 49 ?callable $resolveRedirect = null, 50 ?int $curlVersion = null, 51 ?string $originalUrl = null, 52 ) { 49 53 if ($ch instanceof \CurlHandle) { 50 54 $this->handle = $ch; -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/HttplugPromise.php
r3075019 r3107391 24 24 final class HttplugPromise implements HttplugPromiseInterface 25 25 { 26 private GuzzlePromiseInterface $promise; 27 28 public function __construct(GuzzlePromiseInterface $promise) 29 { 30 $this->promise = $promise; 26 public function __construct( 27 private GuzzlePromiseInterface $promise, 28 ) { 31 29 } 32 30 -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/JsonMockResponse.php
r3075019 r3107391 31 31 parent::__construct($json, $info); 32 32 } 33 34 public static function fromFile(string $path, array $info = []): static 35 { 36 if (!is_file($path)) { 37 throw new InvalidArgumentException(sprintf('File not found: "%s".', $path)); 38 } 39 40 $json = file_get_contents($path); 41 if (!json_validate($json)) { 42 throw new \InvalidArgumentException(sprintf('File "%s" does not contain valid JSON.', $path)); 43 } 44 45 return new static(json_decode($json, true, flags: \JSON_THROW_ON_ERROR), $info); 46 } 33 47 } -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/MockResponse.php
r3075019 r3107391 63 63 $this->info['response_headers'] = []; 64 64 self::addResponseHeaders($responseHeaders, $this->info, $this->headers); 65 } 66 67 public static function fromFile(string $path, array $info = []): static 68 { 69 if (!is_file($path)) { 70 throw new \InvalidArgumentException(sprintf('File not found: "%s".', $path)); 71 } 72 73 return new static(file_get_contents($path), $info); 65 74 } 66 75 … … 218 227 $onProgress = $options['on_progress'] ?? static function () {}; 219 228 $response->info += $mock->getInfo() ?: []; 229 if (null !== $mock->getInfo('start_time')) { 230 $response->info['start_time'] = $mock->getInfo('start_time'); 231 } 220 232 221 233 // simulate "size_upload" if it is set -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/NativeResponse.php
r3075019 r3107391 30 30 use TransportResponseTrait; 31 31 32 /**33 * @var resource34 */35 private $context;36 private string $url;37 32 private \Closure $resolver; 38 33 private ?\Closure $onProgress; … … 44 39 private $buffer; 45 40 46 private NativeClientState $multi;47 41 private float $pauseExpiry = 0.0; 48 42 49 43 /** 50 44 * @internal 45 * @param $context resource 51 46 */ 52 public function __construct(NativeClientState $multi, $context, string $url, array $options, array &$info, callable $resolver, ?callable $onProgress, ?LoggerInterface $logger) 53 { 54 $this->multi = $multi; 47 public function __construct( 48 private NativeClientState $multi, 49 private $context, 50 private string $url, 51 array $options, 52 array &$info, 53 callable $resolver, 54 ?callable $onProgress, 55 ?LoggerInterface $logger, 56 ) { 55 57 $this->id = $id = (int) $context; 56 $this->context = $context;57 $this->url = $url;58 58 $this->logger = $logger; 59 59 $this->timeout = $options['timeout']; -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/ResponseStream.php
r3075019 r3107391 21 21 final class ResponseStream implements ResponseStreamInterface 22 22 { 23 private \Generator $generator; 24 25 public function __construct(\Generator $generator) 26 { 27 $this->generator = $generator; 23 public function __construct( 24 private \Generator $generator, 25 ) { 28 26 } 29 27 -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/StreamWrapper.php
r3075019 r3107391 31 31 32 32 /** @var resource|string|null */ 33 private $content = null;33 private $content; 34 34 35 35 /** @var resource|callable|null */ -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/TraceableResponse.php
r3075019 r3107391 32 32 class TraceableResponse implements ResponseInterface, StreamableInterface 33 33 { 34 private HttpClientInterface $client; 35 private ResponseInterface $response; 36 private mixed $content; 37 private ?StopwatchEvent $event; 38 39 public function __construct(HttpClientInterface $client, ResponseInterface $response, &$content, ?StopwatchEvent $event = null) 40 { 41 $this->client = $client; 42 $this->response = $response; 43 $this->content = &$content; 44 $this->event = $event; 34 public function __construct( 35 private HttpClientInterface $client, 36 private ResponseInterface $response, 37 private mixed &$content, 38 private ?StopwatchEvent $event = null, 39 ) { 45 40 } 46 41 -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Retry/GenericRetryStrategy.php
r3075019 r3107391 37 37 ]; 38 38 39 private array $statusCodes;40 39 private int $delayMs; 41 40 private float $multiplier; … … 50 49 * @param float $jitter Probability of randomness int delay (0 = none, 1 = 100% random) 51 50 */ 52 public function __construct(array $statusCodes = self::DEFAULT_RETRY_STATUS_CODES, int $delayMs = 1000, float $multiplier = 2.0, int $maxDelayMs = 0, float $jitter = 0.1) 53 { 54 $this->statusCodes = $statusCodes; 55 51 public function __construct( 52 private array $statusCodes = self::DEFAULT_RETRY_STATUS_CODES, 53 int $delayMs = 1000, 54 float $multiplier = 2.0, 55 int $maxDelayMs = 0, 56 float $jitter = 0.1, 57 ) { 56 58 if ($delayMs < 0) { 57 59 throw new InvalidArgumentException(sprintf('Delay must be greater than or equal to zero: "%s" given.', $delayMs)); -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/ScopingHttpClient.php
r3075019 r3107391 101 101 } 102 102 103 /** 104 * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead 105 */ 103 106 public function setLogger(LoggerInterface $logger): void 104 107 { 108 trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.'); 109 105 110 if ($this->client instanceof LoggerAwareInterface) { 106 111 $this->client->setLogger($logger); -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/TraceableHttpClient.php
r3075019 r3107391 90 90 } 91 91 92 /** 93 * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead 94 */ 92 95 public function setLogger(LoggerInterface $logger): void 93 96 { 97 trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.'); 98 94 99 if ($this->client instanceof LoggerAwareInterface) { 95 100 $this->client->setLogger($logger); -
ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/composer.json
r3075019 r3107391 25 25 "php": ">=8.2", 26 26 "psr/log": "^1|^2|^3", 27 "symfony/deprecation-contracts": "^2.5|^3", 27 28 "symfony/http-client-contracts": "^3.4.1", 28 29 "symfony/service-contracts": "^2.5|^3" … … 41 42 "symfony/messenger": "^6.4|^7.0", 42 43 "symfony/process": "^6.4|^7.0", 44 "symfony/rate-limiter": "^6.4|^7.0", 43 45 "symfony/stopwatch": "^6.4|^7.0" 44 46 },
Note: See TracChangeset
for help on using the changeset viewer.