Problem/Motivation

PHPStan baseline reports Result of function usleep (void) is used. in HoldTestSubscriber.

Proposed resolution

Fix HoldTestSubscriber errors, clean up the baseline.

Comments

mondrake created an issue. See original summary.

mondrake’s picture

Status: Active » Needs review
StatusFileSize
new1.41 KB
mondrake’s picture

pooja saraah’s picture

StatusFileSize
new1.46 KB
new1.38 KB

Couldn't apply the Patch #2 on Drupal 10.0.x
Fixed failed commands on #2
Attached patch against Drupal 10.0.x

longwave’s picture

Status: Needs review » Needs work

Patch does not apply.

Is it simpler to just say

while ((bool) file_get_contents($path)) {
  usleep(static::WAIT);
}

?

ravi.shankar’s picture

Status: Needs work » Needs review
StatusFileSize
new1.38 KB

Rerolled the patch and made changes as per comment #5.

Status: Needs review » Needs work

The last submitted patch, 6: 3317658-6.patch, failed testing. View results

longwave’s picture

Status: Needs work » Needs review

Random fail? Sending it for another try.

longwave’s picture

Status: Needs review » Reviewed & tested by the community

  • catch committed 3af57f4 on 10.0.x
    Issue #3317658 by pooja saraah, mondrake, ravi.shankar, longwave: Fix...
  • catch committed 08b0f54 on 10.1.x
    Issue #3317658 by pooja saraah, mondrake, ravi.shankar, longwave: Fix...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 10.1.x and cherry-picked to 10.0.x, thanks!

Status: Fixed » Closed (fixed)

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