We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37a0cd4 commit 3e47c19Copy full SHA for 3e47c19
1 file changed
src/SDK.php
@@ -77,6 +77,10 @@ public function platform()
77
public function createSubscription(string $type = 'WebSocket')
78
{
79
if ($type == 'Pubnub') {
80
+ trigger_error(
81
+ 'PubNub support is deprecated. Please migrate your application to WebSockets.',
82
+ E_USER_DEPRECATED
83
+ );
84
return new PubnubSubscription($this->_platform);
85
}
86
if (empty($this->websocket())) {
0 commit comments