Commit Graph

30 Commits

Author SHA1 Message Date
Mohamad Faeez
d2910b14a0 Update on composer.json
Some checks are pending
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 7.4) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.1) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.2) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.3) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.4) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 7.4) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.1) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.2) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.3) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.4) (push) Waiting to run
2025-04-09 14:52:48 +08:00
Mohamad Faeez
18176a821d Minor fix
Some checks are pending
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 7.4) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.1) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.2) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.3) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.4) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 7.4) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.1) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.2) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.3) (push) Waiting to run
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.4) (push) Waiting to run
2025-04-09 14:45:21 +08:00
Matt Bonneau
9e2c1c9bea Added guzzlehttp/psr7 to dev deps 2024-12-05 11:53:03 -05:00
Matt Bonneau
772e465650 Merge commit '6df0bd1b68df5b9774b79c036b9ba31d85ad0d01' into v0.4
# Conflicts:
#	composer.json
#	src/Handshake/ClientNegotiator.php
#	src/Handshake/ServerNegotiator.php
#	tests/ab/clientRunner.php
#	tests/ab/startServer.php
#	tests/unit/Handshake/ServerNegotiatorTest.php
2024-12-04 08:08:29 -05:00
Michael Babker
42a6fd89e0
Code modernization 2021-12-12 18:48:55 -06:00
Michael Babker
fd5a6a86a8
Use latest PHPUnit and modernize test code 2021-12-12 12:35:25 -06:00
Michael Babker
f40306ad5e
Bump minimum PHP to 7.4 2021-12-09 19:21:46 -06:00
Chris Boden
a5ea315fe1
Merge pull request #52 from ratchetphp/updated-docker
Updated docker
2021-12-09 16:30:35 -05:00
Chris Boden
04bc8618a3
Update composer.json
Co-authored-by: Cees-Jan Kiewiet <ceesjank@gmail.com>
2021-12-06 12:32:41 -05:00
Chris Boden
d5c0684ab4 Update AB test runners
Use variable to connect in clientRunner
Use new(ish) `host.docker.internal` address provided by Docker to connect to host machine
Run client tests port 9002 so suites can be run concurrently
2021-12-05 11:58:52 -05:00
Erik Niebla
b6eebb555b Support for PSR7 2.x 2021-12-01 13:59:17 +00:00
Dawid Królak
6df0bd1b68 Merge remote-tracking branch 'upstream/master' 2020-05-14 19:02:31 +02:00
Chris Boden
11f98fc6ff Updating composer 2020-05-07 10:57:39 -04:00
Matt Bonneau
7ef269aca1 Have travis use docker for wstest while testing 2020-04-09 17:39:37 -04:00
Chris Boden
91af8a76d5 quality of life changes
Kill the php server after AB tests are done
Add script runners to composer for ease of use
2019-12-11 10:18:08 -05:00
Matt Bonneau
8944361dbe Update to latest react/socket and drop react/http for tests 2019-12-10 19:22:57 -05:00
Dawid Królak
f9a5094726 Replace guzzle based request/response object with PSR-17 factory 2019-10-16 22:55:59 +02:00
Matt Bonneau
2d10201b00 Change to phpunit 4.8 to support php 5.4 and 5.5 2017-04-20 19:42:30 -04:00
Matt Bonneau
10c7198946 Use full namespace on functions and add oh-unit dev dep 2017-04-19 23:59:18 -04:00
Chris Boden
49cfd1eb50 Updated test coverage 2016-02-20 16:16:11 -05:00
Chris Boden
84db350a66 Fixed invalid json 2016-02-10 10:25:54 -05:00
Chris Boden
3b717eb5b8 Documentation updates 2016-02-10 10:24:33 -05:00
Chris Boden
af15a56cb4 Custom error responses for failed handshake
Including React SocketClient for client tests
Use re-entrants in test server
2015-05-26 19:07:26 -04:00
Chris Boden
791ebaeb24 Replace evenement with callback interface
Use strict ContextInterface instead of event emitter
Keep message/frame within connection, not parser
Expect only 1 of specific WebSocket headers
Non-UTF-8 server tests passing :-)
2015-05-23 12:29:05 -04:00
Chris Boden
c280d8137f Update to PSR-7 v1, update to match API changes 2015-05-22 09:49:14 -04:00
matt
d0202c8c71 Changed deps 2015-03-15 21:49:26 -04:00
Chris Boden
8884b40f00 Update namespace to RFC6455, PHP 5.4 2014-08-30 09:00:56 -04:00
Chris Boden
f93eb36765 Let's keep BC in v0.1 :-) 2014-08-30 08:56:23 -04:00
Chris Boden
33ad0cf24f Updated repo source 2014-08-30 08:39:26 -04:00
Chris Boden
aa6bb1b40e Refactor just RFC6455, Interfaces, Valication 2014-08-30 08:09:39 -04:00