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.
Loading the admin/config/development/testing page on a PHP version lower than 5.5 gives the following error:
PHP Fatal error: Can't use function return value in write context in /Applications/MAMP/htdocs/openfed/profiles/openfed/modules/contrib/webform_clear/webform_clear.test on line 139
Comment | File | Size | Author |
---|---|---|---|
#2 | interdiff.txt | 2.85 KB | stefan.r |
#2 | webform_clear-2250027-testfix-2.patch | 3.59 KB | stefan.r |
#1 | webform_clear-2250027-testfix.patch | 1.22 KB | stefan.r |
Comments
Comment #1
stefan.r CreditAttribution: stefan.r commentedComment #2
stefan.r CreditAttribution: stefan.r commentedFurther improvements to the tests, they pass with Webform 4.x now as well.
Comment #3
adammaloneThis all looks really sane, as well as allowing the testing page to not fatal. Applies cleanly against latest 7.x-2.x
Comment #4
stefan.r CreditAttribution: stefan.r commented