Commit Graph

38 Commits

Author SHA1 Message Date
Mohamad Faeez
7597a8c00a Update namespace
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:54:27 +08: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
Chris Boden
0473a4c224 Merge branch 'master' into v0.3.1 2021-12-07 10:27:26 -05:00
Simon Frings
2b9a7d812e Use GitHub actions for continuous integration (CI) 2021-12-07 11:59:03 +01: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
Matt Bonneau
d9df3419ba Correct ResponseVerifier logic replaces #39 2020-05-14 10:56:29 -04:00
Matt Bonneau
5907e27d90 Remove return types to keep backward compatibility 2020-04-11 22:22:25 -04:00
Matt Bonneau
cdb37b17a4 Separate travis server and client tests 2020-04-11 19:31:44 -04:00
Matt Bonneau
1af7e998b3 Merge branch 'master' into permessage-deflate
# Conflicts:
#	src/Messaging/MessageBuffer.php
#	tests/ab/clientRunner.php
#	tests/ab/run_ab_tests.sh
#	tests/ab/startServer.php
2020-01-22 00:36:05 -05:00
Matt Bonneau
e7b72440c9 Fix requires annotation to skip some tests on 5.6 2019-12-14 14:26:11 -05:00
Matt Bonneau
9d6d7d01d3 Don't run ini_set tests in php 5 because it crashes 2019-12-14 13:10:40 -05:00
Matt Bonneau
bbdd346c1c Test resulting settings from different memory_limits + more tests 2019-12-14 12:52:19 -05:00
Matt Bonneau
cfc9049d13 Make memory limit testable 2019-12-12 13:59:55 -05:00
Matt Bonneau
830e2f561e Allow limits for maximum payload 2019-12-11 13:27:42 -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
cba2acd69d Merge branch 'master' of github.com:ratchetphp/RFC6455 into permessage-deflate
# Conflicts:
#	.travis.yml
#	src/Messaging/MessageBuffer.php
2019-05-01 08:31:47 -04:00
Chris Boden
26ea6c2d45 Add new lines to end of header in tests
Guzzle had a BC break between minor versions throwing an exception if a header wasn’t passed without ending delimiters.
2019-03-11 09:56:19 -04:00
Chris Boden
c62f7cd95f
Merge pull request #30 from jmoo/fix-for-blocking-ops
Null out message buffer before calling onMessage handler
2019-03-10 13:10:42 -04:00
me@jmoo.io
6d7d1b8ff1 Null out message buffer before calling onMessage handler 2018-07-07 17:40:12 -04:00
Matt Bonneau
834de74a29 Suggest correct subprotocol when subprotocol mismatch
Fixes #24
2018-02-10 11:57:48 -05:00
Matt Bonneau
61ffa6aa2a Move sender parameter to maintain BC with previous version 2017-10-30 17:01:32 -04:00
Matt Bonneau
5f7f53e7eb Work on php version support and testing 2017-10-30 17:01:32 -04:00
Matt Bonneau
d7e3c1bc64 Fix MessageBufferTest to match API change 2017-10-30 17:01:32 -04:00
Matt Bonneau
dd636a4058 When not agreeing on a subprotocol in non-strict - send no protocol header field 2017-09-13 09:40:02 -04:00
Matt Bonneau
8128af799a Fix requested changes on PR 2017-09-12 22:33:33 -04:00
Matt Bonneau
78b7137627 Revert BC breaks to ServerNegotiator 2017-09-10 15:10:54 -04:00
Matt Bonneau
10c7198946 Use full namespace on functions and add oh-unit dev dep 2017-04-19 23:59:18 -04:00
Matt Bonneau
4ad549b9e0 Correct Responses in ServerNegotiator add tests 2017-04-19 23:28:04 -04:00
Matt Bonneau
1d0374fd21 Replace recursion in MessageBuffer with loop 2016-12-30 15:35:40 -05:00
Matt Bonneau
7ed72dc4b7 Explode Connection: header to find Update. Fixes #14 2016-07-29 01:27:59 -04:00
Chris Boden
49cfd1eb50 Updated test coverage 2016-02-20 16:16:11 -05:00
Chris Boden
b2bd4607ae Moved tests to align namespace with target 2016-02-15 18:10:53 -05:00
Chris Boden
60ce5e00ff Renamed some classes, less depth 2016-02-08 22:21:56 -05:00
Chris Boden
9f405beccb Added subprotocol check for client, test fixes 2016-02-08 21:43:17 -05:00
Matt Bonneau
dce1ef5272 Rename Unit to unit 2016-01-01 00:40:58 -05:00