Skip to content

Commit

Permalink
composer-patches
Browse files Browse the repository at this point in the history
Modify composer.json to suggest composer-patches for users to enable patching ratchet/rfc6455 on 32bit.
This is a **TEMPORARY** fix for #685, until PR65 has been merged with ratchet or the bug has been resolved otherwise.
  • Loading branch information
key2peace authored Aug 10, 2022
1 parent 2db5b92 commit 64af1a5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,25 @@
"ext-event": "For a faster, and more performant loop.",
"ext-mbstring": "For accurate calculations of string length when handling non-english characters.",
"ext-gmp": "For Permissions and 64 bit calculations on x86 (32 bit) PHP.",
"clue/zlib-react": "For gateway message transport compression with zlib-stream."
"clue/zlib-react": "For gateway message transport compression with zlib-stream.",
"cweagans/composer-patches": "~1.0"
},
"scripts": {
"cs": ["./vendor/bin/php-cs-fixer fix"],
"unit": ["./vendor/bin/phpunit --testdox"],
"coverage": ["XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html coverage --testdox"]
},
"extra": {
"patches": {
"ratchet/rfc6455": {
"32bit support for 2Gb chunks" : "https://patch-diff.githubusercontent.com/raw/ratchetphp/RFC6455/pull/65.patch"
}
},
"composer-exit-on-patch-failure": true
},
"config": {
"allow-plugins": {
"cweagans/composer-patches": true
}
}
}

0 comments on commit 64af1a5

Please sign in to comment.