Closed (fixed)
Project:
Voting API
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2020 at 05:57 UTC
Updated:
28 Dec 2021 at 23:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pavnish commentedCould you please review this patch
Comment #3
krzysztof domańskiOverridden test methods require void return type hints
Comment #4
tr commentedThis is really a D9 change. In order for this to work in D8 it requires that Voting API increase the PHP requirement to 7.1, which is higher than Drupal core PHP requirement. I'm strongly against imposing requirements different than Drupal core.
Comment #5
krzysztof domańskiRight, Drupal 8.9 still supports PHP 7.0 so it should be postponed until we suport Drupal 8. Drupal 8 will be supported until November 2021.
Comment #6
tr commentedRe-opening now that D8 is EOL and no longer supported. Let's see whether this still applies.
Comment #7
tr commentedPatch still applies but it misses fixing one test case. Not surprising, because that test case was written long after the patch was posted.
Here's a new patch that should do the trick.
Comment #9
tr commentedCommitted #7.