Page MenuHomeDevCentral

DEPRECATED hash_hmac(): Passing null to parameter #2 ($data) of type string is deprecated in src/XHubSignature.php on line 73.
Open, HighPublic

Description

rKGH uses:

src/XHubSignature.php
public function compute () {
    return hash_hmac($this->hashAlgo, $this->payload, $this->secret);
}

When used by constructing the XHubSignature class instead of using a static helper method, it's possible NOT to define payload. In that case, the payload has a null value where an empty string is expected.

Event Timeline

dereckson triaged this task as High priority.Wed, Oct 16, 22:42
dereckson created this task.