Issue: We are getting below warning visible on the drupal 7 site after upgrading the PHP version to 7.3.

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in drupal7/sites/all/modules/contrib/nodeaccess/nodeaccess_uuid/nodeaccess_uuid.module on line 74

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

minakshiPh created an issue. See original summary.

minakshiPh’s picture

Status: Active » Needs review
FileSize
4.32 KB
622 bytes

Hi,

I have re-rolled the parent issue patch https://www.drupal.org/project/nodeaccess/issues/2784321#comment-11544809 to fix this warning.

Also uploaded diff of the parent issue patch https://www.drupal.org/project/nodeaccess/issues/2784321#comment-11544809 with this patch.

Please review.

Thanks,
minakshiPh

alison’s picture

@minakshiPh Hi and thank you!

I can't review this yet (or the other issue your submitted re: UUID module), but I will try to do so ASAP this week, just didn't want to leave you with continued radio silence.

priyanka.tawde’s picture

Status: Needs review » Reviewed & tested by the community

Hi,

I have checked and issued is fixed after applying the above patch.

  • ElusiveMind committed ddbc332 on 8.x-1.x
    Issue #3133708 by minakshiPh: Warning: "continue" targeting switch is...
ElusiveMind’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.