Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
StatsD::prefixData()
is called statically, so it should be static. Otherwise it generates a PHP warning:
Strict warning: Non-static method StatsD::prefixData() should not be called statically in StatsD::prefixData() (line 114 of sites/all/modules/contrib/statsd/includes/statsd.inc).
Comment | File | Size | Author |
---|---|---|---|
#6 | statsd-static-method-6x-2185529-6.patch | 576 bytes | Jonathan Peterson |
#1 | statsd-static-method-2185529-1.patch | 498 bytes | TravisCarden |
Comments
Comment #1
TravisCarden CreditAttribution: TravisCarden commentedComment #2
eporama CreditAttribution: eporama commentedThanks Travis, this certainly took care of the Strict warnings and a simple enough patch to hand verify.
Comment #4
mundanity CreditAttribution: mundanity commentedYikes, sorry for the delay on this, it's been committed to the 7.x-1.x branch.
Comment #6
Jonathan Peterson CreditAttribution: Jonathan Peterson commentedSame patch applied against the 6.x branch. Thanks for the original work Travis.