├── pages ├── plugins.php └── index.php ├── conf ├── .htaccess ├── collaborate-logrotate-dummy.conf ├── collaborate-supervisor-dummy.conf └── collaborate-dummy.service ├── .gitignore ├── plugins ├── yform │ ├── lang │ │ ├── de_de.lang │ │ └── en_gb.lang │ └── package.yml ├── structure │ ├── lang │ │ ├── de_de.lang │ │ └── en_gb.lang │ └── package.yml └── viewcounter │ ├── lang │ ├── en_gb.lang │ └── de_de.lang │ └── package.yml ├── lib └── ratchet │ ├── vendor │ ├── symfony │ │ ├── console │ │ │ ├── Event │ │ │ │ ├── ConsoleEvent.php │ │ │ │ └── ConsoleSignalEvent.php │ │ │ ├── Resources │ │ │ │ └── bin │ │ │ │ │ └── hiddeninput.exe │ │ │ ├── Exception │ │ │ │ ├── LogicException.php │ │ │ │ ├── RuntimeException.php │ │ │ │ ├── ExceptionInterface.php │ │ │ │ ├── InvalidArgumentException.php │ │ │ │ ├── NamespaceNotFoundException.php │ │ │ │ ├── MissingInputException.php │ │ │ │ └── InvalidOptionException.php │ │ │ ├── Helper │ │ │ │ ├── TableSeparator.php │ │ │ │ ├── TableRows.php │ │ │ │ ├── InputAwareHelper.php │ │ │ │ └── HelperInterface.php │ │ │ ├── Descriptor │ │ │ │ └── DescriptorInterface.php │ │ │ ├── Input │ │ │ │ ├── InputAwareInterface.php │ │ │ │ └── StreamableInputInterface.php │ │ │ ├── Formatter │ │ │ │ └── WrappableOutputFormatterInterface.php │ │ │ ├── Command │ │ │ │ └── SignalableCommandInterface.php │ │ │ ├── Completion │ │ │ │ ├── Output │ │ │ │ │ ├── CompletionOutputInterface.php │ │ │ │ │ └── BashCompletionOutput.php │ │ │ │ └── Suggestion.php │ │ │ ├── Output │ │ │ │ ├── ConsoleOutputInterface.php │ │ │ │ └── BufferedOutput.php │ │ │ ├── Attribute │ │ │ │ └── AsCommand.php │ │ │ ├── CommandLoader │ │ │ │ └── CommandLoaderInterface.php │ │ │ └── LICENSE │ │ ├── service-contracts │ │ │ ├── .gitignore │ │ │ ├── CHANGELOG.md │ │ │ ├── README.md │ │ │ ├── Attribute │ │ │ │ ├── Required.php │ │ │ │ └── SubscribedService.php │ │ │ ├── LICENSE │ │ │ └── ResetInterface.php │ │ ├── deprecation-contracts │ │ │ ├── .gitignore │ │ │ ├── CHANGELOG.md │ │ │ ├── composer.json │ │ │ ├── function.php │ │ │ └── LICENSE │ │ ├── polyfill-php80 │ │ │ ├── Resources │ │ │ │ └── stubs │ │ │ │ │ ├── ValueError.php │ │ │ │ │ ├── UnhandledMatchError.php │ │ │ │ │ ├── Stringable.php │ │ │ │ │ └── Attribute.php │ │ │ ├── README.md │ │ │ └── LICENSE │ │ ├── polyfill-ctype │ │ │ ├── README.md │ │ │ ├── LICENSE │ │ │ └── composer.json │ │ ├── polyfill-php73 │ │ │ ├── Resources │ │ │ │ └── stubs │ │ │ │ │ └── JsonException.php │ │ │ ├── README.md │ │ │ ├── Php73.php │ │ │ ├── LICENSE │ │ │ ├── bootstrap.php │ │ │ └── composer.json │ │ ├── string │ │ │ ├── Exception │ │ │ │ ├── ExceptionInterface.php │ │ │ │ ├── RuntimeException.php │ │ │ │ └── InvalidArgumentException.php │ │ │ ├── README.md │ │ │ ├── Slugger │ │ │ │ └── SluggerInterface.php │ │ │ ├── CHANGELOG.md │ │ │ ├── Inflector │ │ │ │ └── InflectorInterface.php │ │ │ ├── Resources │ │ │ │ └── functions.php │ │ │ └── LICENSE │ │ ├── polyfill-mbstring │ │ │ ├── README.md │ │ │ └── LICENSE │ │ ├── routing │ │ │ ├── Exception │ │ │ │ ├── RuntimeException.php │ │ │ │ ├── InvalidArgumentException.php │ │ │ │ ├── ExceptionInterface.php │ │ │ │ ├── NoConfigurationException.php │ │ │ │ ├── RouteNotFoundException.php │ │ │ │ ├── InvalidParameterException.php │ │ │ │ ├── ResourceNotFoundException.php │ │ │ │ ├── RouteCircularReferenceException.php │ │ │ │ └── MissingMandatoryParametersException.php │ │ │ ├── RequestContextAwareInterface.php │ │ │ ├── RouteCompilerInterface.php │ │ │ ├── Matcher │ │ │ │ ├── Dumper │ │ │ │ │ ├── MatcherDumper.php │ │ │ │ │ └── MatcherDumperInterface.php │ │ │ │ ├── CompiledUrlMatcher.php │ │ │ │ └── RedirectableUrlMatcherInterface.php │ │ │ ├── Generator │ │ │ │ └── Dumper │ │ │ │ │ ├── GeneratorDumper.php │ │ │ │ │ └── GeneratorDumperInterface.php │ │ │ ├── LICENSE │ │ │ ├── RouterInterface.php │ │ │ └── Loader │ │ │ │ └── ContainerLoader.php │ │ ├── yaml │ │ │ ├── README.md │ │ │ ├── Exception │ │ │ │ ├── DumpException.php │ │ │ │ ├── ExceptionInterface.php │ │ │ │ └── RuntimeException.php │ │ │ ├── Tag │ │ │ │ └── TaggedValue.php │ │ │ ├── LICENSE │ │ │ └── composer.json │ │ ├── polyfill-intl-normalizer │ │ │ ├── README.md │ │ │ ├── Resources │ │ │ │ └── stubs │ │ │ │ │ └── Normalizer.php │ │ │ ├── bootstrap80.php │ │ │ ├── bootstrap.php │ │ │ └── LICENSE │ │ ├── http-foundation │ │ │ ├── Session │ │ │ │ ├── SessionFactoryInterface.php │ │ │ │ ├── Storage │ │ │ │ │ ├── SessionStorageFactoryInterface.php │ │ │ │ │ ├── ServiceSessionFactory.php │ │ │ │ │ └── Handler │ │ │ │ │ │ └── IdentityMarshaller.php │ │ │ │ └── SessionBagInterface.php │ │ │ ├── Exception │ │ │ │ ├── BadRequestException.php │ │ │ │ ├── RequestExceptionInterface.php │ │ │ │ ├── JsonException.php │ │ │ │ ├── ConflictingHeadersException.php │ │ │ │ ├── SuspiciousOperationException.php │ │ │ │ └── SessionNotFoundException.php │ │ │ ├── File │ │ │ │ ├── Exception │ │ │ │ │ ├── FileException.php │ │ │ │ │ ├── UploadException.php │ │ │ │ │ ├── NoFileException.php │ │ │ │ │ ├── FormSizeFileException.php │ │ │ │ │ ├── IniSizeFileException.php │ │ │ │ │ ├── PartialFileException.php │ │ │ │ │ ├── ExtensionFileException.php │ │ │ │ │ ├── NoTmpDirFileException.php │ │ │ │ │ ├── CannotWriteFileException.php │ │ │ │ │ ├── UnexpectedTypeException.php │ │ │ │ │ ├── FileNotFoundException.php │ │ │ │ │ └── AccessDeniedException.php │ │ │ │ └── Stream.php │ │ │ ├── RequestMatcherInterface.php │ │ │ ├── RateLimiter │ │ │ │ └── RequestRateLimiterInterface.php │ │ │ ├── README.md │ │ │ └── LICENSE │ │ └── polyfill-intl-grapheme │ │ │ ├── LICENSE │ │ │ └── composer.json │ ├── 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 │ ├── psr │ │ ├── http-factory │ │ │ ├── .gitignore │ │ │ ├── .pullapprove.yml │ │ │ ├── src │ │ │ │ ├── UriFactoryInterface.php │ │ │ │ ├── RequestFactoryInterface.php │ │ │ │ ├── ResponseFactoryInterface.php │ │ │ │ └── ServerRequestFactoryInterface.php │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ └── LICENSE │ │ ├── container │ │ │ ├── .gitignore │ │ │ ├── src │ │ │ │ ├── NotFoundExceptionInterface.php │ │ │ │ ├── ContainerExceptionInterface.php │ │ │ │ └── ContainerInterface.php │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ └── LICENSE │ │ └── http-message │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ ├── LICENSE │ │ │ └── CHANGELOG.md │ ├── cboden │ │ └── ratchet │ │ │ ├── .gitignore │ │ │ ├── src │ │ │ └── Ratchet │ │ │ │ ├── Wamp │ │ │ │ ├── Exception.php │ │ │ │ └── JsonException.php │ │ │ │ ├── MessageComponentInterface.php │ │ │ │ ├── WebSocket │ │ │ │ ├── MessageComponentInterface.php │ │ │ │ ├── MessageCallableInterface.php │ │ │ │ ├── WsServerInterface.php │ │ │ │ └── ConnContext.php │ │ │ │ ├── Session │ │ │ │ └── Serialize │ │ │ │ │ ├── HandlerInterface.php │ │ │ │ │ └── PhpBinaryHandler.php │ │ │ │ ├── MessageInterface.php │ │ │ │ ├── Http │ │ │ │ ├── NoOpHttpServerController.php │ │ │ │ ├── HttpServerInterface.php │ │ │ │ └── CloseResponseTrait.php │ │ │ │ ├── ConnectionInterface.php │ │ │ │ ├── Server │ │ │ │ ├── EchoServer.php │ │ │ │ └── IoConnection.php │ │ │ │ └── AbstractConnectionDecorator.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 │ │ │ └── unit │ │ │ │ └── Server │ │ │ │ ├── EchoServerTest.php │ │ │ │ └── IoConnectionTest.php │ │ │ ├── SECURITY.md │ │ │ ├── phpunit.xml.dist │ │ │ └── LICENSE │ ├── ratchet │ │ └── rfc6455 │ │ │ ├── .gitignore │ │ │ ├── src │ │ │ ├── Handshake │ │ │ │ └── InvalidPermessageDeflateOptionsException.php │ │ │ └── Messaging │ │ │ │ ├── MessageInterface.php │ │ │ │ ├── CloseFrameChecker.php │ │ │ │ ├── FrameInterface.php │ │ │ │ └── DataInterface.php │ │ │ ├── tests │ │ │ ├── ab │ │ │ │ ├── docker_bootstrap.sh │ │ │ │ ├── fuzzingserver.json │ │ │ │ ├── fuzzingserver_skip_deflate.json │ │ │ │ ├── fuzzingclient.json │ │ │ │ └── fuzzingclient_skip_deflate.json │ │ │ ├── bootstrap.php │ │ │ ├── unit │ │ │ │ └── Handshake │ │ │ │ │ ├── PermessageDeflateOptionsTest.php │ │ │ │ │ └── ResponseVerifierTest.php │ │ │ └── AbResultsTest.php │ │ │ ├── phpunit.xml.dist │ │ │ ├── README.md │ │ │ ├── LICENSE │ │ │ └── .github │ │ │ └── workflows │ │ │ └── ci.yml │ ├── react │ │ ├── dns │ │ │ ├── src │ │ │ │ ├── BadServerException.php │ │ │ │ ├── Query │ │ │ │ │ ├── TimeoutException.php │ │ │ │ │ ├── CancellationException.php │ │ │ │ │ └── TimeoutExecutor.php │ │ │ │ └── RecordNotFoundException.php │ │ │ └── LICENSE │ │ ├── promise │ │ │ ├── src │ │ │ │ ├── functions_include.php │ │ │ │ ├── Exception │ │ │ │ │ └── LengthException.php │ │ │ │ ├── PromisorInterface.php │ │ │ │ ├── CancellablePromiseInterface.php │ │ │ │ └── UnhandledRejectionException.php │ │ │ └── LICENSE │ │ ├── promise-timer │ │ │ ├── src │ │ │ │ ├── functions_include.php │ │ │ │ └── TimeoutException.php │ │ │ └── LICENSE │ │ ├── event-loop │ │ │ ├── src │ │ │ │ └── TimerInterface.php │ │ │ └── LICENSE │ │ ├── cache │ │ │ └── LICENSE │ │ ├── socket │ │ │ └── LICENSE │ │ └── stream │ │ │ └── LICENSE │ ├── autoload.php │ ├── guzzlehttp │ │ └── psr7 │ │ │ ├── vendor-bin │ │ │ ├── psalm │ │ │ │ └── composer.json │ │ │ ├── php-cs-fixer │ │ │ │ └── composer.json │ │ │ └── phpstan │ │ │ │ └── composer.json │ │ │ └── src │ │ │ ├── Exception │ │ │ └── MalformedUriException.php │ │ │ ├── NoSeekStream.php │ │ │ ├── Rfc7230.php │ │ │ └── LazyOpenStream.php │ ├── composer │ │ ├── autoload_namespaces.php │ │ ├── autoload_classmap.php │ │ ├── platform_check.php │ │ └── LICENSE │ └── ralouphie │ │ └── getallheaders │ │ ├── composer.json │ │ ├── LICENSE │ │ └── README.md │ ├── composer.phar │ └── composer.json ├── assets ├── collaborate.png └── js │ ├── collaborate.frontend.js │ └── collaborate.backend.js ├── package.yml ├── .github └── workflows │ └── publish-to-redaxo.yml └── LICENSE /pages/plugins.php: -------------------------------------------------------------------------------- 1 | hier -------------------------------------------------------------------------------- /conf/.htaccess: -------------------------------------------------------------------------------- 1 | Deny From All -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/* 2 | .DS_Store -------------------------------------------------------------------------------- /plugins/yform/lang/de_de.lang: -------------------------------------------------------------------------------- 1 | # yform -------------------------------------------------------------------------------- /plugins/yform/lang/en_gb.lang: -------------------------------------------------------------------------------- 1 | # yform 2 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Event/ConsoleEvent.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/evenement/evenement/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | vendor 3 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/psr/http-factory/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | vendor/ 3 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/psr/container/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | composer.phar 3 | /vendor/ 4 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/service-contracts/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | phpunit.xml 4 | -------------------------------------------------------------------------------- /assets/collaborate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfREDAXO/collaborate/main/assets/collaborate.png -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/.gitignore: -------------------------------------------------------------------------------- 1 | phpunit.xml 2 | reports 3 | sandbox 4 | vendor 5 | composer.lock -------------------------------------------------------------------------------- /lib/ratchet/vendor/ratchet/rfc6455/.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | vendor 3 | tests/ab/reports 4 | reports 5 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/deprecation-contracts/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | phpunit.xml 4 | -------------------------------------------------------------------------------- /lib/ratchet/composer.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfREDAXO/collaborate/main/lib/ratchet/composer.phar -------------------------------------------------------------------------------- /plugins/structure/lang/de_de.lang: -------------------------------------------------------------------------------- 1 | # structure 2 | collaborate_article = Artikel 3 | collaborate_category = Kategorie -------------------------------------------------------------------------------- /plugins/structure/lang/en_gb.lang: -------------------------------------------------------------------------------- 1 | # structure 2 | collaborate_article = article 3 | collaborate_category = category 4 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/src/Ratchet/Wamp/Exception.php: -------------------------------------------------------------------------------- 1 | i18n('name')); 6 | rex_be_controller::includeCurrentPageSubPath(); -------------------------------------------------------------------------------- /lib/ratchet/vendor/react/dns/src/BadServerException.php: -------------------------------------------------------------------------------- 1 | addPsr4('Ratchet\\', __DIR__ . '/helpers/Ratchet'); 5 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/src/Ratchet/MessageComponentInterface.php: -------------------------------------------------------------------------------- 1 | { 5 | // init collaborate 6 | if (window.collaborate) { 7 | return; 8 | } 9 | 10 | window.collaborate = new Collaborate(); 11 | }); -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php: -------------------------------------------------------------------------------- 1 | > /etc/hosts 9 | 10 | echo /etc/hosts contains: 11 | cat /etc/hosts 12 | echo 13 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/tests/helpers/Ratchet/Wamp/Stub/WsWampServerInterface.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/evenement/evenement/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/react/promise/src/PromisorInterface.php: -------------------------------------------------------------------------------- 1 | =8.0' 9 | redaxo: ^5.12 10 | 11 | console_commands: 12 | collaborate: rex_collaborate_console 13 | 14 | websocket-server-port: 6789 15 | websocket-client-port: 443 16 | websocket-path: 'wss' 17 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/src/Ratchet/Session/Serialize/HandlerInterface.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 | if (\PHP_VERSION_ID < 70300) { 13 | class JsonException extends Exception 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/string/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\String\Exception; 13 | 14 | interface ExceptionInterface extends \Throwable 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /lib/ratchet/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](https://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 | -------------------------------------------------------------------------------- /plugins/viewcounter/package.yml: -------------------------------------------------------------------------------- 1 | package: collaborate/viewcounter 2 | version: '1.4.0' 3 | author: Friends Of REDAXO 4 | pjax: true 5 | 6 | requires: 7 | packages: 8 | structure: '>=2.14' 9 | yrewrite: '>=2.9' 10 | 11 | default_config: 12 | # defines scopes for websocket up- and down streams 13 | # 2 = frontend & backend 14 | # 1 = frontend 15 | # 0 = backend 16 | # -1 = no automatic embedding 17 | upstream_scope: 1 18 | downstream_scope: 0 -------------------------------------------------------------------------------- /plugins/yform/package.yml: -------------------------------------------------------------------------------- 1 | package: collaborate/yform 2 | version: '1.0.0 alpha' 3 | author: Friends Of REDAXO 4 | pjax: true 5 | 6 | requires: 7 | packages: 8 | yform: '>=4.0.0' 9 | yform/manager: '>=4.0.0' 10 | 11 | default_config: 12 | # defines scopes for websocket up- and down streams 13 | # 2 = frontend & backend 14 | # 1 = frontend 15 | # 0 = backend 16 | # -1 = no automatic embedding 17 | upstream_scope: 0 18 | downstream_scope: 0 -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/string/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\String\Exception; 13 | 14 | class RuntimeException extends \RuntimeException implements ExceptionInterface 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /plugins/structure/package.yml: -------------------------------------------------------------------------------- 1 | package: collaborate/structure 2 | version: '1.0.0 alpha' 3 | author: Friends Of REDAXO 4 | pjax: true 5 | 6 | requires: 7 | packages: 8 | structure: '>=2.14' 9 | structure/content: '>=2.14' 10 | 11 | default_config: 12 | # defines scopes for websocket up- and down streams 13 | # 2 = frontend & backend 14 | # 1 = frontend 15 | # 0 = backend 16 | # -1 = no automatic embedding 17 | upstream_scope: 0 18 | downstream_scope: 0 -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/routing/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\Routing\Exception; 13 | 14 | class RuntimeException extends \RuntimeException implements ExceptionInterface 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /.github/workflows/publish-to-redaxo.yml: -------------------------------------------------------------------------------- 1 | name: Publish release 2 | 3 | on: 4 | release: 5 | types: 6 | - published 7 | 8 | jobs: 9 | redaxo_publish: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v3 13 | - uses: FriendsOfREDAXO/installer-action@v1 14 | with: 15 | myredaxo-username: ${{ secrets.MYREDAXO_USERNAME }} 16 | myredaxo-api-key: ${{ secrets.MYREDAXO_API_KEY }} 17 | description: ${{ github.event.release.body }} 18 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/evenement/evenement/tests/Evenement/Tests/functions.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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/psr/http-factory/README.md: -------------------------------------------------------------------------------- 1 | HTTP Factories 2 | ============== 3 | 4 | This repository holds all interfaces related to [PSR-17 (HTTP Message Factories)][psr-17]. 5 | Please refer to the specification for a description. 6 | 7 | You can find implementations of the specification by looking for packages providing the 8 | [psr/http-factory-implementation](https://packagist.org/providers/psr/http-factory-implementation) virtual package. 9 | 10 | [psr-17]: https://www.php-fig.org/psr/psr-17/ 11 | -------------------------------------------------------------------------------- /lib/ratchet/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 Symfony\Component\String\Exception; 13 | 14 | class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/routing/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\Routing\Exception; 13 | 14 | class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/src/Ratchet/WebSocket/WsServerInterface.php: -------------------------------------------------------------------------------- 1 | addPsr4('Ratchet\\RFC6455\\Test\\', __DIR__); 17 | break; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-intl-normalizer/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Intl: Normalizer 2 | =================================== 3 | 4 | This component provides a fallback implementation for the 5 | [`Normalizer`](https://php.net/Normalizer) class provided 6 | by the [Intl](https://php.net/intl) extension. 7 | 8 | More information can be found in the 9 | [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). 10 | 11 | License 12 | ======= 13 | 14 | This library is released under the [MIT license](LICENSE). 15 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/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\Console\Exception; 13 | 14 | /** 15 | * @author Jérôme Tamarelle 16 | */ 17 | class LogicException extends \LogicException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/react/promise/src/CancellablePromiseInterface.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\Console\Exception; 13 | 14 | /** 15 | * @author Jérôme Tamarelle 16 | */ 17 | class RuntimeException extends \RuntimeException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/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\Console\Exception; 13 | 14 | /** 15 | * ExceptionInterface. 16 | * 17 | * @author Jérôme Tamarelle 18 | */ 19 | interface ExceptionInterface extends \Throwable 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/src/Ratchet/WebSocket/ConnContext.php: -------------------------------------------------------------------------------- 1 | connection = $conn; 18 | $this->buffer = $buffer; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/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\Console\Exception; 13 | 14 | /** 15 | * @author Jérôme Tamarelle 16 | */ 17 | class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/Session/SessionFactoryInterface.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 | * @author Kevin Bond 16 | */ 17 | interface SessionFactoryInterface 18 | { 19 | public function createSession(): SessionInterface; 20 | } 21 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/Exception/BadRequestException.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 sends a malformed request. 16 | */ 17 | class BadRequestException extends \UnexpectedValueException implements RequestExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/yaml/Exception/DumpException.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\Yaml\Exception; 13 | 14 | /** 15 | * Exception class thrown when an error occurs during dumping. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class DumpException extends RuntimeException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/yaml/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\Yaml\Exception; 13 | 14 | /** 15 | * Exception interface for all exceptions thrown by the component. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface ExceptionInterface extends \Throwable 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/src/Ratchet/Http/NoOpHttpServerController.php: -------------------------------------------------------------------------------- 1 | =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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/yaml/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\Yaml\Exception; 13 | 14 | /** 15 | * Exception class thrown when an error occurs during parsing. 16 | * 17 | * @author Romain Neutron 18 | */ 19 | class RuntimeException extends \RuntimeException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/psr/http-factory/src/RequestFactoryInterface.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\Console\Exception; 13 | 14 | /** 15 | * Represents an incorrect namespace typed in the console. 16 | * 17 | * @author Pierre du Plessis 18 | */ 19 | class NamespaceNotFoundException extends CommandNotFoundException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Exception/MissingInputException.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\Console\Exception; 13 | 14 | /** 15 | * Represents failure to read input from stdin. 16 | * 17 | * @author Gabriel Ostrolucký 18 | */ 19 | class MissingInputException extends RuntimeException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/string/README.md: -------------------------------------------------------------------------------- 1 | String Component 2 | ================ 3 | 4 | The String component provides an object-oriented API to strings and deals 5 | with bytes, UTF-8 code points and grapheme clusters in a unified way. 6 | 7 | Resources 8 | --------- 9 | 10 | * [Documentation](https://symfony.com/doc/current/components/string.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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Exception/InvalidOptionException.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\Console\Exception; 13 | 14 | /** 15 | * Represents an incorrect option name typed in the console. 16 | * 17 | * @author Jérôme Tamarelle 18 | */ 19 | class InvalidOptionException extends \InvalidArgumentException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/psr/container/README.md: -------------------------------------------------------------------------------- 1 | Container interface 2 | ============== 3 | 4 | This repository holds all interfaces related to [PSR-11 (Container Interface)][psr-url]. 5 | 6 | Note that this is not a Container implementation of its own. It is merely abstractions that describe the components of a Dependency Injection Container. 7 | 8 | The installable [package][package-url] and [implementations][implementation-url] are listed on Packagist. 9 | 10 | [psr-url]: https://www.php-fig.org/psr/psr-11/ 11 | [package-url]: https://packagist.org/packages/psr/container 12 | [implementation-url]: https://packagist.org/providers/psr/container-implementation 13 | 14 | -------------------------------------------------------------------------------- /lib/ratchet/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\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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-php73/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Php73 2 | ======================== 3 | 4 | This component provides functions added to PHP 7.3 core: 5 | 6 | - [`array_key_first`](https://php.net/array_key_first) 7 | - [`array_key_last`](https://php.net/array_key_last) 8 | - [`hrtime`](https://php.net/function.hrtime) 9 | - [`is_countable`](https://php.net/is_countable) 10 | - [`JsonException`](https://php.net/JsonException) 11 | 12 | More information can be found in the 13 | [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). 14 | 15 | License 16 | ======= 17 | 18 | This library is released under the [MIT license](LICENSE). 19 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php: -------------------------------------------------------------------------------- 1 | flags = $flags; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/psr/http-factory/src/ResponseFactoryInterface.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 | * Thrown by Request::toArray() when the content cannot be JSON-decoded. 16 | * 17 | * @author Tobias Nyholm 18 | */ 19 | final class JsonException extends \UnexpectedValueException implements RequestExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/tests/autobahn/fuzzingclient-all.json: -------------------------------------------------------------------------------- 1 | { 2 | "options": {"failByDrop": false} 3 | , "outdir": "reports/ab" 4 | 5 | , "servers": [ 6 | {"agent": "Ratchet/0.4 libevent", "url": "ws://localhost:8001", "options": {"version": 18}} 7 | , {"agent": "Ratchet/0.4 libev", "url": "ws://localhost:8004", "options": {"version": 18}} 8 | , {"agent": "Ratchet/0.4 streams", "url": "ws://localhost:8002", "options": {"version": 18}} 9 | , {"agent": "AutobahnTestSuite/0.5.9", "url": "ws://localhost:8000", "options": {"version": 18}} 10 | ] 11 | 12 | , "cases": ["*"] 13 | , "exclude-cases": [] 14 | , "exclude-agent-cases": {} 15 | } 16 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/src/Ratchet/ConnectionInterface.php: -------------------------------------------------------------------------------- 1 | =7.4.0" 16 | }, 17 | "autoload": { 18 | "psr-4": { 19 | "Psr\\Container\\": "src/" 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Helper/TableSeparator.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\Console\Helper; 13 | 14 | /** 15 | * Marks a row as being a separator. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class TableSeparator extends TableCell 20 | { 21 | public function __construct(array $options = []) 22 | { 23 | parent::__construct('', $options); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/Exception/ConflictingHeadersException.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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/Exception/SuspiciousOperationException.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 | -------------------------------------------------------------------------------- /lib/ratchet/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\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, get_debug_type($value))); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/routing/Exception/ResourceNotFoundException.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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/routing/Exception/RouteCircularReferenceException.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 | class RouteCircularReferenceException extends RuntimeException 15 | { 16 | public function __construct(string $routeId, array $path) 17 | { 18 | parent::__construct(sprintf('Circular reference detected for route "%s", path: "%s".', $routeId, implode(' -> ', $path))); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Descriptor/DescriptorInterface.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\Console\Descriptor; 13 | 14 | use Symfony\Component\Console\Output\OutputInterface; 15 | 16 | /** 17 | * Descriptor interface. 18 | * 19 | * @author Jean-François Simon 20 | */ 21 | interface DescriptorInterface 22 | { 23 | public function describe(OutputInterface $output, object $object, array $options = []); 24 | } 25 | -------------------------------------------------------------------------------- /lib/ratchet/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 25 | */ 26 | public function getContext(); 27 | } 28 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Input/InputAwareInterface.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\Console\Input; 13 | 14 | /** 15 | * InputAwareInterface should be implemented by classes that depends on the 16 | * Console Input. 17 | * 18 | * @author Wouter J 19 | */ 20 | interface InputAwareInterface 21 | { 22 | /** 23 | * Sets the Console Input. 24 | */ 25 | public function setInput(InputInterface $input); 26 | } 27 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/File/Stream.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 | * @return int|false 25 | */ 26 | #[\ReturnTypeWillChange] 27 | public function getSize() 28 | { 29 | return false; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Helper/TableRows.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\Console\Helper; 13 | 14 | /** 15 | * @internal 16 | */ 17 | class TableRows implements \IteratorAggregate 18 | { 19 | private $generator; 20 | 21 | public function __construct(\Closure $generator) 22 | { 23 | $this->generator = $generator; 24 | } 25 | 26 | public function getIterator(): \Traversable 27 | { 28 | return ($this->generator)(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/Session/Storage/SessionStorageFactoryInterface.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\Storage; 13 | 14 | use Symfony\Component\HttpFoundation\Request; 15 | 16 | /** 17 | * @author Jérémy Derussé 18 | */ 19 | interface SessionStorageFactoryInterface 20 | { 21 | /** 22 | * Creates a new instance of SessionStorageInterface. 23 | */ 24 | public function createStorage(?Request $request): SessionStorageInterface; 25 | } 26 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/guzzlehttp/psr7/src/Rfc7230.php: -------------------------------------------------------------------------------- 1 | @,;:\\\"/[\]?={}\x01-\x20\x7F]++):[ \t]*+((?:[ \t]*+[\x21-\x7E\x80-\xFF]++)*+)[ \t]*+\r?\n)m"; 22 | public const HEADER_FOLD_REGEX = "(\r?\n[ \t]++)"; 23 | } 24 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 25 | */ 26 | public function matches(Request $request); 27 | } 28 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/src/Ratchet/Http/CloseResponseTrait.php: -------------------------------------------------------------------------------- 1 | \Ratchet\VERSION 17 | ], $additional_headers)); 18 | 19 | $conn->send(Message::toString($response)); 20 | $conn->close(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/service-contracts/Attribute/Required.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\Contracts\Service\Attribute; 13 | 14 | /** 15 | * A required dependency. 16 | * 17 | * This attribute indicates that a property holds a required dependency. The annotated property or method should be 18 | * considered during the instantiation process of the containing class. 19 | * 20 | * @author Alexander M. Turek 21 | */ 22 | #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)] 23 | final class Required 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-intl-normalizer/bootstrap80.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 | use Symfony\Polyfill\Intl\Normalizer as p; 13 | 14 | if (!function_exists('normalizer_is_normalized')) { 15 | function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C): bool { return p\Normalizer::isNormalized((string) $string, (int) $form); } 16 | } 17 | if (!function_exists('normalizer_normalize')) { 18 | function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C): string|false { return p\Normalizer::normalize((string) $string, (int) $form); } 19 | } 20 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.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\Console\Formatter; 13 | 14 | /** 15 | * Formatter interface for console output that supports word wrapping. 16 | * 17 | * @author Roland Franssen 18 | */ 19 | interface WrappableOutputFormatterInterface extends OutputFormatterInterface 20 | { 21 | /** 22 | * Formats a message according to the given styles, wrapping at `$width` (0 means no wrapping). 23 | */ 24 | public function formatAndWrap(?string $message, int $width); 25 | } 26 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/ratchet/rfc6455/src/Messaging/FrameInterface.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\Console\Command; 13 | 14 | /** 15 | * Interface for command reacting to signal. 16 | * 17 | * @author Grégoire Pineau 18 | */ 19 | interface SignalableCommandInterface 20 | { 21 | /** 22 | * Returns the list of signals to subscribe. 23 | */ 24 | public function getSubscribedSignals(): array; 25 | 26 | /** 27 | * The method will be called when the application is signaled. 28 | */ 29 | public function handleSignal(int $signal): void; 30 | } 31 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-intl-normalizer/bootstrap.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 | use Symfony\Polyfill\Intl\Normalizer as p; 13 | 14 | if (\PHP_VERSION_ID >= 80000) { 15 | return require __DIR__.'/bootstrap80.php'; 16 | } 17 | 18 | if (!function_exists('normalizer_is_normalized')) { 19 | function normalizer_is_normalized($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::isNormalized($string, $form); } 20 | } 21 | if (!function_exists('normalizer_normalize')) { 22 | function normalizer_normalize($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::normalize($string, $form); } 23 | } 24 | -------------------------------------------------------------------------------- /lib/ratchet/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\Console\Completion\Output; 13 | 14 | use Symfony\Component\Console\Completion\CompletionSuggestions; 15 | use Symfony\Component\Console\Output\OutputInterface; 16 | 17 | /** 18 | * Transforms the {@see CompletionSuggestions} object into output readable by the shell completion. 19 | * 20 | * @author Wouter de Jong 21 | */ 22 | interface CompletionOutputInterface 23 | { 24 | public function write(CompletionSuggestions $suggestions, OutputInterface $output): void; 25 | } 26 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/string/Slugger/SluggerInterface.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\String\Slugger; 13 | 14 | use Symfony\Component\String\AbstractUnicodeString; 15 | 16 | /** 17 | * Creates a URL-friendly slug from a given string. 18 | * 19 | * @author Titouan Galopin 20 | */ 21 | interface SluggerInterface 22 | { 23 | /** 24 | * Creates a slug for the given string and locale, using appropriate transliteration when needed. 25 | */ 26 | public function slug(string $string, string $separator = '-', string $locale = null): AbstractUnicodeString; 27 | } 28 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/psr/http-factory/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "psr/http-factory", 3 | "description": "Common interfaces for PSR-7 HTTP message factories", 4 | "keywords": [ 5 | "psr", 6 | "psr-7", 7 | "psr-17", 8 | "http", 9 | "factory", 10 | "message", 11 | "request", 12 | "response" 13 | ], 14 | "license": "MIT", 15 | "authors": [ 16 | { 17 | "name": "PHP-FIG", 18 | "homepage": "http://www.php-fig.org/" 19 | } 20 | ], 21 | "require": { 22 | "php": ">=7.0.0", 23 | "psr/http-message": "^1.0" 24 | }, 25 | "autoload": { 26 | "psr-4": { 27 | "Psr\\Http\\Message\\": "src/" 28 | } 29 | }, 30 | "extra": { 31 | "branch-alias": { 32 | "dev-master": "1.0.x-dev" 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/ratchet/rfc6455/README.md: -------------------------------------------------------------------------------- 1 | # RFC6455 - The WebSocket Protocol 2 | 3 | [![Build Status](https://github.com/ratchetphp/RFC6455/workflows/CI/badge.svg)](https://github.com/ratchetphp/RFC6455/actions) 4 | [![Autobahn Testsuite](https://img.shields.io/badge/Autobahn-passing-brightgreen.svg)](http://socketo.me/reports/rfc-server/index.html) 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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Completion/Suggestion.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\Console\Completion; 13 | 14 | /** 15 | * Represents a single suggested value. 16 | * 17 | * @author Wouter de Jong 18 | */ 19 | class Suggestion 20 | { 21 | private $value; 22 | 23 | public function __construct(string $value) 24 | { 25 | $this->value = $value; 26 | } 27 | 28 | public function getValue(): string 29 | { 30 | return $this->value; 31 | } 32 | 33 | public function __toString(): string 34 | { 35 | return $this->getValue(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/composer/autoload_classmap.php: -------------------------------------------------------------------------------- 1 | $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', 10 | 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 11 | 'JsonException' => $vendorDir . '/symfony/polyfill-php73/Resources/stubs/JsonException.php', 12 | 'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php', 13 | 'Stringable' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', 14 | 'UnhandledMatchError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', 15 | 'ValueError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', 16 | ); 17 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-php80/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Php80 2 | ======================== 3 | 4 | This component provides features added to PHP 8.0 core: 5 | 6 | - `Stringable` interface 7 | - [`fdiv`](https://php.net/fdiv) 8 | - `ValueError` class 9 | - `UnhandledMatchError` class 10 | - `FILTER_VALIDATE_BOOL` constant 11 | - [`get_debug_type`](https://php.net/get_debug_type) 12 | - [`preg_last_error_msg`](https://php.net/preg_last_error_msg) 13 | - [`str_contains`](https://php.net/str_contains) 14 | - [`str_starts_with`](https://php.net/str_starts_with) 15 | - [`str_ends_with`](https://php.net/str_ends_with) 16 | - [`get_resource_id`](https://php.net/get_resource_id) 17 | 18 | More information can be found in the 19 | [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). 20 | 21 | License 22 | ======= 23 | 24 | This library is released under the [MIT license](LICENSE). 25 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/yaml/Tag/TaggedValue.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\Yaml\Tag; 13 | 14 | /** 15 | * @author Nicolas Grekas 16 | * @author Guilhem N. 17 | */ 18 | final class TaggedValue 19 | { 20 | private $tag; 21 | private $value; 22 | 23 | public function __construct(string $tag, $value) 24 | { 25 | $this->tag = $tag; 26 | $this->value = $value; 27 | } 28 | 29 | public function getTag(): string 30 | { 31 | return $this->tag; 32 | } 33 | 34 | public function getValue() 35 | { 36 | return $this->value; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /lib/ratchet/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 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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/RateLimiter/RequestRateLimiterInterface.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\RateLimiter; 13 | 14 | use Symfony\Component\HttpFoundation\Request; 15 | use Symfony\Component\RateLimiter\RateLimit; 16 | 17 | /** 18 | * A special type of limiter that deals with requests. 19 | * 20 | * This allows to limit on different types of information 21 | * from the requests. 22 | * 23 | * @author Wouter de Jong 24 | */ 25 | interface RequestRateLimiterInterface 26 | { 27 | public function consume(Request $request): RateLimit; 28 | 29 | public function reset(Request $request): void; 30 | } 31 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Helper/InputAwareHelper.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\Console\Helper; 13 | 14 | use Symfony\Component\Console\Input\InputAwareInterface; 15 | use Symfony\Component\Console\Input\InputInterface; 16 | 17 | /** 18 | * An implementation of InputAwareInterface for Helpers. 19 | * 20 | * @author Wouter J 21 | */ 22 | abstract class InputAwareHelper extends Helper implements InputAwareInterface 23 | { 24 | protected $input; 25 | 26 | /** 27 | * {@inheritdoc} 28 | */ 29 | public function setInput(InputInterface $input) 30 | { 31 | $this->input = $input; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Output/ConsoleOutputInterface.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\Console\Output; 13 | 14 | /** 15 | * ConsoleOutputInterface is the interface implemented by ConsoleOutput class. 16 | * This adds information about stderr and section output stream. 17 | * 18 | * @author Dariusz Górecki 19 | */ 20 | interface ConsoleOutputInterface extends OutputInterface 21 | { 22 | /** 23 | * Gets the OutputInterface for errors. 24 | * 25 | * @return OutputInterface 26 | */ 27 | public function getErrorOutput(); 28 | 29 | public function setErrorOutput(OutputInterface $error); 30 | 31 | public function section(): ConsoleSectionOutput; 32 | } 33 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/ratchet/rfc6455/tests/unit/Handshake/PermessageDeflateOptionsTest.php: -------------------------------------------------------------------------------- 1 | assertEquals($supported, PermessageDeflateOptions::permessageDeflateSupported($version)); 29 | } 30 | } -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/service-contracts/Attribute/SubscribedService.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\Contracts\Service\Attribute; 13 | 14 | use Symfony\Contracts\Service\ServiceSubscriberTrait; 15 | 16 | /** 17 | * Use with {@see ServiceSubscriberTrait} to mark a method's return type 18 | * as a subscribed service. 19 | * 20 | * @author Kevin Bond 21 | */ 22 | #[\Attribute(\Attribute::TARGET_METHOD)] 23 | final class SubscribedService 24 | { 25 | /** 26 | * @param string|null $key The key to use for the service 27 | * If null, use "ClassName::methodName" 28 | */ 29 | public function __construct( 30 | public ?string $key = null 31 | ) { 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/Exception/SessionNotFoundException.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 session does not exists. This happens in the following cases: 16 | * - the session is not enabled 17 | * - attempt to read a session outside a request context (ie. cli script). 18 | * 19 | * @author Jérémy Derussé 20 | */ 21 | class SessionNotFoundException extends \LogicException implements RequestExceptionInterface 22 | { 23 | public function __construct(string $message = 'There is currently no session available.', int $code = 0, \Throwable $previous = null) 24 | { 25 | parent::__construct($message, $code, $previous); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/string/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | 5.4 5 | --- 6 | 7 | * Add `trimSuffix()` and `trimPrefix()` methods 8 | 9 | 5.3 10 | --- 11 | 12 | * Made `AsciiSlugger` fallback to parent locale's symbolsMap 13 | 14 | 5.2.0 15 | ----- 16 | 17 | * added a `FrenchInflector` class 18 | 19 | 5.1.0 20 | ----- 21 | 22 | * added the `AbstractString::reverse()` method 23 | * made `AbstractString::width()` follow POSIX.1-2001 24 | * added `LazyString` which provides memoizing stringable objects 25 | * The component is not marked as `@experimental` anymore 26 | * added the `s()` helper method to get either an `UnicodeString` or `ByteString` instance, 27 | depending of the input string UTF-8 compliancy 28 | * added `$cut` parameter to `Symfony\Component\String\AbstractString::truncate()` 29 | * added `AbstractString::containsAny()` 30 | * allow passing a string of custom characters to `ByteString::fromRandom()` 31 | 32 | 5.0.0 33 | ----- 34 | 35 | * added the component as experimental 36 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/string/Inflector/InflectorInterface.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\String\Inflector; 13 | 14 | interface InflectorInterface 15 | { 16 | /** 17 | * Returns the singular forms of a string. 18 | * 19 | * If the method can't determine the form with certainty, several possible singulars are returned. 20 | * 21 | * @return string[] 22 | */ 23 | public function singularize(string $plural): array; 24 | 25 | /** 26 | * Returns the plural forms of a string. 27 | * 28 | * If the method can't determine the form with certainty, several possible plurals are returned. 29 | * 30 | * @return string[] 31 | */ 32 | public function pluralize(string $singular): array; 33 | } 34 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/deprecation-contracts/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/deprecation-contracts", 3 | "type": "library", 4 | "description": "A generic function and convention to trigger deprecation notices", 5 | "homepage": "https://symfony.com", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Nicolas Grekas", 10 | "email": "p@tchwork.com" 11 | }, 12 | { 13 | "name": "Symfony Community", 14 | "homepage": "https://symfony.com/contributors" 15 | } 16 | ], 17 | "require": { 18 | "php": ">=7.1" 19 | }, 20 | "autoload": { 21 | "files": [ 22 | "function.php" 23 | ] 24 | }, 25 | "minimum-stability": "dev", 26 | "extra": { 27 | "branch-alias": { 28 | "dev-main": "2.5-dev" 29 | }, 30 | "thanks": { 31 | "name": "symfony/contracts", 32 | "url": "https://github.com/symfony/contracts" 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /lib/ratchet/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 | [$this->matchHost, $this->staticRoutes, $this->regexpList, $this->dynamicRoutes, $this->checkCondition] = $compiledRoutes; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/react/dns/src/Query/TimeoutExecutor.php: -------------------------------------------------------------------------------- 1 | executor = $executor; 18 | $this->loop = $loop ?: Loop::get(); 19 | $this->timeout = $timeout; 20 | } 21 | 22 | public function query(Query $query) 23 | { 24 | return Timer\timeout($this->executor->query($query), $this->timeout, $this->loop)->then(null, function ($e) use ($query) { 25 | if ($e instanceof Timer\TimeoutException) { 26 | $e = new TimeoutException(sprintf("DNS query for %s timed out", $query->describe()), 0, $e); 27 | } 28 | throw $e; 29 | }); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/composer/platform_check.php: -------------------------------------------------------------------------------- 1 | = 70400)) { 8 | $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; 9 | } 10 | 11 | if ($issues) { 12 | if (!headers_sent()) { 13 | header('HTTP/1.1 500 Internal Server Error'); 14 | } 15 | if (!ini_get('display_errors')) { 16 | if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { 17 | fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); 18 | } elseif (!headers_sent()) { 19 | echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; 20 | } 21 | } 22 | trigger_error( 23 | 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 | E_USER_ERROR 25 | ); 26 | } 27 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Completion/Output/BashCompletionOutput.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\Console\Completion\Output; 13 | 14 | use Symfony\Component\Console\Completion\CompletionSuggestions; 15 | use Symfony\Component\Console\Output\OutputInterface; 16 | 17 | /** 18 | * @author Wouter de Jong 19 | */ 20 | class BashCompletionOutput implements CompletionOutputInterface 21 | { 22 | public function write(CompletionSuggestions $suggestions, OutputInterface $output): void 23 | { 24 | $values = $suggestions->getValueSuggestions(); 25 | foreach ($suggestions->getOptionSuggestions() as $option) { 26 | $values[] = '--'.$option->getName(); 27 | } 28 | $output->writeln(implode("\n", $values)); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Helper/HelperInterface.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\Console\Helper; 13 | 14 | /** 15 | * HelperInterface is the interface all helpers must implement. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface HelperInterface 20 | { 21 | /** 22 | * Sets the helper set associated with this helper. 23 | */ 24 | public function setHelperSet(HelperSet $helperSet = null); 25 | 26 | /** 27 | * Gets the helper set associated with this helper. 28 | * 29 | * @return HelperSet|null 30 | */ 31 | public function getHelperSet(); 32 | 33 | /** 34 | * Returns the canonical name of this helper. 35 | * 36 | * @return string 37 | */ 38 | public function getName(); 39 | } 40 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/string/Resources/functions.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\String; 13 | 14 | if (!\function_exists(u::class)) { 15 | function u(?string $string = ''): UnicodeString 16 | { 17 | return new UnicodeString($string ?? ''); 18 | } 19 | } 20 | 21 | if (!\function_exists(b::class)) { 22 | function b(?string $string = ''): ByteString 23 | { 24 | return new ByteString($string ?? ''); 25 | } 26 | } 27 | 28 | if (!\function_exists(s::class)) { 29 | /** 30 | * @return UnicodeString|ByteString 31 | */ 32 | function s(?string $string = ''): AbstractString 33 | { 34 | $string = $string ?? ''; 35 | 36 | return preg_match('//u', $string) ? new UnicodeString($string) : new ByteString($string); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/react/promise-timer/src/TimeoutException.php: -------------------------------------------------------------------------------- 1 | timeout = (float) $timeout; 24 | } 25 | 26 | /** 27 | * Get the timeout value in seconds. 28 | * 29 | * @return float 30 | */ 31 | public function getTimeout() 32 | { 33 | return $this->timeout; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Attribute/AsCommand.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\Console\Attribute; 13 | 14 | /** 15 | * Service tag to autoconfigure commands. 16 | */ 17 | #[\Attribute(\Attribute::TARGET_CLASS)] 18 | class AsCommand 19 | { 20 | public function __construct( 21 | public string $name, 22 | public ?string $description = null, 23 | array $aliases = [], 24 | bool $hidden = false, 25 | ) { 26 | if (!$hidden && !$aliases) { 27 | return; 28 | } 29 | 30 | $name = explode('|', $name); 31 | $name = array_merge($name, $aliases); 32 | 33 | if ($hidden && '' !== $name[0]) { 34 | array_unshift($name, ''); 35 | } 36 | 37 | $this->name = implode('|', $name); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /lib/ratchet/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 and returns the parameters for the redirection. 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 29 | */ 30 | public function redirect(string $path, string $route, string $scheme = null); 31 | } 32 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/psr/http-factory/src/ServerRequestFactoryInterface.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\Console\Input; 13 | 14 | /** 15 | * StreamableInputInterface is the interface implemented by all input classes 16 | * that have an input stream. 17 | * 18 | * @author Robin Chalas 19 | */ 20 | interface StreamableInputInterface extends InputInterface 21 | { 22 | /** 23 | * Sets the input stream to read from when interacting with the user. 24 | * 25 | * This is mainly useful for testing purpose. 26 | * 27 | * @param resource $stream The input stream 28 | */ 29 | public function setStream($stream); 30 | 31 | /** 32 | * Returns the input stream. 33 | * 34 | * @return resource|null 35 | */ 36 | public function getStream(); 37 | } 38 | -------------------------------------------------------------------------------- /conf/collaborate-supervisor-dummy.conf: -------------------------------------------------------------------------------- 1 | [unix_http_server] 2 | file = /tmp/supervisor.sock 3 | 4 | [supervisord] 5 | logfile = ./logs/redaxo-collaborate-supervisord.log 6 | logfile_maxbytes = 20MB 7 | logfile_backups = 5 8 | loglevel = info 9 | pidfile = /tmp/supervisord.pid 10 | nodaemon = false 11 | minfds = 1024 12 | minprocs = 200 13 | 14 | [rpcinterface:supervisor] 15 | supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface 16 | 17 | [supervisorctl] 18 | serverurl = unix:///tmp/supervisor.sock 19 | 20 | [program:ratchet] 21 | command = bash -c "ulimit -n 10000; exec /usr/bin/php ##COLLABORATE_INIT_SCRIPT_PATH##" 22 | process_name = Ratchet 23 | numprocs = 1 24 | autostart = true 25 | autorestart = true 26 | user = root 27 | stdout_logfile = ./logs/redaxo-collaborate-ratchet-info.log 28 | stdout_logfile_maxbytes = 1MB 29 | stderr_logfile = ./logs/redaxo-collaborate-ratchet-error.log 30 | stderr_logfile_maxbytes = 1MB -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/CommandLoader/CommandLoaderInterface.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\Console\CommandLoader; 13 | 14 | use Symfony\Component\Console\Command\Command; 15 | use Symfony\Component\Console\Exception\CommandNotFoundException; 16 | 17 | /** 18 | * @author Robin Chalas 19 | */ 20 | interface CommandLoaderInterface 21 | { 22 | /** 23 | * Loads a command. 24 | * 25 | * @return Command 26 | * 27 | * @throws CommandNotFoundException 28 | */ 29 | public function get(string $name); 30 | 31 | /** 32 | * Checks if a command exists. 33 | * 34 | * @return bool 35 | */ 36 | public function has(string $name); 37 | 38 | /** 39 | * @return string[] 40 | */ 41 | public function getNames(); 42 | } 43 | -------------------------------------------------------------------------------- /lib/ratchet/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 | Sponsor 8 | ------- 9 | 10 | The HttpFoundation component for Symfony 5.4/6.0 is [backed][1] by [Laravel][2]. 11 | 12 | Laravel is a PHP web development framework that is passionate about maximum developer 13 | happiness. Laravel is built using a variety of bespoke and Symfony based components. 14 | 15 | Help Symfony by [sponsoring][3] its development! 16 | 17 | Resources 18 | --------- 19 | 20 | * [Documentation](https://symfony.com/doc/current/components/http_foundation.html) 21 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 22 | * [Report issues](https://github.com/symfony/symfony/issues) and 23 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 24 | in the [main Symfony repository](https://github.com/symfony/symfony) 25 | 26 | [1]: https://symfony.com/backers 27 | [2]: https://laravel.com/ 28 | [3]: https://symfony.com/sponsor 29 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-php73/Php73.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\Polyfill\Php73; 13 | 14 | /** 15 | * @author Gabriel Caruso 16 | * @author Ion Bazan 17 | * 18 | * @internal 19 | */ 20 | final class Php73 21 | { 22 | public static $startAt = 1533462603; 23 | 24 | /** 25 | * @param bool $asNum 26 | * 27 | * @return array|float|int 28 | */ 29 | public static function hrtime($asNum = false) 30 | { 31 | $ns = microtime(false); 32 | $s = substr($ns, 11) - self::$startAt; 33 | $ns = 1E9 * (float) $ns; 34 | 35 | if ($asNum) { 36 | $ns += $s * 1E9; 37 | 38 | return \PHP_INT_SIZE === 4 ? $ns : (int) $ns; 39 | } 40 | 41 | return [$s, (int) $ns]; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Output/BufferedOutput.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\Console\Output; 13 | 14 | /** 15 | * @author Jean-François Simon 16 | */ 17 | class BufferedOutput extends Output 18 | { 19 | private $buffer = ''; 20 | 21 | /** 22 | * Empties buffer and returns its content. 23 | * 24 | * @return string 25 | */ 26 | public function fetch() 27 | { 28 | $content = $this->buffer; 29 | $this->buffer = ''; 30 | 31 | return $content; 32 | } 33 | 34 | /** 35 | * {@inheritdoc} 36 | */ 37 | protected function doWrite(string $message, bool $newline) 38 | { 39 | $this->buffer .= $message; 40 | 41 | if ($newline) { 42 | $this->buffer .= \PHP_EOL; 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/routing/Matcher/Dumper/MatcherDumperInterface.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 28 | */ 29 | public function dump(array $options = []); 30 | 31 | /** 32 | * Gets the routes to dump. 33 | * 34 | * @return RouteCollection 35 | */ 36 | public function getRoutes(); 37 | } 38 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/console/Event/ConsoleSignalEvent.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\Console\Event; 13 | 14 | use Symfony\Component\Console\Command\Command; 15 | use Symfony\Component\Console\Input\InputInterface; 16 | use Symfony\Component\Console\Output\OutputInterface; 17 | 18 | /** 19 | * @author marie 20 | */ 21 | final class ConsoleSignalEvent extends ConsoleEvent 22 | { 23 | private $handlingSignal; 24 | 25 | public function __construct(Command $command, InputInterface $input, OutputInterface $output, int $handlingSignal) 26 | { 27 | parent::__construct($command, $input, $output); 28 | $this->handlingSignal = $handlingSignal; 29 | } 30 | 31 | public function getHandlingSignal(): int 32 | { 33 | return $this->handlingSignal; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /lib/ratchet/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 28 | */ 29 | public function dump(array $options = []); 30 | 31 | /** 32 | * Gets the routes to dump. 33 | * 34 | * @return RouteCollection 35 | */ 36 | public function getRoutes(); 37 | } 38 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/guzzlehttp/psr7/src/LazyOpenStream.php: -------------------------------------------------------------------------------- 1 | filename = $filename; 30 | $this->mode = $mode; 31 | } 32 | 33 | /** 34 | * Creates the underlying stream lazily when required. 35 | */ 36 | protected function createStream(): StreamInterface 37 | { 38 | return Utils::streamFor(Utils::tryFopen($this->filename, $this->mode)); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/cboden/ratchet/src/Ratchet/Session/Serialize/PhpBinaryHandler.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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/deprecation-contracts/function.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 | if (!function_exists('trigger_deprecation')) { 13 | /** 14 | * Triggers a silenced deprecation notice. 15 | * 16 | * @param string $package The name of the Composer package that is triggering the deprecation 17 | * @param string $version The version of the package that introduced the deprecation 18 | * @param string $message The message of the deprecation 19 | * @param mixed ...$args Values to insert in the message using printf() formatting 20 | * 21 | * @author Nicolas Grekas 22 | */ 23 | function trigger_deprecation(string $package, string $version, string $message, ...$args): void 24 | { 25 | @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-php80/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/psr/http-factory/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 PHP-FIG 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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2022 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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-ctype/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-php73/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/service-contracts/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018-2021 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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/service-contracts/ResetInterface.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\Contracts\Service; 13 | 14 | /** 15 | * Provides a way to reset an object to its initial state. 16 | * 17 | * When calling the "reset()" method on an object, it should be put back to its 18 | * initial state. This usually means clearing any internal buffers and forwarding 19 | * the call to internal dependencies. All properties of the object should be put 20 | * back to the same state it had when it was first ready to use. 21 | * 22 | * This method could be called, for example, to recycle objects that are used as 23 | * services, so that they can be used to handle several requests in the same 24 | * process loop (note that we advise making your services stateless instead of 25 | * implementing this interface when possible.) 26 | */ 27 | interface ResetInterface 28 | { 29 | public function reset(); 30 | } 31 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/deprecation-contracts/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020-2021 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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-intl-grapheme/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-intl-normalizer/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-php73/bootstrap.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 | use Symfony\Polyfill\Php73 as p; 13 | 14 | if (\PHP_VERSION_ID >= 70300) { 15 | return; 16 | } 17 | 18 | if (!function_exists('is_countable')) { 19 | function is_countable($value) { return is_array($value) || $value instanceof Countable || $value instanceof ResourceBundle || $value instanceof SimpleXmlElement; } 20 | } 21 | if (!function_exists('hrtime')) { 22 | require_once __DIR__.'/Php73.php'; 23 | p\Php73::$startAt = (int) microtime(true); 24 | function hrtime($as_number = false) { return p\Php73::hrtime($as_number); } 25 | } 26 | if (!function_exists('array_key_first')) { 27 | function array_key_first(array $array) { foreach ($array as $key => $value) { return $key; } } 28 | } 29 | if (!function_exists('array_key_last')) { 30 | function array_key_last(array $array) { return key(array_slice($array, -1, 1, true)); } 31 | } 32 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/ratchet/rfc6455/.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | 3 | on: 4 | push: 5 | pull_request: 6 | 7 | jobs: 8 | PHPUnit: 9 | name: PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) 10 | runs-on: ubuntu-20.04 11 | strategy: 12 | matrix: 13 | env: 14 | - client 15 | - server 16 | php: 17 | - 7.4 18 | - 7.3 19 | - 7.2 20 | - 7.1 21 | - 7.0 22 | - 5.6 23 | steps: 24 | - uses: actions/checkout@v2 25 | - name: Setup PHP 26 | uses: shivammathur/setup-php@v2 27 | with: 28 | php-version: ${{ matrix.php }} 29 | coverage: xdebug 30 | - run: docker pull crossbario/autobahn-testsuite 31 | - run: composer install 32 | 33 | - run: sh tests/ab/run_ab_tests.sh 34 | env: 35 | ABTEST: ${{ matrix.env }} 36 | SKIP_DEFLATE: _skip_deflate 37 | if: ${{ matrix.php <= 5.6 }} 38 | 39 | - run: sh tests/ab/run_ab_tests.sh 40 | env: 41 | ABTEST: ${{ matrix.env }} 42 | if: ${{ matrix.php >= 7.0 }} 43 | - run: vendor/bin/phpunit --verbose 44 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-php73/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-php73", 3 | "type": "library", 4 | "description": "Symfony polyfill backporting some PHP 7.3+ 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": ">=7.1" 20 | }, 21 | "autoload": { 22 | "psr-4": { "Symfony\\Polyfill\\Php73\\": "" }, 23 | "files": [ "bootstrap.php" ], 24 | "classmap": [ "Resources/stubs" ] 25 | }, 26 | "minimum-stability": "dev", 27 | "extra": { 28 | "branch-alias": { 29 | "dev-main": "1.23-dev" 30 | }, 31 | "thanks": { 32 | "name": "symfony/polyfill", 33 | "url": "https://github.com/symfony/polyfill" 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/Session/Storage/ServiceSessionFactory.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\Storage; 13 | 14 | use Symfony\Component\HttpFoundation\Request; 15 | 16 | /** 17 | * @author Jérémy Derussé 18 | * 19 | * @internal to be removed in Symfony 6 20 | */ 21 | final class ServiceSessionFactory implements SessionStorageFactoryInterface 22 | { 23 | private $storage; 24 | 25 | public function __construct(SessionStorageInterface $storage) 26 | { 27 | $this->storage = $storage; 28 | } 29 | 30 | public function createStorage(?Request $request): SessionStorageInterface 31 | { 32 | if ($this->storage instanceof NativeSessionStorage && $request && $request->isSecure()) { 33 | $this->storage->setOptions(['cookie_secure' => true]); 34 | } 35 | 36 | return $this->storage; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 33 | */ 34 | public function getRouteCollection(); 35 | } 36 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/ratchet/rfc6455/tests/unit/Handshake/ResponseVerifierTest.php: -------------------------------------------------------------------------------- 1 | _v = new ResponseVerifier; 19 | } 20 | 21 | public static function subProtocolsProvider() { 22 | return [ 23 | [true, ['a'], ['a']] 24 | , [true, ['c', 'd', 'a'], ['a']] 25 | , [true, ['c, a', 'd'], ['a']] 26 | , [true, [], []] 27 | , [true, ['a', 'b'], []] 28 | , [false, ['c', 'd', 'a'], ['b', 'a']] 29 | , [false, ['a', 'b', 'c'], ['d']] 30 | ]; 31 | } 32 | 33 | /** 34 | * @dataProvider subProtocolsProvider 35 | */ 36 | public function testVerifySubProtocol($expected, $request, $response) { 37 | $this->assertEquals($expected, $this->_v->verifySubProtocol($request, $response)); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/ratchet/rfc6455/tests/AbResultsTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('Autobahn TestSuite results not found'); 10 | } 11 | 12 | $resultsJson = file_get_contents($fileName); 13 | $results = json_decode($resultsJson); 14 | $agentName = array_keys(get_object_vars($results))[0]; 15 | 16 | foreach ($results->$agentName as $name => $result) { 17 | if ($result->behavior === "INFORMATIONAL") { 18 | continue; 19 | } 20 | 21 | $this->assertTrue(in_array($result->behavior, ["OK", "NON-STRICT"]), "Autobahn test case " . $name . " in " . $fileName); 22 | } 23 | } 24 | 25 | public function testAutobahnClientResults() { 26 | $this->verifyAutobahnResults(__DIR__ . '/ab/reports/clients/index.json'); 27 | } 28 | 29 | public function testAutobahnServerResults() { 30 | $this->verifyAutobahnResults(__DIR__ . '/ab/reports/servers/index.json'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/http-foundation/Session/Storage/Handler/IdentityMarshaller.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\Storage\Handler; 13 | 14 | use Symfony\Component\Cache\Marshaller\MarshallerInterface; 15 | 16 | /** 17 | * @author Ahmed TAILOULOUTE 18 | */ 19 | class IdentityMarshaller implements MarshallerInterface 20 | { 21 | /** 22 | * {@inheritdoc} 23 | */ 24 | public function marshall(array $values, ?array &$failed): array 25 | { 26 | foreach ($values as $key => $value) { 27 | if (!\is_string($value)) { 28 | throw new \LogicException(sprintf('%s accepts only string as data.', __METHOD__)); 29 | } 30 | } 31 | 32 | return $values; 33 | } 34 | 35 | /** 36 | * {@inheritdoc} 37 | */ 38 | public function unmarshall(string $value): string 39 | { 40 | return $value; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/react/promise-timer/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Christian Lück, Cees-Jan Kiewiet, Jan Sorgalla, Chris Boden 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 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-intl-grapheme/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-intl-grapheme", 3 | "type": "library", 4 | "description": "Symfony polyfill for intl's grapheme_* functions", 5 | "keywords": ["polyfill", "shim", "compatibility", "portable", "intl", "grapheme"], 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": ">=7.1" 20 | }, 21 | "autoload": { 22 | "psr-4": { "Symfony\\Polyfill\\Intl\\Grapheme\\": "" }, 23 | "files": [ "bootstrap.php" ] 24 | }, 25 | "suggest": { 26 | "ext-intl": "For best performance" 27 | }, 28 | "minimum-stability": "dev", 29 | "extra": { 30 | "branch-alias": { 31 | "dev-main": "1.23-dev" 32 | }, 33 | "thanks": { 34 | "name": "symfony/polyfill", 35 | "url": "https://github.com/symfony/polyfill" 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/psr/container/src/ContainerInterface.php: -------------------------------------------------------------------------------- 1 | =7.2.5", 20 | "symfony/deprecation-contracts": "^2.1|^3", 21 | "symfony/polyfill-ctype": "^1.8" 22 | }, 23 | "require-dev": { 24 | "symfony/console": "^5.3|^6.0" 25 | }, 26 | "conflict": { 27 | "symfony/console": "<5.3" 28 | }, 29 | "suggest": { 30 | "symfony/console": "For validating YAML files using the lint command" 31 | }, 32 | "autoload": { 33 | "psr-4": { "Symfony\\Component\\Yaml\\": "" }, 34 | "exclude-from-classmap": [ 35 | "/Tests/" 36 | ] 37 | }, 38 | "bin": [ 39 | "Resources/bin/yaml-lint" 40 | ], 41 | "minimum-stability": "dev" 42 | } 43 | -------------------------------------------------------------------------------- /lib/ratchet/vendor/symfony/polyfill-ctype/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-ctype", 3 | "type": "library", 4 | "description": "Symfony polyfill for ctype functions", 5 | "keywords": ["polyfill", "compatibility", "portable", "ctype"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Gert de Pagter", 11 | "email": "BackEndTea@gmail.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=7.1" 20 | }, 21 | "provide": { 22 | "ext-ctype": "*" 23 | }, 24 | "autoload": { 25 | "psr-4": { "Symfony\\Polyfill\\Ctype\\": "" }, 26 | "files": [ "bootstrap.php" ] 27 | }, 28 | "suggest": { 29 | "ext-ctype": "For best performance" 30 | }, 31 | "minimum-stability": "dev", 32 | "extra": { 33 | "branch-alias": { 34 | "dev-main": "1.23-dev" 35 | }, 36 | "thanks": { 37 | "name": "symfony/polyfill", 38 | "url": "https://github.com/symfony/polyfill" 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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 | -------------------------------------------------------------------------------- /lib/ratchet/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, string $env = null) 26 | { 27 | $this->container = $container; 28 | parent::__construct($env); 29 | } 30 | 31 | /** 32 | * {@inheritdoc} 33 | */ 34 | public function supports($resource, string $type = null) 35 | { 36 | return 'service' === $type && \is_string($resource); 37 | } 38 | 39 | /** 40 | * {@inheritdoc} 41 | */ 42 | protected function getObject(string $id) 43 | { 44 | return $this->container->get($id); 45 | } 46 | } 47 | --------------------------------------------------------------------------------