Plugin Directory

Changeset 2562965


Ignore:
Timestamp:
07/12/2021 03:49:43 PM (5 years ago)
Author:
quentn
Message:

Prefix Guzzle library namespace to avoid conflict with other plugins

Location:
quentn-wp/trunk
Files:
91 edited

Legend:

Unmodified
Added
Removed
  • quentn-wp/trunk/composer.json

    r2327486 r2562965  
    11{
    2     "require": {
    3         "quentn/php-sdk": "1.0.*",
    4         "mustache/mustache": "~2.5"
     2  "require": {
     3    "quentn/php-sdk": "1.0.*",
     4    "mustache/mustache": "~2.5"
     5  },
     6  "autoload": {
     7    "psr-4": {
     8      "QuentnWP\\": "",
     9      "QuentnWP\\Inc\\": "inc"
    510    },
    6     "autoload": {
    7         "psr-4": {
    8             "QuentnWP\\": "",
    9             "QuentnWP\\Inc\\": "inc"
    10         }
    11     }
     11    "files": ["vendor/guzzlehttp/guzzle/src/functions_include.php", "vendor/guzzlehttp/promises/src/functions_include.php", "vendor/guzzlehttp/psr7/src/functions_include.php"]
     12  }
    1213}
  • quentn-wp/trunk/includes/class-quentn-wp.php

    r2545894 r2562965  
    7575            $this->version = QUENTN_WP_VERSION;
    7676        } else {
    77             $this->version = '1.1.6';
     77            $this->version = '1.1.7';
    7878        }
    7979        $this->plugin_name = 'quentn-wp';
  • quentn-wp/trunk/quentn-wp.php

    r2545894 r2562965  
    1717 * Plugin URI:        https://docs.quentn.com/de/beta-quentn-wordpress-plugin/installieren-und-verbinden
    1818 * Description:       This plugin allows you to restrict access to specific pages, create custom access links and create dynamic page countdowns. Optionally, you can connect your Quentn account to your WordPress installation to share contacts and manage access restrictions through Quentn.
    19  * Version:           1.1.6
     19 * Version:           1.1.7
    2020 * Author:            Quentn.com GmbH
    2121 * Author URI:        https://quentn.com/
     
    3535define( "TABLE_QUENTN_RESTRICTIONS", 'qntn_restrictions' );
    3636define( "TABLE_QUENTN_USER_DATA", 'qntn_user_data' );
    37 define( 'QUENTN_WP_VERSION', '1.1.6' );
     37define( 'QUENTN_WP_VERSION', '1.1.7' );
    3838
    3939/**
  • quentn-wp/trunk/readme.txt

    r2545894 r2562965  
    44Requires at least: 4.6.0
    55Tested up to: 5.7
    6 Stable tag: 1.1.6
     6Stable tag: 1.1.7
    77Requires PHP: 5.6.0
    88License: GPLv2 or later
     
    6666
    6767== Changelog ==
     68= 1.1.7 =
     69* Prefix Guzzle library namespace to avoid conflict with other plugins.
     70
    6871= 1.1.6 =
    6972* Slash at start of the namespace of rest API route is removed.
     
    125128== Upgrade Notice ==
    126129
     130= 1.1.7 =
     131Thanks for using Quentn Plugin! Please update the plugin to avoid conflict of Guzzle library with other plugins.
     132
    127133= 1.1.6 =
    128134Thanks for using Quentn Plugin! Please update the plugin to improve the namespace of the rest API routes.
  • quentn-wp/trunk/vendor/composer/autoload_files.php

    r2327486 r2562965  
    1111    'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
    1212    '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
     13    '9489e01daf1c4fea15191b1fa66ae1d5' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
     14    '42f29e5b17a2fb90587482aa5dc87da1' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
     15    '174f0c49b6b88969abdb283fd27db628' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
    1316);
  • quentn-wp/trunk/vendor/composer/autoload_psr4.php

    r2327486 r2562965  
    1010    'QuentnWP\\Inc\\' => array($baseDir . '/inc'),
    1111    'QuentnWP\\' => array($baseDir . '/'),
     12    'QuentnWPGuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
     13    'QuentnWPGuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
     14    'QuentnWPGuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
    1215    'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
    13     'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
    14     'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
    15     'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
    1616);
  • quentn-wp/trunk/vendor/composer/autoload_real.php

    r2327486 r2562965  
    1414    }
    1515
     16    /**
     17     * @return \Composer\Autoload\ClassLoader
     18     */
    1619    public static function getLoader()
    1720    {
  • quentn-wp/trunk/vendor/composer/autoload_static.php

    r2327486 r2562965  
    1212        'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
    1313        '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php',
     14        '9489e01daf1c4fea15191b1fa66ae1d5' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php',
     15        '42f29e5b17a2fb90587482aa5dc87da1' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
     16        '174f0c49b6b88969abdb283fd27db628' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
    1417    );
    1518
     
    2023            'QuentnWP\\Inc\\' => 13,
    2124            'QuentnWP\\' => 9,
     25            'QuentnWPGuzzleHttp\\Psr7\\' => 24,
     26            'QuentnWPGuzzleHttp\\Promise\\' => 27,
     27            'QuentnWPGuzzleHttp\\' => 19,
    2228        ),
    2329        'P' =>
    2430        array (
    2531            'Psr\\Http\\Message\\' => 17,
    26         ),
    27         'G' =>
    28         array (
    29             'GuzzleHttp\\Psr7\\' => 16,
    30             'GuzzleHttp\\Promise\\' => 19,
    31             'GuzzleHttp\\' => 11,
    3232        ),
    3333    );
     
    4646            0 => __DIR__ . '/../..' . '/',
    4747        ),
     48        'QuentnWPGuzzleHttp\\Psr7\\' =>
     49        array (
     50            0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src',
     51        ),
     52        'QuentnWPGuzzleHttp\\Promise\\' =>
     53        array (
     54            0 => __DIR__ . '/..' . '/guzzlehttp/promises/src',
     55        ),
     56        'QuentnWPGuzzleHttp\\' =>
     57        array (
     58            0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src',
     59        ),
    4860        'Psr\\Http\\Message\\' =>
    4961        array (
    5062            0 => __DIR__ . '/..' . '/psr/http-message/src',
    51         ),
    52         'GuzzleHttp\\Psr7\\' =>
    53         array (
    54             0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src',
    55         ),
    56         'GuzzleHttp\\Promise\\' =>
    57         array (
    58             0 => __DIR__ . '/..' . '/guzzlehttp/promises/src',
    59         ),
    60         'GuzzleHttp\\' =>
    61         array (
    62             0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src',
    6363        ),
    6464    );
  • quentn-wp/trunk/vendor/composer/installed.json

    r2327486 r2562965  
    4141            ],
    4242            "psr-4": {
    43                 "GuzzleHttp\\": "src/"
     43                "QuentnWPGuzzleHttp\\": "src/"
    4444            }
    4545        },
     
    9898        "autoload": {
    9999            "psr-4": {
    100                 "GuzzleHttp\\Promise\\": "src/"
     100                "QuentnWPGuzzleHttp\\Promise\\": "src/"
    101101            },
    102102            "files": [
     
    160160        "autoload": {
    161161            "psr-4": {
    162                 "GuzzleHttp\\Psr7\\": "src/"
     162                "QuentnWPGuzzleHttp\\Psr7\\": "src/"
    163163            },
    164164            "files": [
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/composer.json

    r2327486 r2562965  
    2626        "files": ["src/functions_include.php"],
    2727        "psr-4": {
    28             "GuzzleHttp\\": "src/"
     28            "QuentnWPGuzzleHttp\\": "src/"
    2929        }
    3030    },
    3131    "autoload-dev": {
    3232        "psr-4": {
    33             "GuzzleHttp\\Tests\\": "tests/"
     33            "QuentnWPGuzzleHttp\\Tests\\": "tests/"
    3434        }
    3535    },
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Client.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
    3 
    4 use GuzzleHttp\Cookie\CookieJar;
    5 use GuzzleHttp\Promise;
    6 use GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp;
     3
     4use QuentnWPGuzzleHttp\Cookie\CookieJar;
     5use QuentnWPGuzzleHttp\Promise;
     6use QuentnWPGuzzleHttp\Psr7;
    77use Psr\Http\Message\UriInterface;
    88use Psr\Http\Message\RequestInterface;
     
    4646     *   wire. The function is called with a Psr7\Http\Message\RequestInterface
    4747     *   and array of transfer options, and must return a
    48      *   GuzzleHttp\Promise\PromiseInterface that is fulfilled with a
     48     *   QuentnWPGuzzleHttp\Promise\PromiseInterface that is fulfilled with a
    4949     *   Psr7\Http\Message\ResponseInterface on success. "handler" is a
    5050     *   constructor only option that cannot be overridden in per/request
     
    5858     * @param array $config Client configuration settings.
    5959     *
    60      * @see \GuzzleHttp\RequestOptions for a list of available request options.
     60     * @see \QuentnWPGuzzleHttp\RequestOptions for a list of available request options.
    6161     */
    6262    public function __construct(array $config = [])
     
    321321
    322322        if (isset($options['json'])) {
    323             $options['body'] = \GuzzleHttp\json_encode($options['json']);
     323            $options['body'] = \QuentnWPGuzzleHttp\json_encode($options['json']);
    324324            unset($options['json']);
    325325            // Ensure that we don't have the header in different case and set the new value.
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/ClientInterface.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
     2namespace QuentnWPGuzzleHttp;
    33
    4 use GuzzleHttp\Promise\PromiseInterface;
    5 use GuzzleHttp\Exception\GuzzleException;
     4use QuentnWPGuzzleHttp\Promise\PromiseInterface;
     5use QuentnWPGuzzleHttp\Exception\GuzzleException;
    66use Psr\Http\Message\RequestInterface;
    77use Psr\Http\Message\ResponseInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Cookie;
     2namespace QuentnWPGuzzleHttp\Cookie;
    33
    44use Psr\Http\Message\RequestInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Cookie;
     2namespace QuentnWPGuzzleHttp\Cookie;
    33
    44use Psr\Http\Message\RequestInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Cookie;
     2namespace QuentnWPGuzzleHttp\Cookie;
    33
    44/**
     
    5656        }
    5757
    58         $jsonStr = \GuzzleHttp\json_encode($json);
     58        $jsonStr = \QuentnWPGuzzleHttp\json_encode($json);
    5959        if (false === file_put_contents($filename, $jsonStr)) {
    6060            throw new \RuntimeException("Unable to save file {$filename}");
     
    7979        }
    8080
    81         $data = \GuzzleHttp\json_decode($json, true);
     81        $data = \QuentnWPGuzzleHttp\json_decode($json, true);
    8282        if (is_array($data)) {
    8383            foreach (json_decode($json, true) as $cookie) {
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Cookie;
     2namespace QuentnWPGuzzleHttp\Cookie;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Cookie;
     2namespace QuentnWPGuzzleHttp\Cookie;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Exception;
     2namespace QuentnWPGuzzleHttp\Exception;
    33
    44use Psr\Http\Message\RequestInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Exception/ClientException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Exception;
     2namespace QuentnWPGuzzleHttp\Exception;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Exception;
     2namespace QuentnWPGuzzleHttp\Exception;
    33
    44use Psr\Http\Message\RequestInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Exception;
     2namespace QuentnWPGuzzleHttp\Exception;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Exception;
     2namespace QuentnWPGuzzleHttp\Exception;
    33
    44use Psr\Http\Message\RequestInterface;
    55use Psr\Http\Message\ResponseInterface;
    6 use GuzzleHttp\Promise\PromiseInterface;
     6use QuentnWPGuzzleHttp\Promise\PromiseInterface;
    77use Psr\Http\Message\UriInterface;
    88
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Exception/SeekException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Exception;
     2namespace QuentnWPGuzzleHttp\Exception;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Exception;
     2namespace QuentnWPGuzzleHttp\Exception;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Exception;
     2namespace QuentnWPGuzzleHttp\Exception;
    33
    44class TooManyRedirectsException extends RequestException {}
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Exception;
     2namespace QuentnWPGuzzleHttp\Exception;
    33
    44class TransferException extends \RuntimeException implements GuzzleException {}
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Handler;
    3 
    4 use GuzzleHttp\Exception\RequestException;
    5 use GuzzleHttp\Exception\ConnectException;
    6 use GuzzleHttp\Promise\FulfilledPromise;
    7 use GuzzleHttp\Psr7;
    8 use GuzzleHttp\Psr7\LazyOpenStream;
    9 use GuzzleHttp\TransferStats;
     2namespace QuentnWPGuzzleHttp\Handler;
     3
     4use QuentnWPGuzzleHttp\Exception\RequestException;
     5use QuentnWPGuzzleHttp\Exception\ConnectException;
     6use QuentnWPGuzzleHttp\Promise\FulfilledPromise;
     7use QuentnWPGuzzleHttp\Psr7;
     8use QuentnWPGuzzleHttp\Psr7\LazyOpenStream;
     9use QuentnWPGuzzleHttp\TransferStats;
    1010use Psr\Http\Message\RequestInterface;
    1111
     
    8888     * @param CurlFactoryInterface $factory Dictates how the handle is released
    8989     *
    90      * @return \GuzzleHttp\Promise\PromiseInterface
     90     * @return \QuentnWPGuzzleHttp\Promise\PromiseInterface
    9191     */
    9292    public static function finish(
     
    163163        // return a rejected promise that wraps that exception.
    164164        if ($easy->onHeadersException) {
    165             return \GuzzleHttp\Promise\rejection_for(
     165            return \QuentnWPGuzzleHttp\Promise\rejection_for(
    166166                new RequestException(
    167167                    'An error was encountered during the on_headers event',
     
    186186            : new RequestException($message, $easy->request, $easy->response, null, $ctx);
    187187
    188         return \GuzzleHttp\Promise\rejection_for($error);
     188        return \QuentnWPGuzzleHttp\Promise\rejection_for($error);
    189189    }
    190190
     
    365365            $sink = $options['sink'];
    366366            if (!is_string($sink)) {
    367                 $sink = \GuzzleHttp\Psr7\stream_for($sink);
     367                $sink = \QuentnWPGuzzleHttp\Psr7\stream_for($sink);
    368368            } elseif (!is_dir(dirname($sink))) {
    369369                // Ensure that the directory exists before failing in curl.
     
    417417                    $host = $easy->request->getUri()->getHost();
    418418                    if (!isset($options['proxy']['no']) ||
    419                         !\GuzzleHttp\is_host_in_noproxy($host, $options['proxy']['no'])
     419                        !\QuentnWPGuzzleHttp\is_host_in_noproxy($host, $options['proxy']['no'])
    420420                    ) {
    421421                        $conf[CURLOPT_PROXY] = $options['proxy'][$scheme];
     
    472472
    473473        if (!empty($options['debug'])) {
    474             $conf[CURLOPT_STDERR] = \GuzzleHttp\debug_resource($options['debug']);
     474            $conf[CURLOPT_STDERR] = \QuentnWPGuzzleHttp\debug_resource($options['debug']);
    475475            $conf[CURLOPT_VERBOSE] = true;
    476476        }
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Handler;
     2namespace QuentnWPGuzzleHttp\Handler;
    33
    44use Psr\Http\Message\RequestInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Handler;
     2namespace QuentnWPGuzzleHttp\Handler;
    33
    4 use GuzzleHttp\Psr7;
     4use QuentnWPGuzzleHttp\Psr7;
    55use Psr\Http\Message\RequestInterface;
    66
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Handler;
     2namespace QuentnWPGuzzleHttp\Handler;
    33
    4 use GuzzleHttp\Promise as P;
    5 use GuzzleHttp\Promise\Promise;
    6 use GuzzleHttp\Psr7;
     4use QuentnWPGuzzleHttp\Promise as P;
     5use QuentnWPGuzzleHttp\Promise\Promise;
     6use QuentnWPGuzzleHttp\Psr7;
    77use Psr\Http\Message\RequestInterface;
    88
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Handler;
     2namespace QuentnWPGuzzleHttp\Handler;
    33
    4 use GuzzleHttp\Psr7\Response;
     4use QuentnWPGuzzleHttp\Psr7\Response;
    55use Psr\Http\Message\RequestInterface;
    66use Psr\Http\Message\ResponseInterface;
     
    5151        // HTTP-version SP status-code SP reason-phrase
    5252        $startLine = explode(' ', array_shift($this->headers), 3);
    53         $headers = \GuzzleHttp\headers_from_lines($this->headers);
    54         $normalizedKeys = \GuzzleHttp\normalize_header_keys($headers);
     53        $headers = \QuentnWPGuzzleHttp\headers_from_lines($this->headers);
     54        $normalizedKeys = \QuentnWPGuzzleHttp\normalize_header_keys($headers);
    5555
    5656        if (!empty($this->options['decode_content'])
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Handler;
     2namespace QuentnWPGuzzleHttp\Handler;
    33
    4 use GuzzleHttp\Exception\RequestException;
    5 use GuzzleHttp\HandlerStack;
    6 use GuzzleHttp\Promise\PromiseInterface;
    7 use GuzzleHttp\Promise\RejectedPromise;
    8 use GuzzleHttp\TransferStats;
     4use QuentnWPGuzzleHttp\Exception\RequestException;
     5use QuentnWPGuzzleHttp\HandlerStack;
     6use QuentnWPGuzzleHttp\Promise\PromiseInterface;
     7use QuentnWPGuzzleHttp\Promise\RejectedPromise;
     8use QuentnWPGuzzleHttp\TransferStats;
    99use Psr\Http\Message\RequestInterface;
    1010use Psr\Http\Message\ResponseInterface;
     
    9292
    9393        $response = $response instanceof \Exception
    94             ? \GuzzleHttp\Promise\rejection_for($response)
    95             : \GuzzleHttp\Promise\promise_for($response);
     94            ? \QuentnWPGuzzleHttp\Promise\rejection_for($response)
     95            : \QuentnWPGuzzleHttp\Promise\promise_for($response);
    9696
    9797        return $response->then(
     
    121121                    call_user_func($this->onRejected, $reason);
    122122                }
    123                 return \GuzzleHttp\Promise\rejection_for($reason);
     123                return \QuentnWPGuzzleHttp\Promise\rejection_for($reason);
    124124            }
    125125        );
     
    141141            } else {
    142142                throw new \InvalidArgumentException('Expected a response or '
    143                     . 'exception. Found ' . \GuzzleHttp\describe_type($value));
     143                    . 'exception. Found ' . \QuentnWPGuzzleHttp\describe_type($value));
    144144            }
    145145        }
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Handler;
     2namespace QuentnWPGuzzleHttp\Handler;
    33
    4 use GuzzleHttp\RequestOptions;
     4use QuentnWPGuzzleHttp\RequestOptions;
    55use Psr\Http\Message\RequestInterface;
    66
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Handler;
    3 
    4 use GuzzleHttp\Exception\RequestException;
    5 use GuzzleHttp\Exception\ConnectException;
    6 use GuzzleHttp\Promise\FulfilledPromise;
    7 use GuzzleHttp\Promise\PromiseInterface;
    8 use GuzzleHttp\Psr7;
    9 use GuzzleHttp\TransferStats;
     2namespace QuentnWPGuzzleHttp\Handler;
     3
     4use QuentnWPGuzzleHttp\Exception\RequestException;
     5use QuentnWPGuzzleHttp\Exception\ConnectException;
     6use QuentnWPGuzzleHttp\Promise\FulfilledPromise;
     7use QuentnWPGuzzleHttp\Promise\PromiseInterface;
     8use QuentnWPGuzzleHttp\Psr7;
     9use QuentnWPGuzzleHttp\TransferStats;
    1010use Psr\Http\Message\RequestInterface;
    1111use Psr\Http\Message\ResponseInterface;
     
    6868            $this->invokeStats($options, $request, $startTime, null, $e);
    6969
    70             return \GuzzleHttp\Promise\rejection_for($e);
     70            return \QuentnWPGuzzleHttp\Promise\rejection_for($e);
    7171        }
    7272    }
     
    103103        $status = $parts[1];
    104104        $reason = isset($parts[2]) ? $parts[2] : null;
    105         $headers = \GuzzleHttp\headers_from_lines($hdrs);
     105        $headers = \QuentnWPGuzzleHttp\headers_from_lines($hdrs);
    106106        list($stream, $headers) = $this->checkDecode($options, $headers, $stream);
    107107        $stream = Psr7\stream_for($stream);
     
    120120                $msg = 'An error was encountered during the on_headers event';
    121121                $ex = new RequestException($msg, $request, $response, $e);
    122                 return \GuzzleHttp\Promise\rejection_for($ex);
     122                return \QuentnWPGuzzleHttp\Promise\rejection_for($ex);
    123123            }
    124124        }
     
    158158        // Automatically decode responses when instructed.
    159159        if (!empty($options['decode_content'])) {
    160             $normalizedKeys = \GuzzleHttp\normalize_header_keys($headers);
     160            $normalizedKeys = \QuentnWPGuzzleHttp\normalize_header_keys($headers);
    161161            if (isset($normalizedKeys['content-encoding'])) {
    162162                $encoding = $headers[$normalizedKeys['content-encoding']];
     
    401401            if (isset($value[$scheme])) {
    402402                if (!isset($value['no'])
    403                     || !\GuzzleHttp\is_host_in_noproxy(
     403                    || !\QuentnWPGuzzleHttp\is_host_in_noproxy(
    404404                        $request->getUri()->getHost(),
    405405                        $value['no']
     
    425425            // < 5.6, use the Guzzle bundled cacert.
    426426            if (PHP_VERSION_ID < 50600) {
    427                 $options['ssl']['cafile'] = \GuzzleHttp\default_ca_bundle();
     427                $options['ssl']['cafile'] = \QuentnWPGuzzleHttp\default_ca_bundle();
    428428            }
    429429        } elseif (is_string($value)) {
     
    492492            'bytes_transferred', 'bytes_max'];
    493493
    494         $value = \GuzzleHttp\debug_resource($value);
     494        $value = \QuentnWPGuzzleHttp\debug_resource($value);
    495495        $ident = $request->getMethod() . ' ' . $request->getUri()->withFragment('');
    496496        $this->addNotification(
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/HandlerStack.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
     2namespace QuentnWPGuzzleHttp;
    33
    44use Psr\Http\Message\RequestInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/MessageFormatter.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
     2namespace QuentnWPGuzzleHttp;
    33
    44use Psr\Http\Message\MessageInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Middleware.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
    3 
    4 use GuzzleHttp\Cookie\CookieJarInterface;
    5 use GuzzleHttp\Exception\RequestException;
    6 use GuzzleHttp\Promise\RejectedPromise;
    7 use GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp;
     3
     4use QuentnWPGuzzleHttp\Cookie\CookieJarInterface;
     5use QuentnWPGuzzleHttp\Exception\RequestException;
     6use QuentnWPGuzzleHttp\Promise\RejectedPromise;
     7use QuentnWPGuzzleHttp\Psr7;
    88use Psr\Http\Message\ResponseInterface;
    99use Psr\Log\LoggerInterface;
     
    3030                    return $handler($request, $options);
    3131                } elseif (!($options['cookies'] instanceof CookieJarInterface)) {
    32                     throw new \InvalidArgumentException('cookies must be an instance of GuzzleHttp\Cookie\CookieJarInterface');
     32                    throw new \InvalidArgumentException('cookies must be an instance of QuentnWPGuzzleHttp\Cookie\CookieJarInterface');
    3333                }
    3434                $cookieJar = $options['cookies'];
     
    104104                            'options'  => $options
    105105                        ];
    106                         return \GuzzleHttp\Promise\rejection_for($reason);
     106                        return \QuentnWPGuzzleHttp\Promise\rejection_for($reason);
    107107                    }
    108108                );
     
    200200                        $message = $formatter->format($request, $response, $reason);
    201201                        $logger->notice($message);
    202                         return \GuzzleHttp\Promise\rejection_for($reason);
     202                        return \QuentnWPGuzzleHttp\Promise\rejection_for($reason);
    203203                    }
    204204                );
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/Pool.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
     2namespace QuentnWPGuzzleHttp;
    33
    4 use GuzzleHttp\Promise\PromisorInterface;
     4use QuentnWPGuzzleHttp\Promise\PromisorInterface;
    55use Psr\Http\Message\RequestInterface;
    6 use GuzzleHttp\Promise\EachPromise;
     6use QuentnWPGuzzleHttp\Promise\EachPromise;
    77
    88/**
     
    5151        }
    5252
    53         $iterable = \GuzzleHttp\Promise\iter_for($requests);
     53        $iterable = \QuentnWPGuzzleHttp\Promise\iter_for($requests);
    5454        $requests = function () use ($iterable, $client, $opts) {
    5555            foreach ($iterable as $key => $rfn) {
     
    8686     * @param array|\Iterator $requests Requests to send concurrently.
    8787     * @param array           $options  Passes through the options available in
    88      *                                  {@see GuzzleHttp\Pool::__construct}
     88     *                                  {@see QuentnWPGuzzleHttp\Pool::__construct}
    8989     *
    9090     * @return array Returns an array containing the response or an exception
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
     2namespace QuentnWPGuzzleHttp;
    33
    4 use GuzzleHttp\Promise\PromiseInterface;
    5 use GuzzleHttp\Psr7;
     4use QuentnWPGuzzleHttp\Promise\PromiseInterface;
     5use QuentnWPGuzzleHttp\Psr7;
    66use Psr\Http\Message\RequestInterface;
    77
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
    3 
    4 use GuzzleHttp\Exception\BadResponseException;
    5 use GuzzleHttp\Exception\TooManyRedirectsException;
    6 use GuzzleHttp\Promise\PromiseInterface;
    7 use GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp;
     3
     4use QuentnWPGuzzleHttp\Exception\BadResponseException;
     5use QuentnWPGuzzleHttp\Exception\TooManyRedirectsException;
     6use QuentnWPGuzzleHttp\Promise\PromiseInterface;
     7use QuentnWPGuzzleHttp\Psr7;
    88use Psr\Http\Message\RequestInterface;
    99use Psr\Http\Message\ResponseInterface;
     
    1414 *
    1515 * Apply this middleware like other middleware using
    16  * {@see GuzzleHttp\Middleware::redirect()}.
     16 * {@see QuentnWPGuzzleHttp\Middleware::redirect()}.
    1717 */
    1818class RedirectMiddleware
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/RequestOptions.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
     2namespace QuentnWPGuzzleHttp;
    33
    44/**
     
    5959
    6060    /**
    61      * cookies: (bool|GuzzleHttp\Cookie\CookieJarInterface, default=false)
     61     * cookies: (bool|QuentnWPGuzzleHttp\Cookie\CookieJarInterface, default=false)
    6262     * Specifies whether or not cookies are used in a request or what cookie
    6363     * jar to use or what cookies to send. This option only works if your
    6464     * handler has the `cookie` middleware. Valid values are `false` and
    65      * an instance of {@see GuzzleHttp\Cookie\CookieJarInterface}.
     65     * an instance of {@see QuentnWPGuzzleHttp\Cookie\CookieJarInterface}.
    6666     */
    6767    const COOKIES = 'cookies';
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
     2namespace QuentnWPGuzzleHttp;
    33
    4 use GuzzleHttp\Promise\PromiseInterface;
    5 use GuzzleHttp\Promise\RejectedPromise;
    6 use GuzzleHttp\Psr7;
     4use QuentnWPGuzzleHttp\Promise\PromiseInterface;
     5use QuentnWPGuzzleHttp\Promise\RejectedPromise;
     6use QuentnWPGuzzleHttp\Psr7;
    77use Psr\Http\Message\RequestInterface;
    88use Psr\Http\Message\ResponseInterface;
     
    9898                $reason
    9999            )) {
    100                 return \GuzzleHttp\Promise\rejection_for($reason);
     100                return \QuentnWPGuzzleHttp\Promise\rejection_for($reason);
    101101            }
    102102            return $this->doRetry($req, $options);
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/TransferStats.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
     2namespace QuentnWPGuzzleHttp;
    33
    44use Psr\Http\Message\RequestInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/UriTemplate.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
     2namespace QuentnWPGuzzleHttp;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/functions.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp;
    3 
    4 use GuzzleHttp\Handler\CurlHandler;
    5 use GuzzleHttp\Handler\CurlMultiHandler;
    6 use GuzzleHttp\Handler\Proxy;
    7 use GuzzleHttp\Handler\StreamHandler;
     2namespace QuentnWPGuzzleHttp;
     3
     4use QuentnWPGuzzleHttp\Handler\CurlHandler;
     5use QuentnWPGuzzleHttp\Handler\CurlMultiHandler;
     6use QuentnWPGuzzleHttp\Handler\Proxy;
     7use QuentnWPGuzzleHttp\Handler\StreamHandler;
    88
    99/**
     
    134134
    135135    if (!$defaultAgent) {
    136         $defaultAgent = 'GuzzleHttp/' . Client::VERSION;
     136        $defaultAgent = 'QuentnWPGuzzleHttp/' . Client::VERSION;
    137137        if (extension_loaded('curl') && function_exists('curl_version')) {
    138138            $defaultAgent .= ' curl/' . \curl_version()['version'];
  • quentn-wp/trunk/vendor/guzzlehttp/guzzle/src/functions_include.php

    r2327486 r2562965  
    22
    33// Don't redefine the functions if included multiple times.
    4 if (!function_exists('GuzzleHttp\uri_template')) {
     4if (!function_exists('QuentnWPGuzzleHttp\uri_template')) {
    55    require __DIR__ . '/functions.php';
    66}
  • quentn-wp/trunk/vendor/guzzlehttp/promises/composer.json

    r2327486 r2562965  
    1919    "autoload": {
    2020        "psr-4": {
    21             "GuzzleHttp\\Promise\\": "src/"
     21            "QuentnWPGuzzleHttp\\Promise\\": "src/"
    2222        },
    2323        "files": ["src/functions_include.php"]
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/AggregateException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/CancellationException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/Coroutine.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44use Exception;
     
    1717 * with minimal processing in between.
    1818 *
    19  *     use GuzzleHttp\Promise;
     19 *     use QuentnWPGuzzleHttp\Promise;
    2020 *
    2121 *     function createPromise($value) {
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/EachPromise.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/FulfilledPromise.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/Promise.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/PromiseInterface.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/PromisorInterface.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/RejectedPromise.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/RejectionException.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/TaskQueue.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
     
    99 * by calling the `run()` function of the global task queue in an event loop.
    1010 *
    11  *     GuzzleHttp\Promise\queue()->run();
     11 *     QuentnWPGuzzleHttp\Promise\queue()->run();
    1212 */
    1313class TaskQueue implements TaskQueueInterface
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/TaskQueueInterface.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44interface TaskQueueInterface
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/functions.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Promise;
     2namespace QuentnWPGuzzleHttp\Promise;
    33
    44/**
     
    1111 * <code>
    1212 * while ($eventLoop->isRunning()) {
    13  *     GuzzleHttp\Promise\queue()->run();
     13 *     QuentnWPGuzzleHttp\Promise\queue()->run();
    1414 * }
    1515 * </code>
     
    170170 *
    171171 * @return array
    172  * @see GuzzleHttp\Promise\inspect for the inspection state array format.
     172 * @see QuentnWPGuzzleHttp\Promise\inspect for the inspection state array format.
    173173 */
    174174function inspect_all($promises)
     
    242242 * in order of resolution.
    243243 *
    244  * This prommise is rejected with a {@see GuzzleHttp\Promise\AggregateException}
     244 * This prommise is rejected with a {@see QuentnWPGuzzleHttp\Promise\AggregateException}
    245245 * if the number of fulfilled promises is less than the desired $count.
    246246 *
     
    305305 *
    306306 * @return PromiseInterface
    307  * @see GuzzleHttp\Promise\inspect for the inspection state array format.
     307 * @see QuentnWPGuzzleHttp\Promise\inspect for the inspection state array format.
    308308 */
    309309function settle($promises)
  • quentn-wp/trunk/vendor/guzzlehttp/promises/src/functions_include.php

    r2327486 r2562965  
    22
    33// Don't redefine the functions if included multiple times.
    4 if (!function_exists('GuzzleHttp\Promise\promise_for')) {
     4if (!function_exists('QuentnWPGuzzleHttp\Promise\promise_for')) {
    55    require __DIR__ . '/functions.php';
    66}
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/composer.json

    r2327486 r2562965  
    3333    "autoload": {
    3434        "psr-4": {
    35             "GuzzleHttp\\Psr7\\": "src/"
     35            "QuentnWPGuzzleHttp\\Psr7\\": "src/"
    3636        },
    3737        "files": ["src/functions_include.php"]
     
    3939    "autoload-dev": {
    4040        "psr-4": {
    41             "GuzzleHttp\\Tests\\Psr7\\": "tests/"
     41            "QuentnWPGuzzleHttp\\Tests\\Psr7\\": "tests/"
    4242        }
    4343    },
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/AppendStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/BufferStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/CachingStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/DroppingStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/FnStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/InflateStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/LazyOpenStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/LimitStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/MessageTrait.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/MultipartStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/NoSeekStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/PumpStream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/Request.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use InvalidArgumentException;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/Response.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\ResponseInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/Rfc7230.php

    r2327486 r2562965  
    11<?php
    22
    3 namespace GuzzleHttp\Psr7;
     3namespace QuentnWPGuzzleHttp\Psr7;
    44
    55final class Rfc7230
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/ServerRequest.php

    r2327486 r2562965  
    11<?php
    22
    3 namespace GuzzleHttp\Psr7;
     3namespace QuentnWPGuzzleHttp\Psr7;
    44
    55use InvalidArgumentException;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/Stream.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/StreamWrapper.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\StreamInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/UploadedFile.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use InvalidArgumentException;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/Uri.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\UriInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/UriNormalizer.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\UriInterface;
     
    5353     * are equivalent according to RFC 3986. The first format is not accepted
    5454     * by PHPs stream functions and thus already normalized implicitly to the
    55      * second format in the Uri class. See `GuzzleHttp\Psr7\Uri::composeComponents`.
     55     * second format in the Uri class. See `QuentnWPGuzzleHttp\Psr7\Uri::composeComponents`.
    5656     *
    5757     * Example: file://localhost/myfile → file:///myfile
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/UriResolver.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\UriInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/functions.php

    r2327486 r2562965  
    11<?php
    2 namespace GuzzleHttp\Psr7;
     2namespace QuentnWPGuzzleHttp\Psr7;
    33
    44use Psr\Http\Message\MessageInterface;
  • quentn-wp/trunk/vendor/guzzlehttp/psr7/src/functions_include.php

    r2327486 r2562965  
    22
    33// Don't redefine the functions if included multiple times.
    4 if (!function_exists('GuzzleHttp\Psr7\str')) {
     4if (!function_exists('QuentnWPGuzzleHttp\Psr7\str')) {
    55    require __DIR__ . '/functions.php';
    66}
  • quentn-wp/trunk/vendor/quentn/php-sdk/src/Client/ContactClient.php

    r2327486 r2562965  
    11<?php
    22namespace Quentn\Client;
    3 use GuzzleHttp\Exception\GuzzleException;
    4 use GuzzleHttp\Exception\ClientException;
     3use QuentnWPGuzzleHttp\Exception\GuzzleException;
     4use QuentnWPGuzzleHttp\Exception\ClientException;
    55
    66class ContactClient extends AbstractQuentnClient {
  • quentn-wp/trunk/vendor/quentn/php-sdk/src/Client/CustomFieldClient.php

    r2327486 r2562965  
    11<?php
    22namespace Quentn\Client;
    3 use GuzzleHttp\Exception\ClientException;
    4 use GuzzleHttp\Exception\GuzzleException;
     3use QuentnWPGuzzleHttp\Exception\ClientException;
     4use QuentnWPGuzzleHttp\Exception\GuzzleException;
    55use Quentn\Exceptions\QuentnException;
    66
  • quentn-wp/trunk/vendor/quentn/php-sdk/src/Client/TermClient.php

    r2327486 r2562965  
    11<?php
    22namespace Quentn\Client;
    3 use GuzzleHttp\Exception\GuzzleException;
    4 use GuzzleHttp\Exception\ClientException;
     3use QuentnWPGuzzleHttp\Exception\GuzzleException;
     4use QuentnWPGuzzleHttp\Exception\ClientException;
    55
    66class TermClient extends AbstractQuentnClient {
  • quentn-wp/trunk/vendor/quentn/php-sdk/src/Quentn.php

    r2327486 r2562965  
    22namespace Quentn;
    33
    4 use GuzzleHttp\Client;
     4use QuentnWPGuzzleHttp\Client;
    55use Exception;
    6 use GuzzleHttp\Exception\GuzzleException;
     6use QuentnWPGuzzleHttp\Exception\GuzzleException;
    77use Quentn\Client\CustomFieldClient;
    88use Quentn\Exceptions\QuentnException;
Note: See TracChangeset for help on using the changeset viewer.