Commit Graph

284 Commits

Author SHA1 Message Date
Mohamad Faeez
1c0302df75 Minor update
Some checks failed
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 7.4) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.1) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.2) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.3) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.4) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 7.4) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.1) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.2) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.3) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.4) (push) Has been cancelled
2025-04-09 15:19:47 +08:00
Mohamad Faeez
82be81b570 Minor update
Some checks failed
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 7.4) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.1) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.2) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.3) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (client, ubuntu-22.04, 8.4) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 7.4) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.1) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.2) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.3) (push) Has been cancelled
CI / PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }}) on ${{ matrix.os }} (server, ubuntu-22.04, 8.4) (push) Has been cancelled
2025-04-09 15:03:48 +08:00
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
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
859d95f85d
Merge pull request #60 from ratchetphp/v0.4
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
PHP 7.4 as new minimum requirement and PHP 8 compatibility
2025-02-23 20:18:22 -05:00
Matt Bonneau
3a6e857170 Implicitly nullable parameters deprecated 2024-12-05 17:00:38 -05:00
Matt Bonneau
9e2c1c9bea Added guzzlehttp/psr7 to dev deps 2024-12-05 11:53:03 -05:00
Matt Bonneau
2c2ace1397 Update version numbers 2024-12-04 08:12:18 -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
Matt Bonneau
43043372a9 Fix test running calling resolve without parameter 2024-12-03 16:23:05 -05:00
Matt Bonneau
2aedfd27a7 Merge commit '42a6fd89e072c4adf090eeaf7be850cf41951c48' into v0.4 2024-12-03 16:22:38 -05:00
Matt Bonneau
58b29fb4a3 Correct resolve on deferred in test runner 2024-12-03 13:12:56 -05:00
Matt Bonneau
345fab10e6 Update github ci with new PHP versions 2024-12-03 09:54:20 -05:00
Matt Bonneau
191926dd3f Merge branch 'master' into v0.4 2024-12-03 09:44:59 -05:00
Chris Boden
82760a7616
Merge pull request #66 from Domochip/master
Fix PR65 Undefined variable
2022-08-18 07:58:48 -04:00
DomoChip
fe3db0a5d8 Fix PR65 Undefined variable 2022-08-18 08:01:15 +02:00
Chris Boden
382a3ed941
Merge pull request #65 from Domochip/master
Handle up to 2GB payload on PHP32bits
2022-08-13 10:30:10 -04:00
DomoChip
93050e65a0 typo 2022-06-30 17:38:45 +02:00
DomoChip
0050245eb4 Raise error if frame is over 2GB on 32bits PHP 2022-06-30 17:23:29 +02:00
DomoChip
c018f30d0c Handle 2GB payload on PHP32bits 2021-12-16 12:40:47 +01:00
Michael Babker
42a6fd89e0
Code modernization 2021-12-12 18:48:55 -06:00
Chris Boden
5d67378e09
Merge pull request #61 from mbabker/phpunit-upgrade
[0.4] Use latest PHPUnit and modernize test code
2021-12-12 14:25:53 -05:00
Michael Babker
fd5a6a86a8
Use latest PHPUnit and modernize test code 2021-12-12 12:35:25 -06:00
Chris Boden
02dca5e4f6
Merge pull request #55 from mbabker/patch-1
[0.4] Bump minimum PHP to 7.4
2021-12-10 12:22:42 -05:00
Michael Babker
f40306ad5e
Bump minimum PHP to 7.4 2021-12-09 19:21:46 -06:00
Chris Boden
7c964514e9
Merge pull request #54 from ratchetphp/v0.3.1
v0.3.1
2021-12-09 18:20:49 -05:00
Chris Boden
be65d56653 Update license file with only start date 2021-12-09 17:45:24 -05:00
Chris Boden
09bdf3bbce Remove unreachable code 2021-12-09 16:39:04 -05:00
Chris Boden
a5ea315fe1
Merge pull request #52 from ratchetphp/updated-docker
Updated docker
2021-12-09 16:30:35 -05:00
Chris Boden
edd5ca364b Merge branch 'master' into updated-docker 2021-12-08 09:12:39 -05:00
Chris Boden
cae895b399
Merge pull request #57 from SimonFrings/docker
Fix docker command to run server tests with GitHub actions
2021-12-08 09:10:14 -05:00
Simon Frings
30f6b14634 Fix docker command to run server tests with GitHub actions 2021-12-08 08:53:53 +01:00
Chris Boden
0473a4c224 Merge branch 'master' into v0.3.1 2021-12-07 10:27:26 -05:00
Chris Boden
7610659ff1
Merge pull request #56 from SimonFrings/actions
Use GitHub actions for continuous integration (CI)
2021-12-07 09:09:31 -05:00
Simon Frings
2b9a7d812e Use GitHub actions for continuous integration (CI) 2021-12-07 11:59:03 +01:00
Chris Boden
ebe17ed644
Merge pull request #53 from ratchetphp/cap-frame-size-#41
Ensure max[Message|Frame]PayloadSize is int if auto-set
2021-12-06 20:04:04 -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
5ce83bb58a change int syntax 2021-12-05 20:02:16 -05:00
Chris Boden
4835534e74 Ensure max[Message|Frame]PayloadSize is int if auto-set
fixes #41
2021-12-05 17:12:49 -05:00
Chris Boden
1c6e6ed087 Rever use of host.docker.internal
It's only supported on macOS
2021-12-05 17:04:01 -05:00
Chris Boden
ef9dbe8dfe
Merge pull request #46 from 3kbest/pr81
silence PHP 8.1 deprecations
2021-12-05 16:51:02 -05:00
Chris Boden
2dade043ac
Merge pull request #47 from erikn69/support_psr7_2_0
Support for PSR7 2.x
2021-12-05 16:49:15 -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
Eirik Besteland
79c3dd3924 Add ReturnTypeWillChange attribute to silence PHP 8.1 deprecations 2021-11-20 01:59:07 +01:00
Matt Bonneau
fb8cf474be
Merge pull request #42 from matkomat/fix-with
Add missing return statements
2020-12-11 12:13:07 -05:00
Matko Andjelinic
855fa14031 added missing return of with methods 2020-10-24 09:27:43 +02:00
Chris Boden
c8651c7938
Merge pull request #40 from ratchetphp/response_verifier
Correct ResponseVerifier logic
2020-05-15 14:31:24 -04:00
Dawid Królak
6df0bd1b68 Merge remote-tracking branch 'upstream/master' 2020-05-14 19:02:31 +02:00