Plugin Directory

Changeset 3107391


Ignore:
Timestamp:
06/25/2024 10:47:11 AM (9 months ago)
Author:
federicopepedev
Message:

Update packages

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  
    583583        {
    584584            "name": "php-http/multipart-stream-builder",
    585             "version": "1.3.0",
     585            "version": "1.3.1",
    586586            "source": {
    587587                "type": "git",
    588588                "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",
    595595                "shasum": ""
    596596            },
     
    633633            "support": {
    634634                "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": "2023-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"
    638638        },
    639639        {
     
    744744        {
    745745            "name": "psr/http-factory",
    746             "version": "1.0.2",
     746            "version": "1.1.0",
    747747            "source": {
    748748                "type": "git",
    749749                "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",
    760760                "psr/http-message": "^1.0 || ^2.0"
    761761            },
     
    781781                }
    782782            ],
    783             "description": "Common interfaces for PSR-7 HTTP message factories",
     783            "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
    784784            "keywords": [
    785785                "factory",
     
    793793            ],
    794794            "support": {
    795                 "source": "https://github.com/php-fig/http-factory/tree/1.0.2"
    796             },
    797             "time": "2023-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"
    798798        },
    799799        {
     
    10131013        {
    10141014            "name": "symfony/http-client",
    1015             "version": "v7.0.7",
     1015            "version": "v7.1.1",
    10161016            "source": {
    10171017                "type": "git",
    10181018                "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",
    10251025                "shasum": ""
    10261026            },
     
    10281028                "php": ">=8.2",
    10291029                "psr/log": "^1|^2|^3",
     1030                "symfony/deprecation-contracts": "^2.5|^3",
    10301031                "symfony/http-client-contracts": "^3.4.1",
    10311032                "symfony/service-contracts": "^2.5|^3"
     
    10541055                "symfony/messenger": "^6.4|^7.0",
    10551056                "symfony/process": "^6.4|^7.0",
     1057                "symfony/rate-limiter": "^6.4|^7.0",
    10561058                "symfony/stopwatch": "^6.4|^7.0"
    10571059            },
     
    10851087            ],
    10861088            "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"
    10881090            },
    10891091            "funding": [
     
    11011103                }
    11021104            ],
    1103             "time": "2024-04-18T09:29:19+00:00"
     1105            "time": "2024-05-31T14:57:53+00:00"
    11041106        },
    11051107        {
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/composer/autoload_psr4.php

    r3097791 r3107391  
    1111    'Symfony\\Component\\HttpClient\\' => array($vendorDir . '/symfony/http-client'),
    1212    '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'),
    1414    'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
    1515    'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/composer/autoload_static.php

    r3097791 r3107391  
    6868        'Psr\\Http\\Message\\' =>
    6969        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',
    7272        ),
    7373        'Psr\\Http\\Client\\' =>
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/composer/installed.json

    r3097791 r3107391  
    595595        {
    596596            "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",
    599599            "source": {
    600600                "type": "git",
    601601                "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",
    608608                "shasum": ""
    609609            },
     
    619619                "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3"
    620620            },
    621             "time": "2023-04-28T14:10:22+00:00",
     621            "time": "2024-06-10T14:51:55+00:00",
    622622            "type": "library",
    623623            "installation-source": "dist",
     
    648648            "support": {
    649649                "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"
    651651            },
    652652            "install-path": "../php-http/multipart-stream-builder"
     
    765765        {
    766766            "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",
    769769            "source": {
    770770                "type": "git",
    771771                "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",
    782782                "psr/http-message": "^1.0 || ^2.0"
    783783            },
    784             "time": "2023-04-10T20:10:41+00:00",
     784            "time": "2024-04-15T12:06:14+00:00",
    785785            "type": "library",
    786786            "extra": {
     
    805805                }
    806806            ],
    807             "description": "Common interfaces for PSR-7 HTTP message factories",
     807            "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
    808808            "keywords": [
    809809                "factory",
     
    817817            ],
    818818            "support": {
    819                 "source": "https://github.com/php-fig/http-factory/tree/1.0.2"
     819                "source": "https://github.com/php-fig/http-factory"
    820820            },
    821821            "install-path": "../psr/http-factory"
     
    10491049        {
    10501050            "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",
    10531053            "source": {
    10541054                "type": "git",
    10551055                "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",
    10621062                "shasum": ""
    10631063            },
     
    10651065                "php": ">=8.2",
    10661066                "psr/log": "^1|^2|^3",
     1067                "symfony/deprecation-contracts": "^2.5|^3",
    10671068                "symfony/http-client-contracts": "^3.4.1",
    10681069                "symfony/service-contracts": "^2.5|^3"
     
    10911092                "symfony/messenger": "^6.4|^7.0",
    10921093                "symfony/process": "^6.4|^7.0",
     1094                "symfony/rate-limiter": "^6.4|^7.0",
    10931095                "symfony/stopwatch": "^6.4|^7.0"
    10941096            },
    1095             "time": "2024-04-18T09:29:19+00:00",
     1097            "time": "2024-05-31T14:57:53+00:00",
    10961098            "type": "library",
    10971099            "installation-source": "dist",
     
    11241126            ],
    11251127            "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"
    11271129            },
    11281130            "funding": [
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/composer/installed.php

    r3097791 r3107391  
    9393        ),
    9494        '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',
    9898            'type' => 'library',
    9999            'install_path' => __DIR__ . '/../php-http/multipart-stream-builder',
     
    127127        ),
    128128        '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',
    132132            'type' => 'library',
    133133            'install_path' => __DIR__ . '/../psr/http-factory',
     
    186186        ),
    187187        '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',
    191191            'type' => 'library',
    192192            'install_path' => __DIR__ . '/../symfony/http-client',
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/php-http/multipart-stream-builder/CHANGELOG.md

    r3097791 r3107391  
    11# Change Log
     2
     3## 1.3.1 - 2024-06-10
     4
     5- Added missing mimetype for `.webp` images.
    26
    37## 1.3.0 - 2023-04-28
    48
    59- 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://`
    612
    713## 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  
    114114            'txt' => 'text/plain',
    115115            'wav' => 'audio/x-wav',
     116            'webp' => 'image/webp',
    116117            'webm' => 'video/webm',
    117118            'wma' => 'audio/x-ms-wma',
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/psr/http-factory/composer.json

    r3097791 r3107391  
    11{
    22    "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",
    44    "keywords": [
    55        "psr",
     
    1919        }
    2020    ],
     21    "support": {
     22        "source": "https://github.com/php-fig/http-factory"
     23    },
    2124    "require": {
    22         "php": ">=7.0.0",
     25        "php": ">=7.1",
    2326        "psr/http-message": "^1.0 || ^2.0"
    2427    },
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php

    r3097791 r3107391  
    1616     * @param StreamInterface $stream Underlying stream representing the
    1717     *     uploaded file content.
    18      * @param int $size in bytes
     18     * @param int|null $size in bytes
    1919     * @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.
    2222     *
    2323     * @return UploadedFileInterface
     
    2727    public function createUploadedFile(
    2828        StreamInterface $stream,
    29         int $size = null,
     29        ?int $size = null,
    3030        int $error = \UPLOAD_ERR_OK,
    31         string $clientFilename = null,
    32         string $clientMediaType = null
     31        ?string $clientFilename = null,
     32        ?string $clientMediaType = null
    3333    ): UploadedFileInterface;
    3434}
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/CHANGELOG.md

    r3097791 r3107391  
    11CHANGELOG
    22=========
     3
     47.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
    312
    4137.0
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Chunk/DataChunk.php

    r3097791 r3107391  
    2121class DataChunk implements ChunkInterface
    2222{
    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    ) {
    3027    }
    3128
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Chunk/ErrorChunk.php

    r3097791 r3107391  
    2424{
    2525    private bool $didThrow = false;
    26     private int $offset;
    2726    private string $errorMessage;
    2827    private ?\Throwable $error = null;
    2928
    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    ) {
    3433        if (\is_string($error)) {
    3534            $this->errorMessage = $error;
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Chunk/ServerSentEvent.php

    r3097791 r3107391  
    4646
    4747            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;
    5157                case 'retry':
    5258                    $retry = substr($line, $i);
     
    5561                        $this->retry = $retry / 1000.0;
    5662                    }
     63
    5764                    break;
    5865            }
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/CurlHttpClient.php

    r3097791 r3107391  
    116116            \CURLOPT_REDIR_PROTOCOLS => \CURLPROTO_HTTP | \CURLPROTO_HTTPS,
    117117            \CURLOPT_FOLLOWLOCATION => true,
    118             \CURLOPT_MAXREDIRS => 0 < $options['max_redirects'] ? $options['max_redirects'] : 0,
     118            \CURLOPT_MAXREDIRS => max(0, $options['max_redirects']),
    119119            \CURLOPT_COOKIEFILE => '', // Keep track of cookies during redirects
    120120            \CURLOPT_TIMEOUT => 0,
     
    555555            }
    556556
    557             if (\in_array($opt, $methodOpts)) {
     557            if (\in_array($opt, $methodOpts, true)) {
    558558                throw new InvalidArgumentException('The HTTP method cannot be overridden using "extra.curl".');
    559559            }
    560560
    561             if (\in_array($opt, $curloptsToCheck)) {
     561            if (\in_array($opt, $curloptsToCheck, true)) {
    562562                $constName = $this->findConstantName($opt) ?? $opt;
    563563                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  
    214214        }
    215215
    216         $dataArg = empty($dataArg) ? null : implode(' ', $dataArg);
     216        $dataArg = $dataArg ? implode(' ', $dataArg) : null;
    217217
    218218        foreach (explode("\n", $trace['info']['debug']) as $line) {
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/HttpOptions.php

    r3097791 r3107391  
    6767     * @return $this
    6868     */
     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     */
    6979    public function setHeaders(iterable $headers): static
    7080    {
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/AmpBody.php

    r3097791 r3107391  
    2828    private ResourceInputStream|\Closure|string $body;
    2929    private array $info;
    30     private \Closure $onProgress;
    3130    private ?int $offset = 0;
    3231    private int $length = -1;
     
    3635     * @param \Closure|resource|string $body
    3736     */
    38     public function __construct($body, &$info, \Closure $onProgress)
    39     {
     37    public function __construct(
     38        $body,
     39        &$info,
     40        private \Closure $onProgress,
     41    ) {
    4042        $this->info = &$info;
    41         $this->onProgress = $onProgress;
    4243
    4344        if (\is_resource($body)) {
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/AmpClientState.php

    r3097791 r3107391  
    4848    private array $clients = [];
    4949    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    ) {
    5657        $clientConfigurator ??= static fn (PooledHttpClient $client) => new InterceptedHttpClient($client, new RetryRequests(2));
    5758        $this->clientConfigurator = $clientConfigurator(...);
    58 
    59         $this->maxHostConnections = $maxHostConnections;
    60         $this->maxPendingPushes = $maxPendingPushes;
    61         $this->logger = &$logger;
    6259    }
    6360
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/AmpListener.php

    r3097791 r3107391  
    2727{
    2828    private array $info;
    29     private array $pinSha256;
    30     private \Closure $onProgress;
    31     /** @var resource|null */
    32     private $handle;
    3329
    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    ) {
    3639        $info += [
    3740            'connect_time' => 0.0,
     
    4548
    4649        $this->info = &$info;
    47         $this->pinSha256 = $pinSha256;
    48         $this->onProgress = $onProgress;
    49         $this->handle = &$handle;
    5050    }
    5151
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/AmpResolver.php

    r3097791 r3107391  
    2626class AmpResolver implements Dns\Resolver
    2727{
    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    ) {
    3331    }
    3432
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/Canary.php

    r3097791 r3107391  
    1919final class Canary
    2020{
    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    ) {
    2624    }
    2725
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Internal/HttplugWaitLoop.php

    r3097791 r3107391  
    3131final class HttplugWaitLoop
    3232{
    33     private HttpClientInterface $client;
    34     private ?\SplObjectStorage $promisePool;
    35     private ResponseFactoryInterface $responseFactory;
    36     private StreamFactoryInterface $streamFactory;
    37 
    3833    /**
    3934     * @param \SplObjectStorage<ResponseInterface, array{Psr7RequestInterface, Promise}>|null $promisePool
    4035     */
    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    ) {
    4742    }
    4843
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/NoPrivateNetworkHttpClient.php

    r3097791 r3107391  
    7878    }
    7979
     80    /**
     81     * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead
     82     */
    8083    public function setLogger(LoggerInterface $logger): void
    8184    {
     85        trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.');
     86
    8287        if ($this->client instanceof LoggerAwareInterface) {
    8388            $this->client->setLogger($logger);
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/README.md

    r3097791 r3107391  
    33
    44The HttpClient component provides powerful methods to fetch HTTP resources synchronously or asynchronously.
    5 
    6 Sponsor
    7 -------
    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 the
    12 digitalisation of the public sector based in Switzerland. With their i-CMS,
    13 public authorities and institutions implement modern websites and eGovernment
    14 portals and offer user-friendly eServices for residents and companies.
    15 
    16 Help Symfony by [sponsoring][3] its development!
    175
    186Resources
     
    2412   [send Pull Requests](https://github.com/symfony/symfony/pulls)
    2513   in the [main Symfony repository](https://github.com/symfony/symfony)
    26 
    27 [1]: https://symfony.com/backers
    28 [2]: https://www.i-web.ch
    29 [3]: https://symfony.com/sponsor
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/AmpResponse.php

    r3097791 r3107391  
    4646    private static string $nextId = 'a';
    4747
    48     private AmpClientState $multi;
    4948    private ?array $options;
    5049    private \Closure $onProgress;
     
    5554     * @internal
    5655     */
    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    ) {
    6062        $this->options = &$options;
    6163        $this->logger = $logger;
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/CurlResponse.php

    r3097791 r3107391  
    3333    use TransportResponseTrait;
    3434
    35     private CurlClientState $multi;
    36 
    3735    /**
    3836     * @var resource
     
    4341     * @internal
    4442     */
    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    ) {
    4953        if ($ch instanceof \CurlHandle) {
    5054            $this->handle = $ch;
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/HttplugPromise.php

    r3097791 r3107391  
    2424final class HttplugPromise implements HttplugPromiseInterface
    2525{
    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    ) {
    3129    }
    3230
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/JsonMockResponse.php

    r3097791 r3107391  
    3131        parent::__construct($json, $info);
    3232    }
     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    }
    3347}
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/MockResponse.php

    r3097791 r3107391  
    6363        $this->info['response_headers'] = [];
    6464        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);
    6574    }
    6675
     
    218227        $onProgress = $options['on_progress'] ?? static function () {};
    219228        $response->info += $mock->getInfo() ?: [];
     229        if (null !== $mock->getInfo('start_time')) {
     230            $response->info['start_time'] = $mock->getInfo('start_time');
     231        }
    220232
    221233        // simulate "size_upload" if it is set
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/NativeResponse.php

    r3097791 r3107391  
    3030    use TransportResponseTrait;
    3131
    32     /**
    33      * @var resource
    34      */
    35     private $context;
    36     private string $url;
    3732    private \Closure $resolver;
    3833    private ?\Closure $onProgress;
     
    4439    private $buffer;
    4540
    46     private NativeClientState $multi;
    4741    private float $pauseExpiry = 0.0;
    4842
    4943    /**
    5044     * @internal
     45     * @param $context resource
    5146     */
    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    ) {
    5557        $this->id = $id = (int) $context;
    56         $this->context = $context;
    57         $this->url = $url;
    5858        $this->logger = $logger;
    5959        $this->timeout = $options['timeout'];
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/ResponseStream.php

    r3097791 r3107391  
    2121final class ResponseStream implements ResponseStreamInterface
    2222{
    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    ) {
    2826    }
    2927
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/StreamWrapper.php

    r3097791 r3107391  
    3131
    3232    /** @var resource|string|null */
    33     private $content = null;
     33    private $content;
    3434
    3535    /** @var resource|callable|null */
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Response/TraceableResponse.php

    r3097791 r3107391  
    3232class TraceableResponse implements ResponseInterface, StreamableInterface
    3333{
    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    ) {
    4540    }
    4641
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/Retry/GenericRetryStrategy.php

    r3097791 r3107391  
    3737    ];
    3838
    39     private array $statusCodes;
    4039    private int $delayMs;
    4140    private float $multiplier;
     
    5049     * @param float $jitter      Probability of randomness int delay (0 = none, 1 = 100% random)
    5150     */
    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    ) {
    5658        if ($delayMs < 0) {
    5759            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  
    101101    }
    102102
     103    /**
     104     * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead
     105     */
    103106    public function setLogger(LoggerInterface $logger): void
    104107    {
     108        trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.');
     109
    105110        if ($this->client instanceof LoggerAwareInterface) {
    106111            $this->client->setLogger($logger);
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/TraceableHttpClient.php

    r3097791 r3107391  
    9090    }
    9191
     92    /**
     93     * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead
     94     */
    9295    public function setLogger(LoggerInterface $logger): void
    9396    {
     97        trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.');
     98
    9499        if ($this->client instanceof LoggerAwareInterface) {
    95100            $this->client->setLogger($logger);
  • ai-assistant-gpt-chatbot/tags/1.0.2/vendor/symfony/http-client/composer.json

    r3097791 r3107391  
    2525        "php": ">=8.2",
    2626        "psr/log": "^1|^2|^3",
     27        "symfony/deprecation-contracts": "^2.5|^3",
    2728        "symfony/http-client-contracts": "^3.4.1",
    2829        "symfony/service-contracts": "^2.5|^3"
     
    4142        "symfony/messenger": "^6.4|^7.0",
    4243        "symfony/process": "^6.4|^7.0",
     44        "symfony/rate-limiter": "^6.4|^7.0",
    4345        "symfony/stopwatch": "^6.4|^7.0"
    4446    },
  • ai-assistant-gpt-chatbot/trunk/composer.lock

    r3081790 r3107391  
    583583        {
    584584            "name": "php-http/multipart-stream-builder",
    585             "version": "1.3.0",
     585            "version": "1.3.1",
    586586            "source": {
    587587                "type": "git",
    588588                "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",
    595595                "shasum": ""
    596596            },
     
    633633            "support": {
    634634                "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": "2023-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"
    638638        },
    639639        {
     
    744744        {
    745745            "name": "psr/http-factory",
    746             "version": "1.0.2",
     746            "version": "1.1.0",
    747747            "source": {
    748748                "type": "git",
    749749                "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",
    760760                "psr/http-message": "^1.0 || ^2.0"
    761761            },
     
    781781                }
    782782            ],
    783             "description": "Common interfaces for PSR-7 HTTP message factories",
     783            "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
    784784            "keywords": [
    785785                "factory",
     
    793793            ],
    794794            "support": {
    795                 "source": "https://github.com/php-fig/http-factory/tree/1.0.2"
    796             },
    797             "time": "2023-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"
    798798        },
    799799        {
     
    10131013        {
    10141014            "name": "symfony/http-client",
    1015             "version": "v7.0.7",
     1015            "version": "v7.1.1",
    10161016            "source": {
    10171017                "type": "git",
    10181018                "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",
    10251025                "shasum": ""
    10261026            },
     
    10281028                "php": ">=8.2",
    10291029                "psr/log": "^1|^2|^3",
     1030                "symfony/deprecation-contracts": "^2.5|^3",
    10301031                "symfony/http-client-contracts": "^3.4.1",
    10311032                "symfony/service-contracts": "^2.5|^3"
     
    10541055                "symfony/messenger": "^6.4|^7.0",
    10551056                "symfony/process": "^6.4|^7.0",
     1057                "symfony/rate-limiter": "^6.4|^7.0",
    10561058                "symfony/stopwatch": "^6.4|^7.0"
    10571059            },
     
    10851087            ],
    10861088            "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"
    10881090            },
    10891091            "funding": [
     
    11011103                }
    11021104            ],
    1103             "time": "2024-04-18T09:29:19+00:00"
     1105            "time": "2024-05-31T14:57:53+00:00"
    11041106        },
    11051107        {
  • ai-assistant-gpt-chatbot/trunk/vendor/composer/autoload_psr4.php

    r3075019 r3107391  
    1111    'Symfony\\Component\\HttpClient\\' => array($vendorDir . '/symfony/http-client'),
    1212    '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'),
    1414    'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
    1515    'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
  • ai-assistant-gpt-chatbot/trunk/vendor/composer/autoload_static.php

    r3081790 r3107391  
    6868        'Psr\\Http\\Message\\' =>
    6969        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',
    7272        ),
    7373        'Psr\\Http\\Client\\' =>
  • ai-assistant-gpt-chatbot/trunk/vendor/composer/installed.json

    r3081790 r3107391  
    595595        {
    596596            "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",
    599599            "source": {
    600600                "type": "git",
    601601                "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",
    608608                "shasum": ""
    609609            },
     
    619619                "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3"
    620620            },
    621             "time": "2023-04-28T14:10:22+00:00",
     621            "time": "2024-06-10T14:51:55+00:00",
    622622            "type": "library",
    623623            "installation-source": "dist",
     
    648648            "support": {
    649649                "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"
    651651            },
    652652            "install-path": "../php-http/multipart-stream-builder"
     
    765765        {
    766766            "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",
    769769            "source": {
    770770                "type": "git",
    771771                "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",
    782782                "psr/http-message": "^1.0 || ^2.0"
    783783            },
    784             "time": "2023-04-10T20:10:41+00:00",
     784            "time": "2024-04-15T12:06:14+00:00",
    785785            "type": "library",
    786786            "extra": {
     
    805805                }
    806806            ],
    807             "description": "Common interfaces for PSR-7 HTTP message factories",
     807            "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
    808808            "keywords": [
    809809                "factory",
     
    817817            ],
    818818            "support": {
    819                 "source": "https://github.com/php-fig/http-factory/tree/1.0.2"
     819                "source": "https://github.com/php-fig/http-factory"
    820820            },
    821821            "install-path": "../psr/http-factory"
     
    10491049        {
    10501050            "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",
    10531053            "source": {
    10541054                "type": "git",
    10551055                "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",
    10621062                "shasum": ""
    10631063            },
     
    10651065                "php": ">=8.2",
    10661066                "psr/log": "^1|^2|^3",
     1067                "symfony/deprecation-contracts": "^2.5|^3",
    10671068                "symfony/http-client-contracts": "^3.4.1",
    10681069                "symfony/service-contracts": "^2.5|^3"
     
    10911092                "symfony/messenger": "^6.4|^7.0",
    10921093                "symfony/process": "^6.4|^7.0",
     1094                "symfony/rate-limiter": "^6.4|^7.0",
    10931095                "symfony/stopwatch": "^6.4|^7.0"
    10941096            },
    1095             "time": "2024-04-18T09:29:19+00:00",
     1097            "time": "2024-05-31T14:57:53+00:00",
    10961098            "type": "library",
    10971099            "installation-source": "dist",
     
    11241126            ],
    11251127            "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"
    11271129            },
    11281130            "funding": [
  • ai-assistant-gpt-chatbot/trunk/vendor/composer/installed.php

    r3081790 r3107391  
    9393        ),
    9494        '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',
    9898            'type' => 'library',
    9999            'install_path' => __DIR__ . '/../php-http/multipart-stream-builder',
     
    127127        ),
    128128        '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',
    132132            'type' => 'library',
    133133            'install_path' => __DIR__ . '/../psr/http-factory',
     
    186186        ),
    187187        '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',
    191191            'type' => 'library',
    192192            'install_path' => __DIR__ . '/../symfony/http-client',
  • ai-assistant-gpt-chatbot/trunk/vendor/php-http/multipart-stream-builder/CHANGELOG.md

    r3075019 r3107391  
    11# Change Log
     2
     3## 1.3.1 - 2024-06-10
     4
     5- Added missing mimetype for `.webp` images.
    26
    37## 1.3.0 - 2023-04-28
    48
    59- 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://`
    612
    713## 1.2.0 - 2021-05-21
  • ai-assistant-gpt-chatbot/trunk/vendor/php-http/multipart-stream-builder/src/ApacheMimetypeHelper.php

    r3075019 r3107391  
    114114            'txt' => 'text/plain',
    115115            'wav' => 'audio/x-wav',
     116            'webp' => 'image/webp',
    116117            'webm' => 'video/webm',
    117118            'wma' => 'audio/x-ms-wma',
  • ai-assistant-gpt-chatbot/trunk/vendor/psr/http-factory/composer.json

    r3075019 r3107391  
    11{
    22    "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",
    44    "keywords": [
    55        "psr",
     
    1919        }
    2020    ],
     21    "support": {
     22        "source": "https://github.com/php-fig/http-factory"
     23    },
    2124    "require": {
    22         "php": ">=7.0.0",
     25        "php": ">=7.1",
    2326        "psr/http-message": "^1.0 || ^2.0"
    2427    },
  • ai-assistant-gpt-chatbot/trunk/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php

    r3075019 r3107391  
    1616     * @param StreamInterface $stream Underlying stream representing the
    1717     *     uploaded file content.
    18      * @param int $size in bytes
     18     * @param int|null $size in bytes
    1919     * @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.
    2222     *
    2323     * @return UploadedFileInterface
     
    2727    public function createUploadedFile(
    2828        StreamInterface $stream,
    29         int $size = null,
     29        ?int $size = null,
    3030        int $error = \UPLOAD_ERR_OK,
    31         string $clientFilename = null,
    32         string $clientMediaType = null
     31        ?string $clientFilename = null,
     32        ?string $clientMediaType = null
    3333    ): UploadedFileInterface;
    3434}
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/CHANGELOG.md

    r3075019 r3107391  
    11CHANGELOG
    22=========
     3
     47.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
    312
    4137.0
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Chunk/DataChunk.php

    r3075019 r3107391  
    2121class DataChunk implements ChunkInterface
    2222{
    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    ) {
    3027    }
    3128
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Chunk/ErrorChunk.php

    r3075019 r3107391  
    2424{
    2525    private bool $didThrow = false;
    26     private int $offset;
    2726    private string $errorMessage;
    2827    private ?\Throwable $error = null;
    2928
    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    ) {
    3433        if (\is_string($error)) {
    3534            $this->errorMessage = $error;
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Chunk/ServerSentEvent.php

    r3075019 r3107391  
    4646
    4747            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;
    5157                case 'retry':
    5258                    $retry = substr($line, $i);
     
    5561                        $this->retry = $retry / 1000.0;
    5662                    }
     63
    5764                    break;
    5865            }
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/CurlHttpClient.php

    r3081790 r3107391  
    116116            \CURLOPT_REDIR_PROTOCOLS => \CURLPROTO_HTTP | \CURLPROTO_HTTPS,
    117117            \CURLOPT_FOLLOWLOCATION => true,
    118             \CURLOPT_MAXREDIRS => 0 < $options['max_redirects'] ? $options['max_redirects'] : 0,
     118            \CURLOPT_MAXREDIRS => max(0, $options['max_redirects']),
    119119            \CURLOPT_COOKIEFILE => '', // Keep track of cookies during redirects
    120120            \CURLOPT_TIMEOUT => 0,
     
    555555            }
    556556
    557             if (\in_array($opt, $methodOpts)) {
     557            if (\in_array($opt, $methodOpts, true)) {
    558558                throw new InvalidArgumentException('The HTTP method cannot be overridden using "extra.curl".');
    559559            }
    560560
    561             if (\in_array($opt, $curloptsToCheck)) {
     561            if (\in_array($opt, $curloptsToCheck, true)) {
    562562                $constName = $this->findConstantName($opt) ?? $opt;
    563563                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  
    214214        }
    215215
    216         $dataArg = empty($dataArg) ? null : implode(' ', $dataArg);
     216        $dataArg = $dataArg ? implode(' ', $dataArg) : null;
    217217
    218218        foreach (explode("\n", $trace['info']['debug']) as $line) {
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/HttpOptions.php

    r3075019 r3107391  
    6767     * @return $this
    6868     */
     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     */
    6979    public function setHeaders(iterable $headers): static
    7080    {
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/AmpBody.php

    r3075019 r3107391  
    2828    private ResourceInputStream|\Closure|string $body;
    2929    private array $info;
    30     private \Closure $onProgress;
    3130    private ?int $offset = 0;
    3231    private int $length = -1;
     
    3635     * @param \Closure|resource|string $body
    3736     */
    38     public function __construct($body, &$info, \Closure $onProgress)
    39     {
     37    public function __construct(
     38        $body,
     39        &$info,
     40        private \Closure $onProgress,
     41    ) {
    4042        $this->info = &$info;
    41         $this->onProgress = $onProgress;
    4243
    4344        if (\is_resource($body)) {
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/AmpClientState.php

    r3075019 r3107391  
    4848    private array $clients = [];
    4949    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    ) {
    5657        $clientConfigurator ??= static fn (PooledHttpClient $client) => new InterceptedHttpClient($client, new RetryRequests(2));
    5758        $this->clientConfigurator = $clientConfigurator(...);
    58 
    59         $this->maxHostConnections = $maxHostConnections;
    60         $this->maxPendingPushes = $maxPendingPushes;
    61         $this->logger = &$logger;
    6259    }
    6360
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/AmpListener.php

    r3075019 r3107391  
    2727{
    2828    private array $info;
    29     private array $pinSha256;
    30     private \Closure $onProgress;
    31     /** @var resource|null */
    32     private $handle;
    3329
    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    ) {
    3639        $info += [
    3740            'connect_time' => 0.0,
     
    4548
    4649        $this->info = &$info;
    47         $this->pinSha256 = $pinSha256;
    48         $this->onProgress = $onProgress;
    49         $this->handle = &$handle;
    5050    }
    5151
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/AmpResolver.php

    r3075019 r3107391  
    2626class AmpResolver implements Dns\Resolver
    2727{
    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    ) {
    3331    }
    3432
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/Canary.php

    r3075019 r3107391  
    1919final class Canary
    2020{
    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    ) {
    2624    }
    2725
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Internal/HttplugWaitLoop.php

    r3075019 r3107391  
    3131final class HttplugWaitLoop
    3232{
    33     private HttpClientInterface $client;
    34     private ?\SplObjectStorage $promisePool;
    35     private ResponseFactoryInterface $responseFactory;
    36     private StreamFactoryInterface $streamFactory;
    37 
    3833    /**
    3934     * @param \SplObjectStorage<ResponseInterface, array{Psr7RequestInterface, Promise}>|null $promisePool
    4035     */
    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    ) {
    4742    }
    4843
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/NoPrivateNetworkHttpClient.php

    r3075019 r3107391  
    7878    }
    7979
     80    /**
     81     * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead
     82     */
    8083    public function setLogger(LoggerInterface $logger): void
    8184    {
     85        trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.');
     86
    8287        if ($this->client instanceof LoggerAwareInterface) {
    8388            $this->client->setLogger($logger);
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/README.md

    r3075019 r3107391  
    33
    44The HttpClient component provides powerful methods to fetch HTTP resources synchronously or asynchronously.
    5 
    6 Sponsor
    7 -------
    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 the
    12 digitalisation of the public sector based in Switzerland. With their i-CMS,
    13 public authorities and institutions implement modern websites and eGovernment
    14 portals and offer user-friendly eServices for residents and companies.
    15 
    16 Help Symfony by [sponsoring][3] its development!
    175
    186Resources
     
    2412   [send Pull Requests](https://github.com/symfony/symfony/pulls)
    2513   in the [main Symfony repository](https://github.com/symfony/symfony)
    26 
    27 [1]: https://symfony.com/backers
    28 [2]: https://www.i-web.ch
    29 [3]: https://symfony.com/sponsor
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/AmpResponse.php

    r3075019 r3107391  
    4646    private static string $nextId = 'a';
    4747
    48     private AmpClientState $multi;
    4948    private ?array $options;
    5049    private \Closure $onProgress;
     
    5554     * @internal
    5655     */
    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    ) {
    6062        $this->options = &$options;
    6163        $this->logger = $logger;
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/CurlResponse.php

    r3075019 r3107391  
    3333    use TransportResponseTrait;
    3434
    35     private CurlClientState $multi;
    36 
    3735    /**
    3836     * @var resource
     
    4341     * @internal
    4442     */
    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    ) {
    4953        if ($ch instanceof \CurlHandle) {
    5054            $this->handle = $ch;
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/HttplugPromise.php

    r3075019 r3107391  
    2424final class HttplugPromise implements HttplugPromiseInterface
    2525{
    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    ) {
    3129    }
    3230
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/JsonMockResponse.php

    r3075019 r3107391  
    3131        parent::__construct($json, $info);
    3232    }
     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    }
    3347}
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/MockResponse.php

    r3075019 r3107391  
    6363        $this->info['response_headers'] = [];
    6464        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);
    6574    }
    6675
     
    218227        $onProgress = $options['on_progress'] ?? static function () {};
    219228        $response->info += $mock->getInfo() ?: [];
     229        if (null !== $mock->getInfo('start_time')) {
     230            $response->info['start_time'] = $mock->getInfo('start_time');
     231        }
    220232
    221233        // simulate "size_upload" if it is set
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/NativeResponse.php

    r3075019 r3107391  
    3030    use TransportResponseTrait;
    3131
    32     /**
    33      * @var resource
    34      */
    35     private $context;
    36     private string $url;
    3732    private \Closure $resolver;
    3833    private ?\Closure $onProgress;
     
    4439    private $buffer;
    4540
    46     private NativeClientState $multi;
    4741    private float $pauseExpiry = 0.0;
    4842
    4943    /**
    5044     * @internal
     45     * @param $context resource
    5146     */
    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    ) {
    5557        $this->id = $id = (int) $context;
    56         $this->context = $context;
    57         $this->url = $url;
    5858        $this->logger = $logger;
    5959        $this->timeout = $options['timeout'];
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/ResponseStream.php

    r3075019 r3107391  
    2121final class ResponseStream implements ResponseStreamInterface
    2222{
    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    ) {
    2826    }
    2927
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/StreamWrapper.php

    r3075019 r3107391  
    3131
    3232    /** @var resource|string|null */
    33     private $content = null;
     33    private $content;
    3434
    3535    /** @var resource|callable|null */
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Response/TraceableResponse.php

    r3075019 r3107391  
    3232class TraceableResponse implements ResponseInterface, StreamableInterface
    3333{
    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    ) {
    4540    }
    4641
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/Retry/GenericRetryStrategy.php

    r3075019 r3107391  
    3737    ];
    3838
    39     private array $statusCodes;
    4039    private int $delayMs;
    4140    private float $multiplier;
     
    5049     * @param float $jitter      Probability of randomness int delay (0 = none, 1 = 100% random)
    5150     */
    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    ) {
    5658        if ($delayMs < 0) {
    5759            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  
    101101    }
    102102
     103    /**
     104     * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead
     105     */
    103106    public function setLogger(LoggerInterface $logger): void
    104107    {
     108        trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.');
     109
    105110        if ($this->client instanceof LoggerAwareInterface) {
    106111            $this->client->setLogger($logger);
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/TraceableHttpClient.php

    r3075019 r3107391  
    9090    }
    9191
     92    /**
     93     * @deprecated since Symfony 7.1, configure the logger on the wrapper HTTP client directly instead
     94     */
    9295    public function setLogger(LoggerInterface $logger): void
    9396    {
     97        trigger_deprecation('symfony/http-client', '7.1', 'Configure the logger on the wrapper HTTP client directly instead.');
     98
    9499        if ($this->client instanceof LoggerAwareInterface) {
    95100            $this->client->setLogger($logger);
  • ai-assistant-gpt-chatbot/trunk/vendor/symfony/http-client/composer.json

    r3075019 r3107391  
    2525        "php": ">=8.2",
    2626        "psr/log": "^1|^2|^3",
     27        "symfony/deprecation-contracts": "^2.5|^3",
    2728        "symfony/http-client-contracts": "^3.4.1",
    2829        "symfony/service-contracts": "^2.5|^3"
     
    4142        "symfony/messenger": "^6.4|^7.0",
    4243        "symfony/process": "^6.4|^7.0",
     44        "symfony/rate-limiter": "^6.4|^7.0",
    4345        "symfony/stopwatch": "^6.4|^7.0"
    4446    },
Note: See TracChangeset for help on using the changeset viewer.