Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The getInfo() method of ContentCrud tests throws PHP notices, has to be declared as public static.
Comment | File | Size | Author |
---|---|---|---|
#5 | cck.test-notices.5.patch | 1.19 KB | sun |
Comments
Comment #1
sunSorry, but bump ;)
Comment #2
sunThat said, a similar issue also exists in D7:
However, in that case, the function signature of the overridden method is not identical to the parent/original.
Anyway, let's fix D6 first.
Comment #3
yched CreditAttribution: yched commentedCommitted to 6.x-2.X & 6.x-3.X, and fixed the D7 notices as well. Thanks !
Comment #5
sunFixed the new ones that got introduced.... ;)
Comment #6
claudiu.cristeaFor #5.
Comment #7
DamienMcKenna