Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
False positives are raised for Drupal.Commenting.FunctionComment.InvalidNoReturn when yield is used.
False positives are raised for Drupal.Commenting.FunctionComment.InvalidNoReturn when yield is used.
Comments
Comment #2
mfernea CreditAttribution: mfernea at AmeXio commentedHere is the pull request: https://github.com/pfrenssen/coder/pull/8
Comment #3
mfernea CreditAttribution: mfernea at AmeXio commentedThe test is failing on PHP 5.4 because yield was introduced in PHP 5.5 and PHPCS_T_YIELD is not available hence T_YIELD is not available too. I don't know how to fix this.
Comment #5
klausiCommitted, thanks!