├── vendor ├── react │ ├── dns │ │ ├── .gitignore │ │ ├── tests │ │ │ ├── Fixtures │ │ │ │ └── etc │ │ │ │ │ └── resolv.conf │ │ │ ├── CallableStub.php │ │ │ └── Model │ │ │ │ └── MessageTest.php │ │ ├── src │ │ │ ├── BadServerException.php │ │ │ ├── Query │ │ │ │ ├── TimeoutException.php │ │ │ │ ├── CancellationException.php │ │ │ │ ├── TimeoutExecutor.php │ │ │ │ └── Query.php │ │ │ └── RecordNotFoundException.php │ │ ├── examples │ │ │ ├── 01-one.php │ │ │ ├── 02-concurrent.php │ │ │ ├── 12-all-types.php │ │ │ ├── 91-query-a-and-aaaa.php │ │ │ ├── 13-reverse-dns.php │ │ │ ├── 11-all-ips.php │ │ │ └── 03-cached.php │ │ ├── .travis.yml │ │ ├── phpunit.xml.dist │ │ ├── composer.json │ │ └── LICENSE │ ├── cache │ │ ├── .gitignore │ │ ├── tests │ │ │ ├── CallableStub.php │ │ │ └── TestCase.php │ │ ├── composer.json │ │ ├── phpunit.xml.dist │ │ ├── .travis.yml │ │ └── LICENSE │ ├── stream │ │ ├── .gitignore │ │ ├── tests │ │ │ ├── CallableStub.php │ │ │ ├── EnforceBlockingWrapper.php │ │ │ ├── TestCase.php │ │ │ └── Stub │ │ │ │ └── ReadableStreamStub.php │ │ ├── phpunit.xml.dist │ │ ├── composer.json │ │ ├── examples │ │ │ ├── 11-cat.php │ │ │ ├── 02-https.php │ │ │ └── 01-http.php │ │ ├── LICENSE │ │ └── .travis.yml │ ├── promise-timer │ │ ├── .gitignore │ │ ├── tests │ │ │ ├── CallableStub.php │ │ │ └── TimeoutExceptionTest.php │ │ ├── src │ │ │ ├── functions_include.php │ │ │ └── TimeoutException.php │ │ ├── .travis.yml │ │ ├── phpunit.xml.dist │ │ ├── composer.json │ │ └── LICENSE │ ├── promise │ │ ├── .gitignore │ │ ├── src │ │ │ ├── functions_include.php │ │ │ ├── Exception │ │ │ │ └── LengthException.php │ │ │ ├── PromisorInterface.php │ │ │ ├── CancellablePromiseInterface.php │ │ │ ├── PromiseInterface.php │ │ │ ├── UnhandledRejectionException.php │ │ │ ├── ExtendedPromiseInterface.php │ │ │ └── CancellationQueue.php │ │ ├── tests │ │ │ ├── Stub │ │ │ │ └── CallableStub.php │ │ │ ├── bootstrap.php │ │ │ ├── fixtures │ │ │ │ ├── SimpleTestCancellable.php │ │ │ │ ├── SimpleTestCancellableThenable.php │ │ │ │ ├── SimpleFulfilledTestThenable.php │ │ │ │ ├── SimpleRejectedTestPromise.php │ │ │ │ └── SimpleFulfilledTestPromise.php │ │ │ ├── PromiseAdapter │ │ │ │ ├── PromiseAdapterInterface.php │ │ │ │ └── CallbackPromiseAdapter.php │ │ │ ├── PromiseTest │ │ │ │ └── FullTestTrait.php │ │ │ └── TestCase.php │ │ ├── .travis.yml │ │ ├── composer.json │ │ ├── phpunit.xml.dist │ │ └── LICENSE │ ├── event-loop │ │ ├── src │ │ │ └── TimerInterface.php │ │ ├── composer.json │ │ └── LICENSE │ └── socket │ │ ├── composer.json │ │ ├── LICENSE │ │ └── src │ │ ├── FixedUriConnector.php │ │ └── UnixConnector.php ├── evenement │ └── evenement │ │ ├── .gitignore │ │ ├── src │ │ └── Evenement │ │ │ ├── EventEmitter.php │ │ │ └── EventEmitterInterface.php │ │ ├── tests │ │ └── Evenement │ │ │ └── Tests │ │ │ ├── functions.php │ │ │ └── Listener.php │ │ ├── .travis.yml │ │ ├── phpunit.xml.dist │ │ ├── composer.json │ │ ├── examples │ │ ├── benchmark-emit-no-arguments.php │ │ ├── benchmark-emit-one-argument.php │ │ ├── benchmark-emit.php │ │ ├── benchmark-emit-once.php │ │ └── benchmark-remove-listener-once.php │ │ ├── LICENSE │ │ └── doc │ │ └── 00-intro.md ├── cboden │ └── ratchet │ │ ├── .gitignore │ │ ├── src │ │ └── Ratchet │ │ │ ├── Wamp │ │ │ ├── Exception.php │ │ │ └── JsonException.php │ │ │ ├── MessageComponentInterface.php │ │ │ ├── WebSocket │ │ │ ├── MessageComponentInterface.php │ │ │ ├── MessageCallableInterface.php │ │ │ ├── WsServerInterface.php │ │ │ ├── ConnContext.php │ │ │ └── WsConnection.php │ │ │ ├── Session │ │ │ ├── Serialize │ │ │ │ ├── HandlerInterface.php │ │ │ │ └── PhpBinaryHandler.php │ │ │ └── Storage │ │ │ │ └── Proxy │ │ │ │ └── VirtualProxy.php │ │ │ ├── MessageInterface.php │ │ │ ├── Http │ │ │ ├── NoOpHttpServerController.php │ │ │ ├── HttpServerInterface.php │ │ │ └── CloseResponseTrait.php │ │ │ ├── ConnectionInterface.php │ │ │ ├── Server │ │ │ ├── EchoServer.php │ │ │ └── IoConnection.php │ │ │ ├── AbstractConnectionDecorator.php │ │ │ └── ComponentInterface.php │ │ ├── tests │ │ ├── bootstrap.php │ │ ├── helpers │ │ │ └── Ratchet │ │ │ │ ├── Wamp │ │ │ │ └── Stub │ │ │ │ │ └── WsWampServerInterface.php │ │ │ │ ├── WebSocket │ │ │ │ └── Stub │ │ │ │ │ └── WsMessageComponentInterface.php │ │ │ │ ├── Mock │ │ │ │ ├── Connection.php │ │ │ │ ├── ConnectionDecorator.php │ │ │ │ └── Component.php │ │ │ │ └── NullComponent.php │ │ ├── autobahn │ │ │ ├── fuzzingclient-quick.json │ │ │ ├── fuzzingclient-profile.json │ │ │ ├── fuzzingclient-all.json │ │ │ └── bin │ │ │ │ └── fuzzingserver.php │ │ └── unit │ │ │ ├── Server │ │ │ ├── EchoServerTest.php │ │ │ └── IoConnectionTest.php │ │ │ └── Session │ │ │ └── Serialize │ │ │ └── PhpHandlerTest.php │ │ ├── .travis.yml │ │ ├── phpunit.xml.dist │ │ ├── LICENSE │ │ └── composer.json ├── ratchet │ └── rfc6455 │ │ ├── .gitignore │ │ ├── tests │ │ ├── ab │ │ │ ├── fuzzingserver.json │ │ │ ├── run_ab_tests.sh │ │ │ └── fuzzingclient.json │ │ ├── bootstrap.php │ │ ├── unit │ │ │ └── Handshake │ │ │ │ └── ResponseVerifierTest.php │ │ └── AbResultsTest.php │ │ ├── .travis.yml │ │ ├── src │ │ └── Messaging │ │ │ ├── MessageInterface.php │ │ │ ├── CloseFrameChecker.php │ │ │ ├── DataInterface.php │ │ │ └── FrameInterface.php │ │ ├── phpunit.xml.dist │ │ ├── README.md │ │ ├── LICENSE │ │ └── composer.json ├── symfony │ ├── mime │ │ ├── .gitattributes │ │ ├── CHANGELOG.md │ │ ├── Exception │ │ │ ├── ExceptionInterface.php │ │ │ ├── AddressEncoderException.php │ │ │ ├── LogicException.php │ │ │ ├── RuntimeException.php │ │ │ ├── InvalidArgumentException.php │ │ │ └── RfcComplianceException.php │ │ ├── README.md │ │ ├── BodyRendererInterface.php │ │ ├── Encoder │ │ │ ├── MimeHeaderEncoderInterface.php │ │ │ ├── ContentEncoderInterface.php │ │ │ ├── AddressEncoderInterface.php │ │ │ ├── EncoderInterface.php │ │ │ ├── EightBitContentEncoder.php │ │ │ ├── QpMimeHeaderEncoder.php │ │ │ └── Base64Encoder.php │ │ ├── Part │ │ │ └── Multipart │ │ │ │ ├── MixedPart.php │ │ │ │ ├── AlternativePart.php │ │ │ │ └── DigestPart.php │ │ ├── MimeTypesInterface.php │ │ ├── LICENSE │ │ ├── MimeTypeGuesserInterface.php │ │ └── composer.json │ ├── routing │ │ ├── .gitattributes │ │ ├── Exception │ │ │ ├── ExceptionInterface.php │ │ │ ├── NoConfigurationException.php │ │ │ ├── RouteNotFoundException.php │ │ │ ├── InvalidParameterException.php │ │ │ ├── ResourceNotFoundException.php │ │ │ ├── MissingMandatoryParametersException.php │ │ │ └── MethodNotAllowedException.php │ │ ├── README.md │ │ ├── RequestContextAwareInterface.php │ │ ├── RouteCompilerInterface.php │ │ ├── Matcher │ │ │ ├── Dumper │ │ │ │ ├── MatcherDumper.php │ │ │ │ └── MatcherDumperInterface.php │ │ │ ├── CompiledUrlMatcher.php │ │ │ ├── RedirectableUrlMatcherInterface.php │ │ │ └── RequestMatcherInterface.php │ │ ├── Generator │ │ │ └── Dumper │ │ │ │ ├── GeneratorDumper.php │ │ │ │ └── GeneratorDumperInterface.php │ │ ├── Loader │ │ │ ├── Configurator │ │ │ │ └── RouteConfigurator.php │ │ │ ├── ContainerLoader.php │ │ │ ├── GlobFileLoader.php │ │ │ └── ClosureLoader.php │ │ ├── LICENSE │ │ └── RouterInterface.php │ ├── http-foundation │ │ ├── .gitattributes │ │ ├── File │ │ │ ├── Exception │ │ │ │ ├── UploadException.php │ │ │ │ ├── FileException.php │ │ │ │ ├── NoFileException.php │ │ │ │ ├── IniSizeFileException.php │ │ │ │ ├── PartialFileException.php │ │ │ │ ├── ExtensionFileException.php │ │ │ │ ├── FormSizeFileException.php │ │ │ │ ├── NoTmpDirFileException.php │ │ │ │ ├── CannotWriteFileException.php │ │ │ │ ├── UnexpectedTypeException.php │ │ │ │ ├── FileNotFoundException.php │ │ │ │ └── AccessDeniedException.php │ │ │ └── Stream.php │ │ ├── README.md │ │ ├── Exception │ │ │ ├── RequestExceptionInterface.php │ │ │ ├── SuspiciousOperationException.php │ │ │ └── ConflictingHeadersException.php │ │ ├── RequestMatcherInterface.php │ │ ├── Session │ │ │ └── SessionBagInterface.php │ │ ├── LICENSE │ │ ├── composer.json │ │ └── Test │ │ │ └── Constraint │ │ │ ├── ResponseHasHeader.php │ │ │ ├── ResponseIsRedirected.php │ │ │ └── ResponseIsSuccessful.php │ ├── polyfill-mbstring │ │ ├── README.md │ │ ├── composer.json │ │ └── LICENSE │ ├── polyfill-intl-idn │ │ ├── README.md │ │ ├── LICENSE │ │ └── composer.json │ └── polyfill-php72 │ │ ├── README.md │ │ ├── composer.json │ │ └── LICENSE ├── autoload.php ├── guzzlehttp │ └── psr7 │ │ ├── src │ │ ├── functions_include.php │ │ ├── NoSeekStream.php │ │ ├── Rfc7230.php │ │ ├── LazyOpenStream.php │ │ └── DroppingStream.php │ │ └── LICENSE ├── composer │ ├── autoload_classmap.php │ ├── autoload_namespaces.php │ ├── autoload_files.php │ └── LICENSE ├── psr │ └── http-message │ │ ├── README.md │ │ ├── composer.json │ │ ├── LICENSE │ │ └── CHANGELOG.md └── ralouphie │ └── getallheaders │ ├── composer.json │ ├── LICENSE │ └── README.md ├── composer.phar ├── assets ├── chat.xd └── imgs │ ├── Icon awesome-rocketchat-1.png │ ├── Icon awesome-rocketchat.png │ └── Icon ionic-ios-chatboxes.png ├── composer.json ├── chat-server.php └── index.html /vendor/react/dns/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | vendor -------------------------------------------------------------------------------- /vendor/react/cache/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | vendor 3 | -------------------------------------------------------------------------------- /vendor/react/stream/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | vendor 3 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | vendor 3 | -------------------------------------------------------------------------------- /vendor/react/promise-timer/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /composer.lock 3 | -------------------------------------------------------------------------------- /vendor/react/dns/tests/Fixtures/etc/resolv.conf: -------------------------------------------------------------------------------- 1 | nameserver 8.8.8.8 2 | -------------------------------------------------------------------------------- /composer.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafaelCapo/chat_ratchet_php_js/HEAD/composer.phar -------------------------------------------------------------------------------- /assets/chat.xd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafaelCapo/chat_ratchet_php_js/HEAD/assets/chat.xd -------------------------------------------------------------------------------- /vendor/cboden/ratchet/.gitignore: -------------------------------------------------------------------------------- 1 | phpunit.xml 2 | reports 3 | sandbox 4 | vendor 5 | composer.lock -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | vendor 3 | tests/ab/reports 4 | reports 5 | -------------------------------------------------------------------------------- /vendor/react/promise/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | composer.phar 3 | phpunit.xml 4 | build/ 5 | vendor/ 6 | -------------------------------------------------------------------------------- /vendor/symfony/mime/.gitattributes: -------------------------------------------------------------------------------- 1 | /Tests export-ignore 2 | /phpunit.xml.dist export-ignore 3 | /.gitignore export-ignore 4 | -------------------------------------------------------------------------------- /vendor/symfony/routing/.gitattributes: -------------------------------------------------------------------------------- 1 | /Tests export-ignore 2 | /phpunit.xml.dist export-ignore 3 | /.gitignore export-ignore 4 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/.gitattributes: -------------------------------------------------------------------------------- 1 | /Tests export-ignore 2 | /phpunit.xml.dist export-ignore 3 | /.gitignore export-ignore 4 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/Wamp/Exception.php: -------------------------------------------------------------------------------- 1 | addPsr4('Ratchet\\', __DIR__ . '/helpers/Ratchet'); 5 | -------------------------------------------------------------------------------- /vendor/react/dns/tests/CallableStub.php: -------------------------------------------------------------------------------- 1 | addPsr4('React\\Promise\\', __DIR__); 8 | -------------------------------------------------------------------------------- /vendor/react/promise/src/CancellablePromiseInterface.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/evenement/evenement/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /vendor/react/promise/tests/fixtures/SimpleTestCancellable.php: -------------------------------------------------------------------------------- 1 | cancelCalled = true; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/tests/ab/fuzzingserver.json: -------------------------------------------------------------------------------- 1 | { 2 | "url": "ws://127.0.0.1:9001" 3 | , "options": { 4 | "failByDrop": false 5 | } 6 | , "outdir": "./reports/clients" 7 | , "cases": ["*"] 8 | , "exclude-cases": ["6.4.*", "12.*", "13.*"] 9 | , "exclude-agent-cases": {} 10 | } 11 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/tests/helpers/Ratchet/WebSocket/Stub/WsMessageComponentInterface.php: -------------------------------------------------------------------------------- 1 | > ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;' 14 | - php -m 15 | - composer install --dev --prefer-source 16 | -------------------------------------------------------------------------------- /vendor/react/promise-timer/tests/TimeoutExceptionTest.php: -------------------------------------------------------------------------------- 1 | assertEquals(10, $e->getTimeout()); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/Session/Serialize/HandlerInterface.php: -------------------------------------------------------------------------------- 1 | run(); -------------------------------------------------------------------------------- /vendor/symfony/mime/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | 4.4.0 5 | ----- 6 | 7 | * [BC BREAK] Removed `NamedAddress` (`Address` now supports a name) 8 | * Added PHPUnit constraints 9 | * Added `AbstractPart::asDebugString()` 10 | * Added `Address::fromString()` 11 | 12 | 4.3.3 13 | ----- 14 | 15 | * [BC BREAK] Renamed method `Headers::getAll()` to `Headers::all()`. 16 | 17 | 4.3.0 18 | ----- 19 | 20 | * Introduced the component as experimental 21 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-mbstring/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Mbstring 2 | =========================== 3 | 4 | This component provides a partial, native PHP implementation for the 5 | [Mbstring](http://php.net/mbstring) extension. 6 | 7 | More information can be found in the 8 | [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). 9 | 10 | License 11 | ======= 12 | 13 | This library is released under the [MIT license](LICENSE). 14 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-intl-idn/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Intl: Idn 2 | ============================ 3 | 4 | This component provides `idn_to_ascii` and `idn_to_utf8` functions to users who run php versions without the intl extension. 5 | 6 | More information can be found in the 7 | [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). 8 | 9 | License 10 | ======= 11 | 12 | This library is released under the [MIT license](LICENSE). 13 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/src/Evenement/EventEmitter.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Evenement; 13 | 14 | class EventEmitter implements EventEmitterInterface 15 | { 16 | use EventEmitterTrait; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/react/promise/tests/fixtures/SimpleTestCancellableThenable.php: -------------------------------------------------------------------------------- 1 | cancelCalled = true; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/MessageInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Evenement\Tests; 13 | 14 | function setGlobalTestData($data) 15 | { 16 | $GLOBALS['evenement-evenement-test-data'] = $data; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/WebSocket/WsServerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Exception; 13 | 14 | /** 15 | * @author Fabien Potencier 16 | */ 17 | interface ExceptionInterface extends \Throwable 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | addPsr4('Ratchet\\RFC6455\\Test\\', __DIR__); 17 | break; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Exception/AddressEncoderException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Exception; 13 | 14 | /** 15 | * @author Fabien Potencier 16 | */ 17 | class AddressEncoderException extends RfcComplianceException 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Exception/LogicException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Exception; 13 | 14 | /** 15 | * @author Fabien Potencier 16 | */ 17 | class LogicException extends \LogicException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/mime/README.md: -------------------------------------------------------------------------------- 1 | MIME Component 2 | ============== 3 | 4 | The MIME component allows manipulating MIME messages. 5 | 6 | Resources 7 | --------- 8 | 9 | * [Documentation](https://symfony.com/doc/current/components/mime.html) 10 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 11 | * [Report issues](https://github.com/symfony/symfony/issues) and 12 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 13 | in the [main Symfony repository](https://github.com/symfony/symfony) 14 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/tests/helpers/Ratchet/Mock/Connection.php: -------------------------------------------------------------------------------- 1 | '' 8 | , 'close' => false 9 | ); 10 | 11 | public $remoteAddress = '127.0.0.1'; 12 | 13 | public function send($data) { 14 | $this->last[__FUNCTION__] = $data; 15 | } 16 | 17 | public function close() { 18 | $this->last[__FUNCTION__] = true; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/react/promise-timer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | # - 5.3 # requires old distro, see below 5 | - 5.4 6 | - 5.5 7 | - 5.6 8 | - 7.0 9 | - 7.1 10 | - hhvm # ignore errors, see below 11 | 12 | # lock distro so new future defaults will not break the build 13 | dist: trusty 14 | 15 | matrix: 16 | include: 17 | - php: 5.3 18 | dist: precise 19 | allow_failures: 20 | - php: hhvm 21 | 22 | install: 23 | - composer install --no-interaction 24 | 25 | script: 26 | - vendor/bin/phpunit --coverage-text 27 | -------------------------------------------------------------------------------- /vendor/symfony/mime/BodyRendererInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime; 13 | 14 | /** 15 | * @author Fabien Potencier 16 | */ 17 | interface BodyRendererInterface 18 | { 19 | public function render(Message $message): void; 20 | } 21 | -------------------------------------------------------------------------------- /vendor/react/promise-timer/src/TimeoutException.php: -------------------------------------------------------------------------------- 1 | timeout = $timeout; 16 | } 17 | 18 | public function getTimeout() 19 | { 20 | return $this->timeout; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Exception/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Exception; 13 | 14 | /** 15 | * @author Fabien Potencier 16 | */ 17 | class RuntimeException extends \RuntimeException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/src/NoSeekStream.php: -------------------------------------------------------------------------------- 1 | connection = $conn; 18 | $this->buffer = $buffer; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Exception; 13 | 14 | /** 15 | * @author Fabien Potencier 16 | */ 17 | class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Exception/RfcComplianceException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Exception; 13 | 14 | /** 15 | * @author Fabien Potencier 16 | */ 17 | class RfcComplianceException extends \InvalidArgumentException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * ExceptionInterface. 16 | * 17 | * @author Alexandre Salomé 18 | */ 19 | interface ExceptionInterface extends \Throwable 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/routing/README.md: -------------------------------------------------------------------------------- 1 | Routing Component 2 | ================= 3 | 4 | The Routing component maps an HTTP request to a set of configuration variables. 5 | 6 | Resources 7 | --------- 8 | 9 | * [Documentation](https://symfony.com/doc/current/components/routing.html) 10 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 11 | * [Report issues](https://github.com/symfony/symfony/issues) and 12 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 13 | in the [main Symfony repository](https://github.com/symfony/symfony) 14 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/UploadException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an error occurred during file upload. 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class UploadException extends FileException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Exception/NoConfigurationException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * Exception thrown when no routes are configured. 16 | * 17 | * @author Yonel Ceruto 18 | */ 19 | class NoConfigurationException extends ResourceNotFoundException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/Http/NoOpHttpServerController.php: -------------------------------------------------------------------------------- 1 | =5.3.0", 8 | "react/promise": "~2.0|~1.1" 9 | }, 10 | "autoload": { 11 | "psr-4": { "React\\Cache\\": "src/" } 12 | }, 13 | "autoload-dev": { 14 | "psr-4": { "React\\Tests\\Cache\\": "tests/" } 15 | }, 16 | "require-dev": { 17 | "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/react/cache/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | ./tests/ 12 | 13 | 14 | 15 | 16 | 17 | ./src/ 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/FileException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an error occurred in the component File. 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class FileException extends \RuntimeException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/ralouphie/getallheaders/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ralouphie/getallheaders", 3 | "description": "A polyfill for getallheaders.", 4 | "license": "MIT", 5 | "authors": [ 6 | { 7 | "name": "Ralph Khattar", 8 | "email": "ralph.khattar@gmail.com" 9 | } 10 | ], 11 | "require": { 12 | "php": ">=5.6" 13 | }, 14 | "require-dev": { 15 | "phpunit/phpunit": "^5 || ^6.5", 16 | "php-coveralls/php-coveralls": "^2.1" 17 | }, 18 | "autoload": { 19 | "files": ["src/getallheaders.php"] 20 | }, 21 | "autoload-dev": { 22 | "psr-4": { 23 | "getallheaders\\Tests\\": "tests/" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/react/promise-timer/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | ./tests/ 12 | 13 | 14 | 15 | 16 | ./src/ 17 | 18 | 19 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/README.md: -------------------------------------------------------------------------------- 1 | HttpFoundation Component 2 | ======================== 3 | 4 | The HttpFoundation component defines an object-oriented layer for the HTTP 5 | specification. 6 | 7 | Resources 8 | --------- 9 | 10 | * [Documentation](https://symfony.com/doc/current/components/http_foundation.html) 11 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 12 | * [Report issues](https://github.com/symfony/symfony/issues) and 13 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 14 | in the [main Symfony repository](https://github.com/symfony/symfony) 15 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Encoder/MimeHeaderEncoderInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Encoder; 13 | 14 | /** 15 | * @author Chris Corbyn 16 | */ 17 | interface MimeHeaderEncoderInterface 18 | { 19 | /** 20 | * Get the MIME name of this content encoding scheme. 21 | */ 22 | public function getName(): string; 23 | } 24 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/NoFileException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an UPLOAD_ERR_NO_FILE error occurred with UploadedFile. 16 | * 17 | * @author Florent Mata 18 | */ 19 | class NoFileException extends FileException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/tests/helpers/Ratchet/Mock/ConnectionDecorator.php: -------------------------------------------------------------------------------- 1 | '' 8 | , 'end' => false 9 | ); 10 | 11 | public function send($data) { 12 | $this->last[__FUNCTION__] = $data; 13 | 14 | $this->getConnection()->send($data); 15 | } 16 | 17 | public function close() { 18 | $this->last[__FUNCTION__] = true; 19 | 20 | $this->getConnection()->close(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/IniSizeFileException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an UPLOAD_ERR_INI_SIZE error occurred with UploadedFile. 16 | * 17 | * @author Florent Mata 18 | */ 19 | class IniSizeFileException extends FileException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/PartialFileException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an UPLOAD_ERR_PARTIAL error occurred with UploadedFile. 16 | * 17 | * @author Florent Mata 18 | */ 19 | class PartialFileException extends FileException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Exception/RequestExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Exception; 13 | 14 | /** 15 | * Interface for Request exceptions. 16 | * 17 | * Exceptions implementing this interface should trigger an HTTP 400 response in the application code. 18 | */ 19 | interface RequestExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/ExtensionFileException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an UPLOAD_ERR_EXTENSION error occurred with UploadedFile. 16 | * 17 | * @author Florent Mata 18 | */ 19 | class ExtensionFileException extends FileException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/FormSizeFileException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an UPLOAD_ERR_FORM_SIZE error occurred with UploadedFile. 16 | * 17 | * @author Florent Mata 18 | */ 19 | class FormSizeFileException extends FileException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/NoTmpDirFileException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an UPLOAD_ERR_NO_TMP_DIR error occurred with UploadedFile. 16 | * 17 | * @author Florent Mata 18 | */ 19 | class NoTmpDirFileException extends FileException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/CannotWriteFileException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when an UPLOAD_ERR_CANT_WRITE error occurred with UploadedFile. 16 | * 17 | * @author Florent Mata 18 | */ 19 | class CannotWriteFileException extends FileException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Exception/RouteNotFoundException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * Exception thrown when a route does not exist. 16 | * 17 | * @author Alexandre Salomé 18 | */ 19 | class RouteNotFoundException extends \InvalidArgumentException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 7.0 5 | - 7.1 6 | - hhvm 7 | - nightly 8 | 9 | matrix: 10 | allow_failures: 11 | - php: hhvm 12 | - php: nightly 13 | 14 | before_script: 15 | - wget http://getcomposer.org/composer.phar 16 | - php composer.phar install 17 | 18 | script: 19 | - ./vendor/bin/phpunit --coverage-text 20 | - php -n examples/benchmark-emit-no-arguments.php 21 | - php -n examples/benchmark-emit-one-argument.php 22 | - php -n examples/benchmark-emit.php 23 | - php -n examples/benchmark-emit-once.php 24 | - php -n examples/benchmark-remove-listener-once.php 25 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Exception/InvalidParameterException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * Exception thrown when a parameter is not valid. 16 | * 17 | * @author Alexandre Salomé 18 | */ 19 | class InvalidParameterException extends \InvalidArgumentException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/react/event-loop/src/TimerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File; 13 | 14 | /** 15 | * A PHP stream of unknown size. 16 | * 17 | * @author Nicolas Grekas 18 | */ 19 | class Stream extends File 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function getSize() 25 | { 26 | return false; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/react/dns/examples/01-one.php: -------------------------------------------------------------------------------- 1 | nameservers ? reset($config->nameservers) : '8.8.8.8'; 12 | 13 | $factory = new Factory(); 14 | $resolver = $factory->create($server, $loop); 15 | 16 | $name = isset($argv[1]) ? $argv[1] : 'www.google.com'; 17 | 18 | $resolver->resolve($name)->then(function ($ip) use ($name) { 19 | echo 'IP for ' . $name . ': ' . $ip . PHP_EOL; 20 | }, 'printf'); 21 | 22 | $loop->run(); 23 | -------------------------------------------------------------------------------- /vendor/react/promise/tests/fixtures/SimpleFulfilledTestThenable.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Exception; 13 | 14 | /** 15 | * Raised when a user has performed an operation that should be considered 16 | * suspicious from a security perspective. 17 | */ 18 | class SuspiciousOperationException extends \UnexpectedValueException implements RequestExceptionInterface 19 | { 20 | } 21 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/ConnectionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Exception; 13 | 14 | /** 15 | * The HTTP request contains headers with conflicting information. 16 | * 17 | * @author Magnus Nordlander 18 | */ 19 | class ConflictingHeadersException extends \UnexpectedValueException implements RequestExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Part/Multipart/MixedPart.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Part\Multipart; 13 | 14 | use Symfony\Component\Mime\Part\AbstractMultipartPart; 15 | 16 | /** 17 | * @author Fabien Potencier 18 | */ 19 | final class MixedPart extends AbstractMultipartPart 20 | { 21 | public function getMediaSubtype(): string 22 | { 23 | return 'mixed'; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/Http/HttpServerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * The resource was not found. 16 | * 17 | * This exception should trigger an HTTP 404 response in your application code. 18 | * 19 | * @author Kris Wallsmith 20 | */ 21 | class ResourceNotFoundException extends \RuntimeException implements ExceptionInterface 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /vendor/react/dns/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | # - 5.3 # requires old distro, see below 5 | - 5.4 6 | - 5.5 7 | - 5.6 8 | - 7.0 9 | - 7.1 10 | - 7.2 11 | - 7.3 12 | # - hhvm # requires legacy phpunit & ignore errors, see below 13 | 14 | # lock distro so new future defaults will not break the build 15 | dist: trusty 16 | 17 | matrix: 18 | include: 19 | - php: 5.3 20 | dist: precise 21 | - php: hhvm 22 | install: composer require phpunit/phpunit:^5 --dev --no-interaction 23 | allow_failures: 24 | - php: hhvm 25 | 26 | sudo: false 27 | 28 | install: 29 | - composer install --no-interaction 30 | 31 | script: 32 | - vendor/bin/phpunit --coverage-text 33 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Part/Multipart/AlternativePart.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Part\Multipart; 13 | 14 | use Symfony\Component\Mime\Part\AbstractMultipartPart; 15 | 16 | /** 17 | * @author Fabien Potencier 18 | */ 19 | final class AlternativePart extends AbstractMultipartPart 20 | { 21 | public function getMediaSubtype(): string 22 | { 23 | return 'alternative'; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/react/cache/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | # - 5.3 # requires old distro, see below 5 | - 5.4 6 | - 5.5 7 | - 5.6 8 | - 7.0 9 | - 7.1 10 | - 7.2 11 | - 7.3 12 | # - hhvm # requires legacy phpunit & ignore errors, see below 13 | 14 | # lock distro so new future defaults will not break the build 15 | dist: trusty 16 | 17 | matrix: 18 | include: 19 | - php: 5.3 20 | dist: precise 21 | - php: hhvm 22 | install: composer require phpunit/phpunit:^5 --dev --no-interaction 23 | allow_failures: 24 | - php: hhvm 25 | 26 | sudo: false 27 | 28 | install: 29 | - composer install --no-interaction 30 | 31 | script: 32 | - ./vendor/bin/phpunit --coverage-text 33 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Exception/MissingMandatoryParametersException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * Exception thrown when a route cannot be generated because of missing 16 | * mandatory parameters. 17 | * 18 | * @author Alexandre Salomé 19 | */ 20 | class MissingMandatoryParametersException extends \InvalidArgumentException implements ExceptionInterface 21 | { 22 | } 23 | -------------------------------------------------------------------------------- /vendor/symfony/routing/RequestContextAwareInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing; 13 | 14 | interface RequestContextAwareInterface 15 | { 16 | /** 17 | * Sets the request context. 18 | */ 19 | public function setContext(RequestContext $context); 20 | 21 | /** 22 | * Gets the request context. 23 | * 24 | * @return RequestContext The context 25 | */ 26 | public function getContext(); 27 | } 28 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/UnexpectedTypeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | class UnexpectedTypeException extends FileException 15 | { 16 | public function __construct($value, string $expectedType) 17 | { 18 | parent::__construct(sprintf('Expected argument of type %s, %s given', $expectedType, \is_object($value) ? \get_class($value) : \gettype($value))); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/Server/EchoServer.php: -------------------------------------------------------------------------------- 1 | send($msg); 15 | } 16 | 17 | public function onClose(ConnectionInterface $conn) { 18 | } 19 | 20 | public function onError(ConnectionInterface $conn, \Exception $e) { 21 | $conn->close(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/FileNotFoundException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when a file was not found. 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class FileNotFoundException extends FileException 20 | { 21 | public function __construct(string $path) 22 | { 23 | parent::__construct(sprintf('The file "%s" does not exist', $path)); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/psr/http-message/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "psr/http-message", 3 | "description": "Common interface for HTTP messages", 4 | "keywords": ["psr", "psr-7", "http", "http-message", "request", "response"], 5 | "homepage": "https://github.com/php-fig/http-message", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "PHP-FIG", 10 | "homepage": "http://www.php-fig.org/" 11 | } 12 | ], 13 | "require": { 14 | "php": ">=5.3.0" 15 | }, 16 | "autoload": { 17 | "psr-4": { 18 | "Psr\\Http\\Message\\": "src/" 19 | } 20 | }, 21 | "extra": { 22 | "branch-alias": { 23 | "dev-master": "1.0.x-dev" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/react/dns/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 13 | 14 | 15 | ./tests/ 16 | 17 | 18 | 19 | 20 | 21 | ./src/ 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 13 | 14 | 15 | ./tests/Evenement/ 16 | 17 | 18 | 19 | 20 | 21 | ./src/ 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/File/Exception/AccessDeniedException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\File\Exception; 13 | 14 | /** 15 | * Thrown when the access on a file was denied. 16 | * 17 | * @author Bernhard Schussek 18 | */ 19 | class AccessDeniedException extends FileException 20 | { 21 | public function __construct(string $path) 22 | { 23 | parent::__construct(sprintf('The file %s could not be accessed', $path)); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/react/dns/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react/dns", 3 | "description": "Async DNS resolver for ReactPHP", 4 | "keywords": ["dns", "dns-resolver", "ReactPHP", "async"], 5 | "license": "MIT", 6 | "require": { 7 | "php": ">=5.3.0", 8 | "react/cache": "^1.0 || ^0.6 || ^0.5", 9 | "react/event-loop": "^1.0 || ^0.5", 10 | "react/promise": "^2.7 || ^1.2.1", 11 | "react/promise-timer": "^1.2" 12 | }, 13 | "require-dev": { 14 | "clue/block-react": "^1.2", 15 | "phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35" 16 | }, 17 | "autoload": { 18 | "psr-4": { "React\\Dns\\": "src" } 19 | }, 20 | "autoload-dev": { 21 | "psr-4": { "React\\Tests\\Dns\\": "tests" } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/react/promise/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 5.4 5 | - 5.5 6 | - 5.6 7 | - 7.0 8 | - 7.1 9 | - nightly # ignore errors, see below 10 | - hhvm # ignore errors, see below 11 | 12 | # lock distro so new future defaults will not break the build 13 | dist: trusty 14 | 15 | matrix: 16 | allow_failures: 17 | - php: hhvm 18 | - php: nightly 19 | 20 | install: 21 | - composer install 22 | 23 | script: 24 | - ./vendor/bin/phpunit -v --coverage-text --coverage-clover=./build/logs/clover.xml 25 | 26 | after_script: 27 | - if [ -f ./build/logs/clover.xml ]; then travis_retry composer require satooshi/php-coveralls --no-interaction --update-with-dependencies; fi 28 | - if [ -f ./build/logs/clover.xml ]; then php vendor/bin/coveralls -v; fi 29 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/src/Evenement/EventEmitterInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Evenement; 13 | 14 | interface EventEmitterInterface 15 | { 16 | public function on($event, callable $listener); 17 | public function once($event, callable $listener); 18 | public function removeListener($event, callable $listener); 19 | public function removeAllListeners($event = null); 20 | public function listeners($event = null); 21 | public function emit($event, array $arguments = []); 22 | } 23 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/src/Rfc7230.php: -------------------------------------------------------------------------------- 1 | @,;:\\\"/[\]?={}\x01-\x20\x7F]++):[ \t]*+((?:[ \t]*+[\x21-\x7E\x80-\xFF]++)*+)[ \t]*+\r?\n)m"; 17 | const HEADER_FOLD_REGEX = "(\r?\n[ \t]++)"; 18 | } 19 | -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/src/Messaging/CloseFrameChecker.php: -------------------------------------------------------------------------------- 1 | validCloseCodes = [ 9 | Frame::CLOSE_NORMAL, 10 | Frame::CLOSE_GOING_AWAY, 11 | Frame::CLOSE_PROTOCOL, 12 | Frame::CLOSE_BAD_DATA, 13 | Frame::CLOSE_BAD_PAYLOAD, 14 | Frame::CLOSE_POLICY, 15 | Frame::CLOSE_TOO_BIG, 16 | Frame::CLOSE_MAND_EXT, 17 | Frame::CLOSE_SRV_ERR, 18 | ]; 19 | } 20 | 21 | public function __invoke($val) { 22 | return ($val >= 3000 && $val <= 4999) || in_array($val, $this->validCloseCodes); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/Http/CloseResponseTrait.php: -------------------------------------------------------------------------------- 1 | \Ratchet\VERSION 17 | ], $additional_headers)); 18 | 19 | $conn->send(gPsr\str($response)); 20 | $conn->close(); 21 | } 22 | } -------------------------------------------------------------------------------- /vendor/react/promise/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react/promise", 3 | "description": "A lightweight implementation of CommonJS Promises/A for PHP", 4 | "license": "MIT", 5 | "authors": [ 6 | {"name": "Jan Sorgalla", "email": "jsorgalla@gmail.com"} 7 | ], 8 | "require": { 9 | "php": ">=5.4.0" 10 | }, 11 | "require-dev": { 12 | "phpunit/phpunit": "~4.8" 13 | }, 14 | "autoload": { 15 | "psr-4": { 16 | "React\\Promise\\": "src/" 17 | }, 18 | "files": ["src/functions_include.php"] 19 | }, 20 | "autoload-dev": { 21 | "psr-4": { 22 | "React\\Promise\\": "tests/fixtures" 23 | } 24 | }, 25 | "keywords": [ 26 | "promise", 27 | "promises" 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /vendor/react/promise/src/UnhandledRejectionException.php: -------------------------------------------------------------------------------- 1 | reason = $reason; 21 | 22 | $message = \sprintf('Unhandled Rejection: %s', \json_encode($reason)); 23 | 24 | parent::__construct($message, 0); 25 | } 26 | 27 | public function getReason() 28 | { 29 | return $this->reason; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/react/stream/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./tests/ 17 | 18 | 19 | 20 | 21 | 22 | ./src/ 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /vendor/react/dns/examples/02-concurrent.php: -------------------------------------------------------------------------------- 1 | nameservers ? reset($config->nameservers) : '8.8.8.8'; 12 | 13 | $factory = new Factory(); 14 | $resolver = $factory->create($server, $loop); 15 | 16 | $names = array_slice($argv, 1); 17 | if (!$names) { 18 | $names = array('google.com', 'www.google.com', 'gmail.com'); 19 | } 20 | 21 | foreach ($names as $name) { 22 | $resolver->resolve($name)->then(function ($ip) use ($name) { 23 | echo 'IP for ' . $name . ': ' . $ip . PHP_EOL; 24 | }, 'printf'); 25 | } 26 | 27 | $loop->run(); 28 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "evenement/evenement", 3 | "description": "Événement is a very simple event dispatching library for PHP", 4 | "keywords": ["event-dispatcher", "event-emitter"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "Igor Wiedler", 9 | "email": "igor@wiedler.ch" 10 | } 11 | ], 12 | "require": { 13 | "php": ">=7.0" 14 | }, 15 | "require-dev": { 16 | "phpunit/phpunit": "^6.0" 17 | }, 18 | "autoload": { 19 | "psr-0": { 20 | "Evenement": "src" 21 | } 22 | }, 23 | "autoload-dev": { 24 | "psr-0": { 25 | "Evenement": "tests" 26 | }, 27 | "files": ["tests/Evenement/Tests/functions.php"] 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | tests 16 | 17 | test/ab 18 | 19 | 20 | 21 | 22 | 23 | 24 | ./src/ 25 | 26 | 27 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/examples/benchmark-emit-no-arguments.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | const ITERATIONS = 10000000; 13 | 14 | use Evenement\EventEmitter; 15 | 16 | require __DIR__.'/../vendor/autoload.php'; 17 | 18 | $emitter = new EventEmitter(); 19 | 20 | $emitter->on('event', function () {}); 21 | 22 | $start = microtime(true); 23 | for ($i = 0; $i < ITERATIONS; $i++) { 24 | $emitter->emit('event'); 25 | } 26 | $time = microtime(true) - $start; 27 | 28 | echo 'Emitting ', number_format(ITERATIONS), ' events took: ', number_format($time, 2), 's', PHP_EOL; 29 | -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/README.md: -------------------------------------------------------------------------------- 1 | # RFC6455 - The WebSocket Protocol 2 | 3 | [![Build Status](https://travis-ci.org/ratchetphp/RFC6455.svg?branch=master)](https://travis-ci.org/ratchetphp/RFC6455) 4 | ![Autobahn Testsuite](https://img.shields.io/badge/Autobahn-passing-brightgreen.svg) 5 | 6 | This library a protocol handler for the RFC6455 specification. 7 | It contains components for both server and client side handshake and messaging protocol negotation. 8 | 9 | Aspects that are left open to interpretation in the specification are also left open in this library. 10 | It is up to the implementation to determine how those interpretations are to be dealt with. 11 | 12 | This library is independent, framework agnostic, and does not deal with any I/O. 13 | HTTP upgrade negotiation integration points are handled with PSR-7 interfaces. 14 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/examples/benchmark-emit-one-argument.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | const ITERATIONS = 10000000; 13 | 14 | use Evenement\EventEmitter; 15 | 16 | require __DIR__.'/../vendor/autoload.php'; 17 | 18 | $emitter = new EventEmitter(); 19 | 20 | $emitter->on('event', function ($a) {}); 21 | 22 | $start = microtime(true); 23 | for ($i = 0; $i < ITERATIONS; $i++) { 24 | $emitter->emit('event', [1]); 25 | } 26 | $time = microtime(true) - $start; 27 | 28 | echo 'Emitting ', number_format(ITERATIONS), ' events took: ', number_format($time, 2), 's', PHP_EOL; 29 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/examples/benchmark-emit.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | const ITERATIONS = 10000000; 13 | 14 | use Evenement\EventEmitter; 15 | 16 | require __DIR__.'/../vendor/autoload.php'; 17 | 18 | $emitter = new EventEmitter(); 19 | 20 | $emitter->on('event', function ($a, $b, $c) {}); 21 | 22 | $start = microtime(true); 23 | for ($i = 0; $i < ITERATIONS; $i++) { 24 | $emitter->emit('event', [1, 2, 3]); 25 | } 26 | $time = microtime(true) - $start; 27 | 28 | echo 'Emitting ', number_format(ITERATIONS), ' events took: ', number_format($time, 2), 's', PHP_EOL; 29 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Encoder/ContentEncoderInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Encoder; 13 | 14 | /** 15 | * @author Chris Corbyn 16 | */ 17 | interface ContentEncoderInterface extends EncoderInterface 18 | { 19 | /** 20 | * Encodes the stream to a Generator. 21 | * 22 | * @param resource $stream 23 | */ 24 | public function encodeByteStream($stream, int $maxLineLength = 0): iterable; 25 | 26 | /** 27 | * Gets the MIME name of this content encoding scheme. 28 | */ 29 | public function getName(): string; 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/RequestMatcherInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation; 13 | 14 | /** 15 | * RequestMatcherInterface is an interface for strategies to match a Request. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface RequestMatcherInterface 20 | { 21 | /** 22 | * Decides whether the rule(s) implemented by the strategy matches the supplied request. 23 | * 24 | * @return bool true if the request matches, false otherwise 25 | */ 26 | public function matches(Request $request); 27 | } 28 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | ./tests/unit/ 16 | 17 | 18 | 19 | 20 | 21 | ./tests/integration/ 22 | 23 | 24 | 25 | 26 | 27 | ./src/ 28 | 29 | 30 | -------------------------------------------------------------------------------- /vendor/react/stream/tests/EnforceBlockingWrapper.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Encoder; 13 | 14 | use Symfony\Component\Mime\Exception\AddressEncoderException; 15 | 16 | /** 17 | * @author Christian Schmidt 18 | */ 19 | interface AddressEncoderInterface 20 | { 21 | /** 22 | * Encodes an email address. 23 | * 24 | * @throws AddressEncoderException if the email cannot be represented in 25 | * the encoding implemented by this class 26 | */ 27 | public function encodeString(string $address): string; 28 | } 29 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Page Title 6 | 7 | 8 | 9 | 10 | 20 | 21 |
22 | 23 |
24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/src/Messaging/DataInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Encoder; 13 | 14 | /** 15 | * @author Chris Corbyn 16 | */ 17 | interface EncoderInterface 18 | { 19 | /** 20 | * Encode a given string to produce an encoded string. 21 | * 22 | * @param int $firstLineOffset if first line needs to be shorter 23 | * @param int $maxLineLength - 0 indicates the default length for this encoding 24 | */ 25 | public function encodeString(string $string, ?string $charset = 'utf-8', int $firstLineOffset = 0, int $maxLineLength = 0): string; 26 | } 27 | -------------------------------------------------------------------------------- /vendor/react/stream/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react/stream", 3 | "description": "Event-driven readable and writable streams for non-blocking I/O in ReactPHP", 4 | "keywords": ["event-driven", "readable", "writable", "stream", "non-blocking", "io", "pipe", "ReactPHP"], 5 | "license": "MIT", 6 | "require": { 7 | "php": ">=5.3.8", 8 | "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", 9 | "evenement/evenement": "^3.0 || ^2.0 || ^1.0" 10 | }, 11 | "require-dev": { 12 | "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35", 13 | "clue/stream-filter": "~1.2" 14 | }, 15 | "autoload": { 16 | "psr-4": { 17 | "React\\Stream\\": "src" 18 | } 19 | }, 20 | "autoload-dev": { 21 | "psr-4": { 22 | "React\\Tests\\Stream\\": "tests" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Part/Multipart/DigestPart.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Part\Multipart; 13 | 14 | use Symfony\Component\Mime\Part\AbstractMultipartPart; 15 | use Symfony\Component\Mime\Part\MessagePart; 16 | 17 | /** 18 | * @author Fabien Potencier 19 | */ 20 | final class DigestPart extends AbstractMultipartPart 21 | { 22 | public function __construct(MessagePart ...$parts) 23 | { 24 | parent::__construct(...$parts); 25 | } 26 | 27 | public function getMediaSubtype(): string 28 | { 29 | return 'digest'; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/react/event-loop/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react/event-loop", 3 | "description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.", 4 | "keywords": ["event-loop", "asynchronous"], 5 | "license": "MIT", 6 | "require": { 7 | "php": ">=5.3.0" 8 | }, 9 | "require-dev": { 10 | "phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35" 11 | }, 12 | "suggest": { 13 | "ext-event": "~1.0 for ExtEventLoop", 14 | "ext-pcntl": "For signal handling support when using the StreamSelectLoop", 15 | "ext-uv": "* for ExtUvLoop" 16 | }, 17 | "autoload": { 18 | "psr-4": { 19 | "React\\EventLoop\\": "src" 20 | } 21 | }, 22 | "autoload-dev": { 23 | "psr-4": { 24 | "React\\Tests\\EventLoop\\": "tests" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/Server/IoConnection.php: -------------------------------------------------------------------------------- 1 | conn = $conn; 21 | } 22 | 23 | /** 24 | * {@inheritdoc} 25 | */ 26 | public function send($data) { 27 | $this->conn->write($data); 28 | 29 | return $this; 30 | } 31 | 32 | /** 33 | * {@inheritdoc} 34 | */ 35 | public function close() { 36 | $this->conn->end(); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/examples/benchmark-emit-once.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | ini_set('memory_limit', '512M'); 13 | 14 | const ITERATIONS = 100000; 15 | 16 | use Evenement\EventEmitter; 17 | 18 | require __DIR__.'/../vendor/autoload.php'; 19 | 20 | $emitter = new EventEmitter(); 21 | 22 | for ($i = 0; $i < ITERATIONS; $i++) { 23 | $emitter->once('event', function ($a, $b, $c) {}); 24 | } 25 | 26 | $start = microtime(true); 27 | $emitter->emit('event', [1, 2, 3]); 28 | $time = microtime(true) - $start; 29 | 30 | echo 'Emitting one event to ', number_format(ITERATIONS), ' once listeners took: ', number_format($time, 2), 's', PHP_EOL; 31 | -------------------------------------------------------------------------------- /vendor/react/promise/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | ./tests/ 17 | 18 | 19 | 20 | 21 | 22 | ./src/ 23 | 24 | ./src/functions_include.php 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /vendor/react/dns/examples/12-all-types.php: -------------------------------------------------------------------------------- 1 | nameservers ? reset($config->nameservers) : '8.8.8.8'; 15 | 16 | $factory = new Factory(); 17 | $resolver = $factory->create($server, $loop); 18 | 19 | $name = isset($argv[1]) ? $argv[1] : 'google.com'; 20 | $type = constant('React\Dns\Model\Message::TYPE_' . (isset($argv[2]) ? $argv[2] : 'TXT')); 21 | 22 | $resolver->resolveAll($name, $type)->then(function (array $values) { 23 | var_dump($values); 24 | }, function (Exception $e) { 25 | echo $e->getMessage() . PHP_EOL; 26 | }); 27 | 28 | $loop->run(); 29 | -------------------------------------------------------------------------------- /vendor/composer/autoload_files.php: -------------------------------------------------------------------------------- 1 | $vendorDir . '/react/promise/src/functions_include.php', 10 | '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', 11 | '972fda704d680a3a53c68e34e193cb22' => $vendorDir . '/react/promise-timer/src/functions_include.php', 12 | '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php', 13 | 'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php', 14 | '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', 15 | 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php', 16 | ); 17 | -------------------------------------------------------------------------------- /vendor/react/promise/src/ExtendedPromiseInterface.php: -------------------------------------------------------------------------------- 1 | pipe($stdout); 27 | 28 | $loop->run(); 29 | -------------------------------------------------------------------------------- /vendor/symfony/routing/RouteCompilerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing; 13 | 14 | /** 15 | * RouteCompilerInterface is the interface that all RouteCompiler classes must implement. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface RouteCompilerInterface 20 | { 21 | /** 22 | * Compiles the current route instance. 23 | * 24 | * @return CompiledRoute A CompiledRoute instance 25 | * 26 | * @throws \LogicException If the Route cannot be compiled because the 27 | * path or host pattern is invalid 28 | */ 29 | public static function compile(Route $route); 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-php72/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Php72 2 | ======================== 3 | 4 | This component provides functions added to PHP 7.2 core: 5 | 6 | - [`spl_object_id`](https://php.net/spl_object_id) 7 | - [`stream_isatty`](https://php.net/stream_isatty) 8 | 9 | On Windows only: 10 | 11 | - [`sapi_windows_vt100_support`](https://php.net/sapi_windows_vt100_support) 12 | 13 | Moved to core since 7.2 (was in the optional XML extension earlier): 14 | 15 | - [`utf8_encode`](https://php.net/utf8_encode) 16 | - [`utf8_decode`](https://php.net/utf8_decode) 17 | 18 | Also, it provides a constant added to PHP 7.2: 19 | - [`PHP_OS_FAMILY`](http://php.net/manual/en/reserved.constants.php#constant.php-os-family) 20 | 21 | More information can be found in the 22 | [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). 23 | 24 | License 25 | ======= 26 | 27 | This library is released under the [MIT license](LICENSE). 28 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/tests/unit/Server/EchoServerTest.php: -------------------------------------------------------------------------------- 1 | _conn = $this->getMock('\Ratchet\ConnectionInterface'); 11 | $this->_comp = new EchoServer; 12 | } 13 | 14 | public function testMessageEchod() { 15 | $message = 'Tillsonburg, my back still aches when I hear that word.'; 16 | $this->_conn->expects($this->once())->method('send')->with($message); 17 | $this->_comp->onMessage($this->_conn, $message); 18 | } 19 | 20 | public function testErrorClosesConnection() { 21 | ob_start(); 22 | $this->_conn->expects($this->once())->method('close'); 23 | $this->_comp->onError($this->_conn, new \Exception); 24 | ob_end_clean(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/react/dns/tests/Model/MessageTest.php: -------------------------------------------------------------------------------- 1 | assertFalse($request->qr); 17 | $this->assertTrue($request->rd); 18 | } 19 | 20 | public function testCreateResponseWithNoAnswers() 21 | { 22 | $query = new Query('igor.io', Message::TYPE_A, Message::CLASS_IN); 23 | $answers = array(); 24 | $request = Message::createResponseWithAnswersForQuery($query, $answers); 25 | 26 | $this->assertTrue($request->qr); 27 | $this->assertEquals(Message::RCODE_OK, $request->rcode); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Matcher/Dumper/MatcherDumper.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Matcher\Dumper; 13 | 14 | use Symfony\Component\Routing\RouteCollection; 15 | 16 | /** 17 | * MatcherDumper is the abstract class for all built-in matcher dumpers. 18 | * 19 | * @author Fabien Potencier 20 | */ 21 | abstract class MatcherDumper implements MatcherDumperInterface 22 | { 23 | private $routes; 24 | 25 | public function __construct(RouteCollection $routes) 26 | { 27 | $this->routes = $routes; 28 | } 29 | 30 | /** 31 | * {@inheritdoc} 32 | */ 33 | public function getRoutes() 34 | { 35 | return $this->routes; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-php72/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-php72", 3 | "type": "library", 4 | "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", 5 | "keywords": ["polyfill", "shim", "compatibility", "portable"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Nicolas Grekas", 11 | "email": "p@tchwork.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.3" 20 | }, 21 | "autoload": { 22 | "psr-4": { "Symfony\\Polyfill\\Php72\\": "" }, 23 | "files": [ "bootstrap.php" ] 24 | }, 25 | "minimum-stability": "dev", 26 | "extra": { 27 | "branch-alias": { 28 | "dev-master": "1.14-dev" 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/symfony/mime/MimeTypesInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime; 13 | 14 | /** 15 | * @author Fabien Potencier 16 | */ 17 | interface MimeTypesInterface extends MimeTypeGuesserInterface 18 | { 19 | /** 20 | * Gets the extensions for the given MIME type. 21 | * 22 | * @return string[] an array of extensions (first one is the preferred one) 23 | */ 24 | public function getExtensions(string $mimeType): array; 25 | 26 | /** 27 | * Gets the MIME types for the given extension. 28 | * 29 | * @return string[] an array of MIME types (first one is the preferred one) 30 | */ 31 | public function getMimeTypes(string $ext): array; 32 | } 33 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Generator/Dumper/GeneratorDumper.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Generator\Dumper; 13 | 14 | use Symfony\Component\Routing\RouteCollection; 15 | 16 | /** 17 | * GeneratorDumper is the base class for all built-in generator dumpers. 18 | * 19 | * @author Fabien Potencier 20 | */ 21 | abstract class GeneratorDumper implements GeneratorDumperInterface 22 | { 23 | private $routes; 24 | 25 | public function __construct(RouteCollection $routes) 26 | { 27 | $this->routes = $routes; 28 | } 29 | 30 | /** 31 | * {@inheritdoc} 32 | */ 33 | public function getRoutes() 34 | { 35 | return $this->routes; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /vendor/react/dns/examples/91-query-a-and-aaaa.php: -------------------------------------------------------------------------------- 1 | query($ipv4Query)->then(function (Message $message) { 19 | foreach ($message->answers as $answer) { 20 | echo 'IPv4: ' . $answer->data . PHP_EOL; 21 | } 22 | }, 'printf'); 23 | $executor->query($ipv6Query)->then(function (Message $message) { 24 | foreach ($message->answers as $answer) { 25 | echo 'IPv6: ' . $answer->data . PHP_EOL; 26 | } 27 | }, 'printf'); 28 | 29 | $loop->run(); 30 | -------------------------------------------------------------------------------- /vendor/react/promise-timer/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react/promise-timer", 3 | "description": "A trivial implementation of timeouts for Promises, built on top of ReactPHP.", 4 | "keywords": ["Promise", "timeout", "timer", "event-loop", "ReactPHP", "async"], 5 | "homepage": "https://github.com/reactphp/promise-timer", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Christian Lück", 10 | "email": "christian@lueck.tv" 11 | } 12 | ], 13 | "autoload": { 14 | "psr-4": { "React\\Promise\\Timer\\": "src/" }, 15 | "files": [ "src/functions_include.php" ] 16 | }, 17 | "autoload-dev": { 18 | "psr-4": { "React\\Tests\\Promise\\Timer\\": "tests/" } 19 | }, 20 | "require": { 21 | "php": ">=5.3", 22 | "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", 23 | "react/promise": "^2.7.0 || ^1.2.1" 24 | }, 25 | "require-dev": { 26 | "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Encoder/EightBitContentEncoder.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Encoder; 13 | 14 | /** 15 | * @author Fabien Potencier 16 | */ 17 | final class EightBitContentEncoder implements ContentEncoderInterface 18 | { 19 | public function encodeByteStream($stream, int $maxLineLength = 0): iterable 20 | { 21 | while (!feof($stream)) { 22 | yield fread($stream, 16372); 23 | } 24 | } 25 | 26 | public function getName(): string 27 | { 28 | return '8bit'; 29 | } 30 | 31 | public function encodeString(string $string, ?string $charset = 'utf-8', int $firstLineOffset = 0, int $maxLineLength = 0): string 32 | { 33 | return $string; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Matcher/CompiledUrlMatcher.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Matcher; 13 | 14 | use Symfony\Component\Routing\Matcher\Dumper\CompiledUrlMatcherTrait; 15 | use Symfony\Component\Routing\RequestContext; 16 | 17 | /** 18 | * Matches URLs based on rules dumped by CompiledUrlMatcherDumper. 19 | * 20 | * @author Nicolas Grekas 21 | */ 22 | class CompiledUrlMatcher extends UrlMatcher 23 | { 24 | use CompiledUrlMatcherTrait; 25 | 26 | public function __construct(array $compiledRoutes, RequestContext $context) 27 | { 28 | $this->context = $context; 29 | list($this->matchHost, $this->staticRoutes, $this->regexpList, $this->dynamicRoutes, $this->checkCondition) = $compiledRoutes; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Matcher/RedirectableUrlMatcherInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Matcher; 13 | 14 | /** 15 | * RedirectableUrlMatcherInterface knows how to redirect the user. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface RedirectableUrlMatcherInterface 20 | { 21 | /** 22 | * Redirects the user to another URL. 23 | * 24 | * @param string $path The path info to redirect to 25 | * @param string $route The route name that matched 26 | * @param string|null $scheme The URL scheme (null to keep the current one) 27 | * 28 | * @return array An array of parameters 29 | */ 30 | public function redirect(string $path, string $route, string $scheme = null); 31 | } 32 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/tests/unit/Server/IoConnectionTest.php: -------------------------------------------------------------------------------- 1 | sock = $this->getMock('\\React\\Socket\\ConnectionInterface'); 14 | $this->conn = new IoConnection($this->sock); 15 | } 16 | 17 | public function testCloseBubbles() { 18 | $this->sock->expects($this->once())->method('end'); 19 | $this->conn->close(); 20 | } 21 | 22 | public function testSendBubbles() { 23 | $msg = '6 hour rides are productive'; 24 | 25 | $this->sock->expects($this->once())->method('write')->with($msg); 26 | $this->conn->send($msg); 27 | } 28 | 29 | public function testSendReturnsSelf() { 30 | $this->assertSame($this->conn, $this->conn->send('fluent interface')); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/react/socket/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react/socket", 3 | "description": "Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP", 4 | "keywords": ["async", "socket", "stream", "connection", "ReactPHP"], 5 | "license": "MIT", 6 | "require": { 7 | "php": ">=5.3.0", 8 | "evenement/evenement": "^3.0 || ^2.0 || ^1.0", 9 | "react/dns": "^1.1", 10 | "react/event-loop": "^1.0 || ^0.5", 11 | "react/promise": "^2.6.0 || ^1.2.1", 12 | "react/promise-timer": "^1.4.0", 13 | "react/stream": "^1.1" 14 | }, 15 | "require-dev": { 16 | "clue/block-react": "^1.2", 17 | "phpunit/phpunit": "^7.5 || ^6.4 || ^5.7 || ^4.8.35", 18 | "react/promise-stream": "^1.2" 19 | }, 20 | "autoload": { 21 | "psr-4": { 22 | "React\\Socket\\": "src" 23 | } 24 | }, 25 | "autoload-dev": { 26 | "psr-4": { 27 | "React\\Tests\\Socket\\": "tests" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-mbstring/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-mbstring", 3 | "type": "library", 4 | "description": "Symfony polyfill for the Mbstring extension", 5 | "keywords": ["polyfill", "shim", "compatibility", "portable", "mbstring"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Nicolas Grekas", 11 | "email": "p@tchwork.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.3" 20 | }, 21 | "autoload": { 22 | "psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" }, 23 | "files": [ "bootstrap.php" ] 24 | }, 25 | "suggest": { 26 | "ext-mbstring": "For best performance" 27 | }, 28 | "minimum-stability": "dev", 29 | "extra": { 30 | "branch-alias": { 31 | "dev-master": "1.14-dev" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/react/dns/src/Query/TimeoutExecutor.php: -------------------------------------------------------------------------------- 1 | executor = $executor; 19 | $this->loop = $loop; 20 | $this->timeout = $timeout; 21 | } 22 | 23 | public function query(Query $query) 24 | { 25 | return Timer\timeout($this->executor->query($query), $this->timeout, $this->loop)->then(null, function ($e) use ($query) { 26 | if ($e instanceof Timer\TimeoutException) { 27 | $e = new TimeoutException(sprintf("DNS query for %s timed out", $query->name), 0, $e); 28 | } 29 | throw $e; 30 | }); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/Wamp/JsonException.php: -------------------------------------------------------------------------------- 1 | filename = $filename; 27 | $this->mode = $mode; 28 | } 29 | 30 | /** 31 | * Creates the underlying stream lazily when required. 32 | * 33 | * @return StreamInterface 34 | */ 35 | protected function createStream() 36 | { 37 | return stream_for(try_fopen($this->filename, $this->mode)); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/tests/unit/Handshake/ResponseVerifierTest.php: -------------------------------------------------------------------------------- 1 | _v = new ResponseVerifier; 16 | } 17 | 18 | public static function subProtocolsProvider() { 19 | return [ 20 | [true, ['a'], ['a']] 21 | , [true, ['b', 'a'], ['c', 'd', 'a']] 22 | , [false, ['a', 'b', 'c'], ['d']] 23 | , [true, [], []] 24 | , [true, ['a', 'b'], []] 25 | ]; 26 | } 27 | 28 | /** 29 | * @dataProvider subProtocolsProvider 30 | */ 31 | public function testVerifySubProtocol($expected, $response, $request) { 32 | $this->assertEquals($expected, $this->_v->verifySubProtocol($response, $request)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/react/dns/examples/13-reverse-dns.php: -------------------------------------------------------------------------------- 1 | nameservers ? reset($config->nameservers) : '8.8.8.8'; 13 | 14 | $factory = new Factory(); 15 | $resolver = $factory->create($server, $loop); 16 | 17 | $ip = isset($argv[1]) ? $argv[1] : '8.8.8.8'; 18 | 19 | if (@inet_pton($ip) === false) { 20 | exit('Error: Given argument is not a valid IP' . PHP_EOL); 21 | } 22 | 23 | if (strpos($ip, ':') === false) { 24 | $name = inet_ntop(strrev(inet_pton($ip))) . '.in-addr.arpa'; 25 | } else { 26 | $name = wordwrap(strrev(bin2hex(inet_pton($ip))), 1, '.', true) . '.ip6.arpa'; 27 | } 28 | 29 | $resolver->resolveAll($name, Message::TYPE_PTR)->then(function (array $names) { 30 | var_dump($names); 31 | }, function (Exception $e) { 32 | echo $e->getMessage() . PHP_EOL; 33 | }); 34 | 35 | $loop->run(); 36 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Loader/Configurator/RouteConfigurator.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Loader\Configurator; 13 | 14 | use Symfony\Component\Routing\RouteCollection; 15 | 16 | /** 17 | * @author Nicolas Grekas 18 | */ 19 | class RouteConfigurator 20 | { 21 | use Traits\AddTrait; 22 | use Traits\RouteTrait; 23 | 24 | private $parentConfigurator; 25 | 26 | public function __construct(RouteCollection $collection, $route, string $name = '', CollectionConfigurator $parentConfigurator = null, array $prefixes = null) 27 | { 28 | $this->collection = $collection; 29 | $this->route = $route; 30 | $this->name = $name; 31 | $this->parentConfigurator = $parentConfigurator; // for GC control 32 | $this->prefixes = $prefixes; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Session/SessionBagInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Session; 13 | 14 | /** 15 | * Session Bag store. 16 | * 17 | * @author Drak 18 | */ 19 | interface SessionBagInterface 20 | { 21 | /** 22 | * Gets this bag's name. 23 | * 24 | * @return string 25 | */ 26 | public function getName(); 27 | 28 | /** 29 | * Initializes the Bag. 30 | */ 31 | public function initialize(array &$array); 32 | 33 | /** 34 | * Gets the storage key for this bag. 35 | * 36 | * @return string 37 | */ 38 | public function getStorageKey(); 39 | 40 | /** 41 | * Clears out data from bag. 42 | * 43 | * @return mixed Whatever data was contained 44 | */ 45 | public function clear(); 46 | } 47 | -------------------------------------------------------------------------------- /vendor/react/promise/tests/TestCase.php: -------------------------------------------------------------------------------- 1 | createCallableMock(); 10 | $mock 11 | ->expects($this->exactly($amount)) 12 | ->method('__invoke'); 13 | 14 | return $mock; 15 | } 16 | 17 | public function expectCallableOnce() 18 | { 19 | $mock = $this->createCallableMock(); 20 | $mock 21 | ->expects($this->once()) 22 | ->method('__invoke'); 23 | 24 | return $mock; 25 | } 26 | 27 | public function expectCallableNever() 28 | { 29 | $mock = $this->createCallableMock(); 30 | $mock 31 | ->expects($this->never()) 32 | ->method('__invoke'); 33 | 34 | return $mock; 35 | } 36 | 37 | public function createCallableMock() 38 | { 39 | return $this 40 | ->getMockBuilder('React\\Promise\Stub\CallableStub') 41 | ->getMock(); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/Session/Serialize/PhpBinaryHandler.php: -------------------------------------------------------------------------------- 1 | callbacks = $callbacks; 14 | } 15 | 16 | public function promise() 17 | { 18 | return call_user_func_array($this->callbacks['promise'], func_get_args()); 19 | } 20 | 21 | public function resolve() 22 | { 23 | return call_user_func_array($this->callbacks['resolve'], func_get_args()); 24 | } 25 | 26 | public function reject() 27 | { 28 | return call_user_func_array($this->callbacks['reject'], func_get_args()); 29 | } 30 | 31 | public function notify() 32 | { 33 | return call_user_func_array($this->callbacks['notify'], func_get_args()); 34 | } 35 | 36 | public function settle() 37 | { 38 | return call_user_func_array($this->callbacks['settle'], func_get_args()); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/tests/helpers/Ratchet/NullComponent.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Matcher\Dumper; 13 | 14 | use Symfony\Component\Routing\RouteCollection; 15 | 16 | /** 17 | * MatcherDumperInterface is the interface that all matcher dumper classes must implement. 18 | * 19 | * @author Fabien Potencier 20 | */ 21 | interface MatcherDumperInterface 22 | { 23 | /** 24 | * Dumps a set of routes to a string representation of executable code 25 | * that can then be used to match a request against these routes. 26 | * 27 | * @return string Executable code 28 | */ 29 | public function dump(array $options = []); 30 | 31 | /** 32 | * Gets the routes to dump. 33 | * 34 | * @return RouteCollection A RouteCollection instance 35 | */ 36 | public function getRoutes(); 37 | } 38 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Generator/Dumper/GeneratorDumperInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Generator\Dumper; 13 | 14 | use Symfony\Component\Routing\RouteCollection; 15 | 16 | /** 17 | * GeneratorDumperInterface is the interface that all generator dumper classes must implement. 18 | * 19 | * @author Fabien Potencier 20 | */ 21 | interface GeneratorDumperInterface 22 | { 23 | /** 24 | * Dumps a set of routes to a string representation of executable code 25 | * that can then be used to generate a URL of such a route. 26 | * 27 | * @return string Executable code 28 | */ 29 | public function dump(array $options = []); 30 | 31 | /** 32 | * Gets the routes to dump. 33 | * 34 | * @return RouteCollection A RouteCollection instance 35 | */ 36 | public function getRoutes(); 37 | } 38 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2017 Chris Boden 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Igor Wiedler 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2016 Chris Boden 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/mime/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010-2020 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/react/cache/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Igor Wiedler, Chris Boden 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/react/dns/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Igor Wiedler, Chris Boden 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/react/socket/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Igor Wiedler, Chris Boden 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/react/stream/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Igor Wiedler, Chris Boden 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/routing/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2020 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/tests/Evenement/Tests/Listener.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Evenement\Tests; 13 | 14 | class Listener 15 | { 16 | private $data = []; 17 | 18 | private $magicData = []; 19 | 20 | private static $staticData = []; 21 | 22 | public function onFoo($data) 23 | { 24 | $this->data[] = $data; 25 | } 26 | 27 | public function __invoke($data) 28 | { 29 | $this->magicData[] = $data; 30 | } 31 | 32 | public static function onBar($data) 33 | { 34 | self::$staticData[] = $data; 35 | } 36 | 37 | public function getData() 38 | { 39 | return $this->data; 40 | } 41 | 42 | public function getMagicData() 43 | { 44 | return $this->magicData; 45 | } 46 | 47 | public static function getStaticData() 48 | { 49 | return self::$staticData; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /vendor/react/event-loop/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Igor Wiedler, Chris Boden 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/mime/MimeTypeGuesserInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime; 13 | 14 | /** 15 | * Guesses the MIME type of a file. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface MimeTypeGuesserInterface 20 | { 21 | /** 22 | * Returns true if this guesser is supported. 23 | */ 24 | public function isGuesserSupported(): bool; 25 | 26 | /** 27 | * Guesses the MIME type of the file with the given path. 28 | * 29 | * @param string $path The path to the file 30 | * 31 | * @return string|null The MIME type or null, if none could be guessed 32 | * 33 | * @throws \LogicException If the guesser is not supported 34 | * @throws \InvalidArgumentException If the file does not exist or is not readable 35 | */ 36 | public function guessMimeType(string $path): ?string; 37 | } 38 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-php72/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015-2019 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/composer/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Copyright (c) Nils Adermann, Jordi Boggiano 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is furnished 9 | to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all 12 | copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. 21 | 22 | -------------------------------------------------------------------------------- /vendor/react/promise/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012-2016 Jan Sorgalla 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2020 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-intl-idn/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018-2019 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-mbstring/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015-2019 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/psr/http-message/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 PHP Framework Interoperability Group 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/http-foundation", 3 | "type": "library", 4 | "description": "Symfony HttpFoundation Component", 5 | "keywords": [], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": "^7.2.5", 20 | "symfony/mime": "^4.4|^5.0", 21 | "symfony/polyfill-mbstring": "~1.1" 22 | }, 23 | "require-dev": { 24 | "predis/predis": "~1.0", 25 | "symfony/expression-language": "^4.4|^5.0" 26 | }, 27 | "autoload": { 28 | "psr-4": { "Symfony\\Component\\HttpFoundation\\": "" }, 29 | "exclude-from-classmap": [ 30 | "/Tests/" 31 | ] 32 | }, 33 | "minimum-stability": "dev", 34 | "extra": { 35 | "branch-alias": { 36 | "dev-master": "5.0-dev" 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Loader/ContainerLoader.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Loader; 13 | 14 | use Psr\Container\ContainerInterface; 15 | 16 | /** 17 | * A route loader that executes a service from a PSR-11 container to load the routes. 18 | * 19 | * @author Ryan Weaver 20 | */ 21 | class ContainerLoader extends ObjectLoader 22 | { 23 | private $container; 24 | 25 | public function __construct(ContainerInterface $container) 26 | { 27 | $this->container = $container; 28 | } 29 | 30 | /** 31 | * {@inheritdoc} 32 | */ 33 | public function supports($resource, string $type = null) 34 | { 35 | return 'service' === $type; 36 | } 37 | 38 | /** 39 | * {@inheritdoc} 40 | */ 41 | protected function getObject(string $id) 42 | { 43 | return $this->container->get($id); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/tests/helpers/Ratchet/Mock/Component.php: -------------------------------------------------------------------------------- 1 | last[__FUNCTION__] = func_get_args(); 14 | } 15 | 16 | public function onOpen(ConnectionInterface $conn) { 17 | $this->last[__FUNCTION__] = func_get_args(); 18 | } 19 | 20 | public function onMessage(ConnectionInterface $from, $msg) { 21 | $this->last[__FUNCTION__] = func_get_args(); 22 | } 23 | 24 | public function onClose(ConnectionInterface $conn) { 25 | $this->last[__FUNCTION__] = func_get_args(); 26 | } 27 | 28 | public function onError(ConnectionInterface $conn, \Exception $e) { 29 | $this->last[__FUNCTION__] = func_get_args(); 30 | } 31 | 32 | public function getSubProtocols() { 33 | return $this->protocols; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/react/promise-timer/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Christian Lück 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is furnished 10 | to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /vendor/ralouphie/getallheaders/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Ralph Khattar 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-intl-idn/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-intl-idn", 3 | "type": "library", 4 | "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", 5 | "keywords": ["polyfill", "shim", "compatibility", "portable", "intl", "idn"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Laurent Bassin", 11 | "email": "laurent@bassin.info" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.3", 20 | "symfony/polyfill-mbstring": "^1.3", 21 | "symfony/polyfill-php72": "^1.10" 22 | }, 23 | "autoload": { 24 | "psr-4": { "Symfony\\Polyfill\\Intl\\Idn\\": "" }, 25 | "files": [ "bootstrap.php" ] 26 | }, 27 | "suggest": { 28 | "ext-intl": "For best performance" 29 | }, 30 | "minimum-stability": "dev", 31 | "extra": { 32 | "branch-alias": { 33 | "dev-master": "1.14-dev" 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Michael Dowling, https://github.com/mtdowling 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/tests/AbResultsTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('Autobahn TestSuite results not found'); 8 | } 9 | 10 | $resultsJson = file_get_contents($fileName); 11 | $results = json_decode($resultsJson); 12 | $agentName = array_keys(get_object_vars($results))[0]; 13 | 14 | foreach ($results->$agentName as $name => $result) { 15 | if ($result->behavior === "INFORMATIONAL") { 16 | continue; 17 | } 18 | 19 | $this->assertTrue(in_array($result->behavior, ["OK", "NON-STRICT"]), "Autobahn test case " . $name . " in " . $fileName); 20 | } 21 | } 22 | 23 | public function testAutobahnClientResults() { 24 | $this->verifyAutobahnResults(__DIR__ . '/ab/reports/clients/index.json'); 25 | } 26 | 27 | public function testAutobahnServerResults() { 28 | $this->verifyAutobahnResults(__DIR__ . '/ab/reports/servers/index.json'); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/react/dns/examples/11-all-ips.php: -------------------------------------------------------------------------------- 1 | nameservers ? reset($config->nameservers) : '8.8.8.8'; 13 | 14 | $factory = new Factory(); 15 | $resolver = $factory->create($server, $loop); 16 | 17 | $name = isset($argv[1]) ? $argv[1] : 'www.google.com'; 18 | 19 | $resolver->resolveAll($name, Message::TYPE_A)->then(function (array $ips) use ($name) { 20 | echo 'IPv4 addresses for ' . $name . ': ' . implode(', ', $ips) . PHP_EOL; 21 | }, function (Exception $e) use ($name) { 22 | echo 'No IPv4 addresses for ' . $name . ': ' . $e->getMessage() . PHP_EOL; 23 | }); 24 | 25 | $resolver->resolveAll($name, Message::TYPE_AAAA)->then(function (array $ips) use ($name) { 26 | echo 'IPv6 addresses for ' . $name . ': ' . implode(', ', $ips) . PHP_EOL; 27 | }, function (Exception $e) use ($name) { 28 | echo 'No IPv6 addresses for ' . $name . ': ' . $e->getMessage() . PHP_EOL; 29 | }); 30 | 31 | $loop->run(); 32 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cboden/ratchet" 3 | , "type": "library" 4 | , "description": "PHP WebSocket library" 5 | , "keywords": ["WebSockets", "Server", "Ratchet", "Sockets", "WebSocket"] 6 | , "homepage": "http://socketo.me" 7 | , "license": "MIT" 8 | , "authors": [ 9 | { 10 | "name": "Chris Boden" 11 | , "email": "cboden@gmail.com" 12 | , "role": "Developer" 13 | } 14 | ] 15 | , "support": { 16 | "forum": "https://groups.google.com/forum/#!forum/ratchet-php" 17 | , "issues": "https://github.com/ratchetphp/Ratchet/issues" 18 | , "irc": "irc://irc.freenode.org/reactphp" 19 | } 20 | , "autoload": { 21 | "psr-4": { 22 | "Ratchet\\": "src/Ratchet" 23 | } 24 | } 25 | , "require": { 26 | "php": ">=5.4.2" 27 | , "ratchet/rfc6455": "^0.2" 28 | , "react/socket": "^1.0 || ^0.8 || ^0.7 || ^0.6 || ^0.5" 29 | , "guzzlehttp/psr7": "^1.0" 30 | , "symfony/http-foundation": "^2.6|^3.0|^4.0|^5.0" 31 | , "symfony/routing": "^2.6|^3.0|^4.0|^5.0" 32 | } 33 | , "require-dev": { 34 | "phpunit/phpunit": "~4.8" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/AbstractConnectionDecorator.php: -------------------------------------------------------------------------------- 1 | wrappedConn = $conn; 17 | } 18 | 19 | /** 20 | * @return ConnectionInterface 21 | */ 22 | protected function getConnection() { 23 | return $this->wrappedConn; 24 | } 25 | 26 | public function __set($name, $value) { 27 | $this->wrappedConn->$name = $value; 28 | } 29 | 30 | public function __get($name) { 31 | return $this->wrappedConn->$name; 32 | } 33 | 34 | public function __isset($name) { 35 | return isset($this->wrappedConn->$name); 36 | } 37 | 38 | public function __unset($name) { 39 | unset($this->wrappedConn->$name); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/ratchet/rfc6455/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ratchet/rfc6455", 3 | "type": "library", 4 | "description": "RFC6455 WebSocket protocol handler", 5 | "keywords": ["WebSockets", "websocket", "RFC6455"], 6 | "homepage": "http://socketo.me", 7 | "license": "MIT", 8 | "authors": [{ 9 | "name": "Chris Boden" 10 | , "email": "cboden@gmail.com" 11 | , "role": "Developer" 12 | }], 13 | "support": { 14 | "forum": "https://groups.google.com/forum/#!forum/ratchet-php" 15 | , "issues": "https://github.com/ratchetphp/RFC6455/issues" 16 | , "irc": "irc://irc.freenode.org/reactphp" 17 | }, 18 | "autoload": { 19 | "psr-4": { 20 | "Ratchet\\RFC6455\\": "src" 21 | } 22 | }, 23 | "require": { 24 | "php": ">=5.4.2", 25 | "guzzlehttp/psr7": "^1.0" 26 | }, 27 | "require-dev": { 28 | "phpunit/phpunit": "4.8.*", 29 | "react/socket": "^1.3" 30 | }, 31 | "scripts": { 32 | "abtests": "sh tests/ab/run_ab_tests.sh", 33 | "phpunit": "phpunit --colors=always", 34 | "test": [ 35 | "@abtests", 36 | "@phpunit" 37 | ] 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /vendor/symfony/routing/RouterInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing; 13 | 14 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; 15 | use Symfony\Component\Routing\Matcher\UrlMatcherInterface; 16 | 17 | /** 18 | * RouterInterface is the interface that all Router classes must implement. 19 | * 20 | * This interface is the concatenation of UrlMatcherInterface and UrlGeneratorInterface. 21 | * 22 | * @author Fabien Potencier 23 | */ 24 | interface RouterInterface extends UrlMatcherInterface, UrlGeneratorInterface 25 | { 26 | /** 27 | * Gets the RouteCollection instance associated with this Router. 28 | * 29 | * WARNING: This method should never be used at runtime as it is SLOW. 30 | * You might use it in a cache warmer though. 31 | * 32 | * @return RouteCollection A RouteCollection instance 33 | */ 34 | public function getRouteCollection(); 35 | } 36 | -------------------------------------------------------------------------------- /vendor/ralouphie/getallheaders/README.md: -------------------------------------------------------------------------------- 1 | getallheaders 2 | ============= 3 | 4 | PHP `getallheaders()` polyfill. Compatible with PHP >= 5.3. 5 | 6 | [![Build Status](https://travis-ci.org/ralouphie/getallheaders.svg?branch=master)](https://travis-ci.org/ralouphie/getallheaders) 7 | [![Coverage Status](https://coveralls.io/repos/ralouphie/getallheaders/badge.png?branch=master)](https://coveralls.io/r/ralouphie/getallheaders?branch=master) 8 | [![Latest Stable Version](https://poser.pugx.org/ralouphie/getallheaders/v/stable.png)](https://packagist.org/packages/ralouphie/getallheaders) 9 | [![Latest Unstable Version](https://poser.pugx.org/ralouphie/getallheaders/v/unstable.png)](https://packagist.org/packages/ralouphie/getallheaders) 10 | [![License](https://poser.pugx.org/ralouphie/getallheaders/license.png)](https://packagist.org/packages/ralouphie/getallheaders) 11 | 12 | 13 | This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php). 14 | 15 | ## Install 16 | 17 | For PHP version **`>= 5.6`**: 18 | 19 | ``` 20 | composer require ralouphie/getallheaders 21 | ``` 22 | 23 | For PHP version **`< 5.6`**: 24 | 25 | ``` 26 | composer require ralouphie/getallheaders "^2" 27 | ``` 28 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/examples/benchmark-remove-listener-once.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | ini_set('memory_limit', '512M'); 13 | 14 | const ITERATIONS = 100000; 15 | 16 | use Evenement\EventEmitter; 17 | 18 | require __DIR__.'/../vendor/autoload.php'; 19 | 20 | $emitter = new EventEmitter(); 21 | 22 | $listeners = []; 23 | for ($i = 0; $i < ITERATIONS; $i++) { 24 | $listeners[] = function ($a, $b, $c) {}; 25 | } 26 | 27 | $start = microtime(true); 28 | foreach ($listeners as $listener) { 29 | $emitter->once('event', $listener); 30 | } 31 | $time = microtime(true) - $start; 32 | echo 'Adding ', number_format(ITERATIONS), ' once listeners took: ', number_format($time, 2), 's', PHP_EOL; 33 | 34 | $start = microtime(true); 35 | foreach ($listeners as $listener) { 36 | $emitter->removeListener('event', $listener); 37 | } 38 | $time = microtime(true) - $start; 39 | echo 'Removing ', number_format(ITERATIONS), ' once listeners took: ', number_format($time, 2), 's', PHP_EOL; 40 | -------------------------------------------------------------------------------- /vendor/psr/http-message/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file, in reverse chronological order by release. 4 | 5 | ## 1.0.1 - 2016-08-06 6 | 7 | ### Added 8 | 9 | - Nothing. 10 | 11 | ### Deprecated 12 | 13 | - Nothing. 14 | 15 | ### Removed 16 | 17 | - Nothing. 18 | 19 | ### Fixed 20 | 21 | - Updated all `@return self` annotation references in interfaces to use 22 | `@return static`, which more closelly follows the semantics of the 23 | specification. 24 | - Updated the `MessageInterface::getHeaders()` return annotation to use the 25 | value `string[][]`, indicating the format is a nested array of strings. 26 | - Updated the `@link` annotation for `RequestInterface::withRequestTarget()` 27 | to point to the correct section of RFC 7230. 28 | - Updated the `ServerRequestInterface::withUploadedFiles()` parameter annotation 29 | to add the parameter name (`$uploadedFiles`). 30 | - Updated a `@throws` annotation for the `UploadedFileInterface::moveTo()` 31 | method to correctly reference the method parameter (it was referencing an 32 | incorrect parameter name previously). 33 | 34 | ## 1.0.0 - 2016-05-18 35 | 36 | Initial stable release; reflects accepted PSR-7 specification. 37 | -------------------------------------------------------------------------------- /vendor/symfony/mime/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/mime", 3 | "type": "library", 4 | "description": "A library to manipulate MIME messages", 5 | "keywords": ["mime", "mime-type"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": "^7.2.5", 20 | "symfony/polyfill-intl-idn": "^1.10", 21 | "symfony/polyfill-mbstring": "^1.0" 22 | }, 23 | "require-dev": { 24 | "egulias/email-validator": "^2.1.10", 25 | "symfony/dependency-injection": "^4.4|^5.0" 26 | }, 27 | "conflict": { 28 | "symfony/mailer": "<4.4" 29 | }, 30 | "autoload": { 31 | "psr-4": { "Symfony\\Component\\Mime\\": "" }, 32 | "exclude-from-classmap": [ 33 | "/Tests/" 34 | ] 35 | }, 36 | "minimum-stability": "dev", 37 | "extra": { 38 | "branch-alias": { 39 | "dev-master": "5.0-dev" 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/react/dns/src/Query/Query.php: -------------------------------------------------------------------------------- 1 | name = $name; 39 | $this->type = $type; 40 | $this->class = $class; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/react/socket/src/FixedUriConnector.php: -------------------------------------------------------------------------------- 1 | connect('localhost:80'); 20 | * ``` 21 | */ 22 | class FixedUriConnector implements ConnectorInterface 23 | { 24 | private $uri; 25 | private $connector; 26 | 27 | /** 28 | * @param string $uri 29 | * @param ConnectorInterface $connector 30 | */ 31 | public function __construct($uri, ConnectorInterface $connector) 32 | { 33 | $this->uri = $uri; 34 | $this->connector = $connector; 35 | } 36 | 37 | public function connect($_) 38 | { 39 | return $this->connector->connect($this->uri); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Encoder/QpMimeHeaderEncoder.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Encoder; 13 | 14 | /** 15 | * @author Chris Corbyn 16 | */ 17 | final class QpMimeHeaderEncoder extends QpEncoder implements MimeHeaderEncoderInterface 18 | { 19 | protected function initSafeMap(): void 20 | { 21 | foreach (array_merge( 22 | range(0x61, 0x7A), range(0x41, 0x5A), 23 | range(0x30, 0x39), [0x20, 0x21, 0x2A, 0x2B, 0x2D, 0x2F] 24 | ) as $byte) { 25 | $this->safeMap[$byte] = \chr($byte); 26 | } 27 | } 28 | 29 | public function getName(): string 30 | { 31 | return 'Q'; 32 | } 33 | 34 | public function encodeString(string $string, ?string $charset = 'utf-8', int $firstLineOffset = 0, int $maxLineLength = 0): string 35 | { 36 | return str_replace([' ', '=20', "=\r\n"], ['_', '_', "\r\n"], 37 | parent::encodeString($string, $charset, $firstLineOffset, $maxLineLength) 38 | ); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Exception/MethodNotAllowedException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Exception; 13 | 14 | /** 15 | * The resource was found but the request method is not allowed. 16 | * 17 | * This exception should trigger an HTTP 405 response in your application code. 18 | * 19 | * @author Kris Wallsmith 20 | */ 21 | class MethodNotAllowedException extends \RuntimeException implements ExceptionInterface 22 | { 23 | protected $allowedMethods = []; 24 | 25 | public function __construct(array $allowedMethods, string $message = null, int $code = 0, \Throwable $previous = null) 26 | { 27 | $this->allowedMethods = array_map('strtoupper', $allowedMethods); 28 | 29 | parent::__construct($message, $code, $previous); 30 | } 31 | 32 | /** 33 | * Gets the allowed HTTP methods. 34 | * 35 | * @return array 36 | */ 37 | public function getAllowedMethods() 38 | { 39 | return $this->allowedMethods; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/guzzlehttp/psr7/src/DroppingStream.php: -------------------------------------------------------------------------------- 1 | stream = $stream; 23 | $this->maxLength = $maxLength; 24 | } 25 | 26 | public function write($string) 27 | { 28 | $diff = $this->maxLength - $this->stream->getSize(); 29 | 30 | // Begin returning 0 when the underlying stream is too large. 31 | if ($diff <= 0) { 32 | return 0; 33 | } 34 | 35 | // Write the stream or a subset of the stream if needed. 36 | if (strlen($string) < $diff) { 37 | return $this->stream->write($string); 38 | } 39 | 40 | return $this->stream->write(substr($string, 0, $diff)); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Loader/GlobFileLoader.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Loader; 13 | 14 | use Symfony\Component\Config\Loader\FileLoader; 15 | use Symfony\Component\Routing\RouteCollection; 16 | 17 | /** 18 | * GlobFileLoader loads files from a glob pattern. 19 | * 20 | * @author Nicolas Grekas 21 | */ 22 | class GlobFileLoader extends FileLoader 23 | { 24 | /** 25 | * {@inheritdoc} 26 | */ 27 | public function load($resource, string $type = null) 28 | { 29 | $collection = new RouteCollection(); 30 | 31 | foreach ($this->glob($resource, false, $globResource) as $path => $info) { 32 | $collection->addCollection($this->import($path)); 33 | } 34 | 35 | $collection->addResource($globResource); 36 | 37 | return $collection; 38 | } 39 | 40 | /** 41 | * {@inheritdoc} 42 | */ 43 | public function supports($resource, string $type = null) 44 | { 45 | return 'glob' === $type; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/WebSocket/WsConnection.php: -------------------------------------------------------------------------------- 1 | WebSocket->closing) { 17 | if (!($msg instanceof DataInterface)) { 18 | $msg = new Frame($msg); 19 | } 20 | 21 | $this->getConnection()->send($msg->getContents()); 22 | } 23 | 24 | return $this; 25 | } 26 | 27 | /** 28 | * @param int|\Ratchet\RFC6455\Messaging\DataInterface 29 | */ 30 | public function close($code = 1000) { 31 | if ($this->WebSocket->closing) { 32 | return; 33 | } 34 | 35 | if ($code instanceof DataInterface) { 36 | $this->send($code); 37 | } else { 38 | $this->send(new Frame(pack('n', $code), true, Frame::OP_CLOSE)); 39 | } 40 | 41 | $this->getConnection()->close(); 42 | 43 | $this->WebSocket->closing = true; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Loader/ClosureLoader.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Loader; 13 | 14 | use Symfony\Component\Config\Loader\Loader; 15 | use Symfony\Component\Routing\RouteCollection; 16 | 17 | /** 18 | * ClosureLoader loads routes from a PHP closure. 19 | * 20 | * The Closure must return a RouteCollection instance. 21 | * 22 | * @author Fabien Potencier 23 | */ 24 | class ClosureLoader extends Loader 25 | { 26 | /** 27 | * Loads a Closure. 28 | * 29 | * @param \Closure $closure A Closure 30 | * @param string|null $type The resource type 31 | * 32 | * @return RouteCollection A RouteCollection instance 33 | */ 34 | public function load($closure, string $type = null) 35 | { 36 | return $closure(); 37 | } 38 | 39 | /** 40 | * {@inheritdoc} 41 | */ 42 | public function supports($resource, string $type = null) 43 | { 44 | return $resource instanceof \Closure && (!$type || 'closure' === $type); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /vendor/react/stream/examples/02-https.php: -------------------------------------------------------------------------------- 1 | on('data', function ($chunk) { 32 | echo $chunk; 33 | }); 34 | $stream->on('close', function () { 35 | echo '[CLOSED]' . PHP_EOL; 36 | }); 37 | 38 | $stream->write("GET / HTTP/1.0\r\nHost: $host\r\n\r\n"); 39 | 40 | $loop->run(); 41 | -------------------------------------------------------------------------------- /vendor/react/stream/examples/01-http.php: -------------------------------------------------------------------------------- 1 | on('data', function ($chunk) { 32 | echo $chunk; 33 | }); 34 | $stream->on('close', function () { 35 | echo '[CLOSED]' . PHP_EOL; 36 | }); 37 | 38 | $stream->write("GET / HTTP/1.0\r\nHost: $host\r\n\r\n"); 39 | 40 | $loop->run(); 41 | -------------------------------------------------------------------------------- /vendor/react/dns/examples/03-cached.php: -------------------------------------------------------------------------------- 1 | nameservers ? reset($config->nameservers) : '8.8.8.8'; 12 | 13 | $factory = new Factory(); 14 | $resolver = $factory->createCached($server, $loop); 15 | 16 | $name = isset($argv[1]) ? $argv[1] : 'www.google.com'; 17 | 18 | $resolver->resolve($name)->then(function ($ip) use ($name) { 19 | echo 'IP for ' . $name . ': ' . $ip . PHP_EOL; 20 | }, 'printf'); 21 | 22 | $loop->addTimer(1.0, function() use ($name, $resolver) { 23 | $resolver->resolve($name)->then(function ($ip) use ($name) { 24 | echo 'IP for ' . $name . ': ' . $ip . PHP_EOL; 25 | }, 'printf'); 26 | }); 27 | 28 | $loop->addTimer(2.0, function() use ($name, $resolver) { 29 | $resolver->resolve($name)->then(function ($ip) use ($name) { 30 | echo 'IP for ' . $name . ': ' . $ip . PHP_EOL; 31 | }, 'printf'); 32 | }); 33 | 34 | $loop->addTimer(3.0, function() use ($name, $resolver) { 35 | $resolver->resolve($name)->then(function ($ip) use ($name) { 36 | echo 'IP for ' . $name . ': ' . $ip . PHP_EOL; 37 | }, 'printf'); 38 | }); 39 | 40 | $loop->run(); 41 | -------------------------------------------------------------------------------- /vendor/react/socket/src/UnixConnector.php: -------------------------------------------------------------------------------- 1 | loop = $loop; 23 | } 24 | 25 | public function connect($path) 26 | { 27 | if (\strpos($path, '://') === false) { 28 | $path = 'unix://' . $path; 29 | } elseif (\substr($path, 0, 7) !== 'unix://') { 30 | return Promise\reject(new \InvalidArgumentException('Given URI "' . $path . '" is invalid')); 31 | } 32 | 33 | $resource = @\stream_socket_client($path, $errno, $errstr, 1.0); 34 | 35 | if (!$resource) { 36 | return Promise\reject(new \RuntimeException('Unable to connect to unix domain socket "' . $path . '": ' . $errstr, $errno)); 37 | } 38 | 39 | $connection = new Connection($resource, $this->loop); 40 | $connection->unix = true; 41 | 42 | return Promise\resolve($connection); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/Session/Storage/Proxy/VirtualProxy.php: -------------------------------------------------------------------------------- 1 | saveHandlerName = 'user'; 23 | $this->_sessionName = ini_get('session.name'); 24 | } 25 | 26 | /** 27 | * {@inheritdoc} 28 | */ 29 | public function getId() { 30 | return $this->_sessionId; 31 | } 32 | 33 | /** 34 | * {@inheritdoc} 35 | */ 36 | public function setId($id) { 37 | $this->_sessionId = $id; 38 | } 39 | 40 | /** 41 | * {@inheritdoc} 42 | */ 43 | public function getName() { 44 | return $this->_sessionName; 45 | } 46 | 47 | /** 48 | * DO NOT CALL THIS METHOD 49 | * @internal 50 | */ 51 | public function setName($name) { 52 | throw new \RuntimeException("Can not change session name in VirtualProxy"); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /vendor/react/promise/src/CancellationQueue.php: -------------------------------------------------------------------------------- 1 | started) { 13 | return; 14 | } 15 | 16 | $this->started = true; 17 | $this->drain(); 18 | } 19 | 20 | public function enqueue($cancellable) 21 | { 22 | if (!\method_exists($cancellable, 'then') || !\method_exists($cancellable, 'cancel')) { 23 | return; 24 | } 25 | 26 | $length = \array_push($this->queue, $cancellable); 27 | 28 | if ($this->started && 1 === $length) { 29 | $this->drain(); 30 | } 31 | } 32 | 33 | private function drain() 34 | { 35 | for ($i = key($this->queue); isset($this->queue[$i]); $i++) { 36 | $cancellable = $this->queue[$i]; 37 | 38 | $exception = null; 39 | 40 | try { 41 | $cancellable->cancel(); 42 | } catch (\Throwable $exception) { 43 | } catch (\Exception $exception) { 44 | } 45 | 46 | unset($this->queue[$i]); 47 | 48 | if ($exception) { 49 | throw $exception; 50 | } 51 | } 52 | 53 | $this->queue = []; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/src/Ratchet/ComponentInterface.php: -------------------------------------------------------------------------------- 1 | _handler = new PhpHandler; 13 | } 14 | 15 | public function serializedProvider() { 16 | return array( 17 | array( 18 | '_sf2_attributes|a:2:{s:5:"hello";s:5:"world";s:4:"last";i:1332872102;}_sf2_flashes|a:0:{}' 19 | , array( 20 | '_sf2_attributes' => array( 21 | 'hello' => 'world' 22 | , 'last' => 1332872102 23 | ) 24 | , '_sf2_flashes' => array() 25 | ) 26 | ) 27 | ); 28 | } 29 | 30 | /** 31 | * @dataProvider serializedProvider 32 | */ 33 | public function testUnserialize($in, $expected) { 34 | $this->assertEquals($expected, $this->_handler->unserialize($in)); 35 | } 36 | 37 | /** 38 | * @dataProvider serializedProvider 39 | */ 40 | public function testSerialize($serialized, $original) { 41 | $this->assertEquals($serialized, $this->_handler->serialize($original)); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /vendor/cboden/ratchet/tests/autobahn/bin/fuzzingserver.php: -------------------------------------------------------------------------------- 1 | send($msg); 9 | } 10 | 11 | public function onOpen(ConnectionInterface $conn) { 12 | } 13 | 14 | public function onClose(ConnectionInterface $conn) { 15 | } 16 | 17 | public function onError(ConnectionInterface $conn, \Exception $e) { 18 | } 19 | } 20 | 21 | $port = $argc > 1 ? $argv[1] : 8000; 22 | $impl = sprintf('React\EventLoop\%sLoop', $argc > 2 ? $argv[2] : 'StreamSelect'); 23 | 24 | $loop = new $impl; 25 | $sock = new React\Socket\Server('0.0.0.0:' . $port, $loop); 26 | 27 | $wsServer = new Ratchet\WebSocket\WsServer(new BinaryEcho); 28 | // This is enabled to test https://github.com/ratchetphp/Ratchet/issues/430 29 | // The time is left at 10 minutes so that it will not try to every ping anything 30 | // This causes the Ratchet server to crash on test 2.7 31 | $wsServer->enableKeepAlive($loop, 600); 32 | 33 | $app = new Ratchet\Http\HttpServer($wsServer); 34 | 35 | $server = new Ratchet\Server\IoServer($app, $sock, $loop); 36 | $server->run(); 37 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Test/Constraint/ResponseHasHeader.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Test\Constraint; 13 | 14 | use PHPUnit\Framework\Constraint\Constraint; 15 | use Symfony\Component\HttpFoundation\Response; 16 | 17 | final class ResponseHasHeader extends Constraint 18 | { 19 | private $headerName; 20 | 21 | public function __construct(string $headerName) 22 | { 23 | $this->headerName = $headerName; 24 | } 25 | 26 | /** 27 | * {@inheritdoc} 28 | */ 29 | public function toString(): string 30 | { 31 | return sprintf('has header "%s"', $this->headerName); 32 | } 33 | 34 | /** 35 | * @param Response $response 36 | * 37 | * {@inheritdoc} 38 | */ 39 | protected function matches($response): bool 40 | { 41 | return $response->headers->has($this->headerName); 42 | } 43 | 44 | /** 45 | * @param Response $response 46 | * 47 | * {@inheritdoc} 48 | */ 49 | protected function failureDescription($response): string 50 | { 51 | return 'the Response '.$this->toString(); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /vendor/evenement/evenement/doc/00-intro.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | 3 | Événement is is French and means "event". The événement library aims to 4 | provide a simple way of subscribing to events and notifying those subscribers 5 | whenever an event occurs. 6 | 7 | The API that it exposes is almost a direct port of the EventEmitter API found 8 | in node.js. It also includes an "EventEmitter". There are some minor 9 | differences however. 10 | 11 | The EventEmitter is an implementation of the publish-subscribe pattern, which 12 | is a generalized version of the observer pattern. The observer pattern 13 | specifies an observable subject, which observers can register themselves to. 14 | Once something interesting happens, the subject notifies its observers. 15 | 16 | Pub/sub takes the same idea but encapsulates the observation logic inside a 17 | separate object which manages all of its subscribers or listeners. Subscribers 18 | are bound to an event name, and will only receive notifications of the events 19 | they subscribed to. 20 | 21 | **TLDR: What does evenement do, in short? It provides a mapping from event 22 | names to a list of listener functions and triggers each listener for a given 23 | event when it is emitted.** 24 | 25 | Why do we do this, you ask? To achieve decoupling. 26 | 27 | It allows you to design a system where the core will emit events, and modules 28 | are able to subscribe to these events. And respond to them. 29 | -------------------------------------------------------------------------------- /vendor/react/cache/tests/TestCase.php: -------------------------------------------------------------------------------- 1 | createCallableMock(); 12 | $mock 13 | ->expects($this->exactly($amount)) 14 | ->method('__invoke'); 15 | 16 | return $mock; 17 | } 18 | 19 | protected function expectCallableOnce() 20 | { 21 | $mock = $this->createCallableMock(); 22 | $mock 23 | ->expects($this->once()) 24 | ->method('__invoke'); 25 | 26 | return $mock; 27 | } 28 | 29 | protected function expectCallableOnceWith($param) 30 | { 31 | $mock = $this->createCallableMock(); 32 | $mock 33 | ->expects($this->once()) 34 | ->method('__invoke') 35 | ->with($param); 36 | 37 | return $mock; 38 | } 39 | 40 | protected function expectCallableNever() 41 | { 42 | $mock = $this->createCallableMock(); 43 | $mock 44 | ->expects($this->never()) 45 | ->method('__invoke'); 46 | 47 | return $mock; 48 | } 49 | 50 | protected function createCallableMock() 51 | { 52 | return $this->getMockBuilder('React\Tests\Cache\CallableStub')->getMock(); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /vendor/react/stream/tests/TestCase.php: -------------------------------------------------------------------------------- 1 | createCallableMock(); 12 | $mock 13 | ->expects($this->exactly($amount)) 14 | ->method('__invoke'); 15 | 16 | return $mock; 17 | } 18 | 19 | protected function expectCallableOnce() 20 | { 21 | $mock = $this->createCallableMock(); 22 | $mock 23 | ->expects($this->once()) 24 | ->method('__invoke'); 25 | 26 | return $mock; 27 | } 28 | 29 | protected function expectCallableOnceWith($value) 30 | { 31 | $callback = $this->createCallableMock(); 32 | $callback 33 | ->expects($this->once()) 34 | ->method('__invoke') 35 | ->with($value); 36 | 37 | return $callback; 38 | } 39 | 40 | protected function expectCallableNever() 41 | { 42 | $mock = $this->createCallableMock(); 43 | $mock 44 | ->expects($this->never()) 45 | ->method('__invoke'); 46 | 47 | return $mock; 48 | } 49 | 50 | protected function createCallableMock() 51 | { 52 | return $this->getMockBuilder('React\Tests\Stream\CallableStub')->getMock(); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /vendor/react/stream/tests/Stub/ReadableStreamStub.php: -------------------------------------------------------------------------------- 1 | emit('data', array($data)); 24 | } 25 | 26 | // trigger error event 27 | public function error($error) 28 | { 29 | $this->emit('error', array($error)); 30 | } 31 | 32 | // trigger end event 33 | public function end() 34 | { 35 | $this->emit('end', array()); 36 | } 37 | 38 | public function pause() 39 | { 40 | $this->paused = true; 41 | } 42 | 43 | public function resume() 44 | { 45 | $this->paused = false; 46 | } 47 | 48 | public function close() 49 | { 50 | $this->readable = false; 51 | 52 | $this->emit('close'); 53 | } 54 | 55 | public function pipe(WritableStreamInterface $dest, array $options = array()) 56 | { 57 | Util::pipe($this, $dest, $options); 58 | 59 | return $dest; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Test/Constraint/ResponseIsRedirected.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Test\Constraint; 13 | 14 | use PHPUnit\Framework\Constraint\Constraint; 15 | use Symfony\Component\HttpFoundation\Response; 16 | 17 | final class ResponseIsRedirected extends Constraint 18 | { 19 | /** 20 | * {@inheritdoc} 21 | */ 22 | public function toString(): string 23 | { 24 | return 'is redirected'; 25 | } 26 | 27 | /** 28 | * @param Response $response 29 | * 30 | * {@inheritdoc} 31 | */ 32 | protected function matches($response): bool 33 | { 34 | return $response->isRedirect(); 35 | } 36 | 37 | /** 38 | * @param Response $response 39 | * 40 | * {@inheritdoc} 41 | */ 42 | protected function failureDescription($response): string 43 | { 44 | return 'the Response '.$this->toString(); 45 | } 46 | 47 | /** 48 | * @param Response $response 49 | * 50 | * {@inheritdoc} 51 | */ 52 | protected function additionalFailureDescription($response): string 53 | { 54 | return (string) $response; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /vendor/symfony/http-foundation/Test/Constraint/ResponseIsSuccessful.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\HttpFoundation\Test\Constraint; 13 | 14 | use PHPUnit\Framework\Constraint\Constraint; 15 | use Symfony\Component\HttpFoundation\Response; 16 | 17 | final class ResponseIsSuccessful extends Constraint 18 | { 19 | /** 20 | * {@inheritdoc} 21 | */ 22 | public function toString(): string 23 | { 24 | return 'is successful'; 25 | } 26 | 27 | /** 28 | * @param Response $response 29 | * 30 | * {@inheritdoc} 31 | */ 32 | protected function matches($response): bool 33 | { 34 | return $response->isSuccessful(); 35 | } 36 | 37 | /** 38 | * @param Response $response 39 | * 40 | * {@inheritdoc} 41 | */ 42 | protected function failureDescription($response): string 43 | { 44 | return 'the Response '.$this->toString(); 45 | } 46 | 47 | /** 48 | * @param Response $response 49 | * 50 | * {@inheritdoc} 51 | */ 52 | protected function additionalFailureDescription($response): string 53 | { 54 | return (string) $response; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /vendor/symfony/mime/Encoder/Base64Encoder.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Mime\Encoder; 13 | 14 | /** 15 | * @author Chris Corbyn 16 | */ 17 | class Base64Encoder implements EncoderInterface 18 | { 19 | /** 20 | * Takes an unencoded string and produces a Base64 encoded string from it. 21 | * 22 | * Base64 encoded strings have a maximum line length of 76 characters. 23 | * If the first line needs to be shorter, indicate the difference with 24 | * $firstLineOffset. 25 | */ 26 | public function encodeString(string $string, ?string $charset = 'utf-8', int $firstLineOffset = 0, int $maxLineLength = 0): string 27 | { 28 | if (0 >= $maxLineLength || 76 < $maxLineLength) { 29 | $maxLineLength = 76; 30 | } 31 | 32 | $encodedString = base64_encode($string); 33 | $firstLine = ''; 34 | if (0 !== $firstLineOffset) { 35 | $firstLine = substr($encodedString, 0, $maxLineLength - $firstLineOffset)."\r\n"; 36 | $encodedString = substr($encodedString, $maxLineLength - $firstLineOffset); 37 | } 38 | 39 | return $firstLine.trim(chunk_split($encodedString, $maxLineLength, "\r\n")); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/symfony/routing/Matcher/RequestMatcherInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Routing\Matcher; 13 | 14 | use Symfony\Component\HttpFoundation\Request; 15 | use Symfony\Component\Routing\Exception\MethodNotAllowedException; 16 | use Symfony\Component\Routing\Exception\NoConfigurationException; 17 | use Symfony\Component\Routing\Exception\ResourceNotFoundException; 18 | 19 | /** 20 | * RequestMatcherInterface is the interface that all request matcher classes must implement. 21 | * 22 | * @author Fabien Potencier 23 | */ 24 | interface RequestMatcherInterface 25 | { 26 | /** 27 | * Tries to match a request with a set of routes. 28 | * 29 | * If the matcher can not find information, it must throw one of the exceptions documented 30 | * below. 31 | * 32 | * @return array An array of parameters 33 | * 34 | * @throws NoConfigurationException If no routing configuration could be found 35 | * @throws ResourceNotFoundException If no matching resource could be found 36 | * @throws MethodNotAllowedException If a matching resource was found but the request method is not allowed 37 | */ 38 | public function matchRequest(Request $request); 39 | } 40 | --------------------------------------------------------------------------------