Add support for message reactions #216
Annotations
11 errors
|
Run PHPStan:
src/PubNub/Endpoints/Endpoint.php#L1
Ignored error pattern #^PHPDoc tag @param has invalid value \(int\{PNStatusCategory\:\:PNUnknownCategory\.\.PNStatusCategory\:\:PNRequestMessageCountExceededCategory\} \$category\)\: Unexpected token "\{", expected variable at offset 21$# in path /home/runner/work/php/php/src/PubNub/Endpoints/Endpoint.php was not matched in reported errors.
|
Run PHPStan:
src/PubNub/Endpoints/Endpoint.php#L563
PHPDoc tag @param has invalid value (int{PNStatusCategory} $category): Unexpected token "{", expected variable at offset 21
|
Run PHPStan:
src/PubNub/Endpoints/MessageActions/AddMessageAction.php#L26
Method PubNub\Endpoints\MessageActions\AddMessageAction::__construct() has parameter $pubnub with no type specified.
|
Run PHPStan:
src/PubNub/Endpoints/MessageActions/AddMessageAction.php#L60
Method PubNub\Endpoints\MessageActions\AddMessageAction::validateParams() has no return type specified.
|
Run PHPStan:
src/PubNub/Endpoints/MessageActions/AddMessageAction.php#L75
Negated boolean expression is always false.
|
Run PHPStan:
src/PubNub/Endpoints/MessageActions/AddMessageAction.php#L92
Method PubNub\Endpoints\MessageActions\AddMessageAction::customParams() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/PubNub/Endpoints/MessageActions/AddMessageAction.php#L102
Method PubNub\Endpoints\MessageActions\AddMessageAction::customHeaders() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/PubNub/Endpoints/MessageActions/AddMessageAction.php#L113
Method PubNub\Endpoints\MessageActions\AddMessageAction::buildData() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/PubNub/Endpoints/MessageActions/AddMessageAction.php#L113
Return type (array) of method PubNub\Endpoints\MessageActions\AddMessageAction::buildData() should be compatible with return type (string|null) of method PubNub\Endpoints\Endpoint::buildData()
|
Run PHPStan:
src/PubNub/Endpoints/MessageActions/AddMessageAction.php#L125
PHPDoc tag @throws with type PubNub\Endpoints\MessageActions\PubNubBuildRequestException is not subtype of Throwable
|
Loading