Problem/Motivation
The test fails on PHP 8.1 https://www.drupal.org/pift-ci-job/2212609
Steps to reproduce
phpstorm also reports that $finished could be undefined
Proposed resolution
fix code
Remaining tasks
review,commit
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 3245252-12.patch | 1.81 KB | andypost |
| #12 | interdiff.txt | 617 bytes | andypost |
Comments
Comment #2
andypostworkaround patch
Comment #3
andypostLocally can't reproduce it, probably it happens only on very fast machines
Comment #7
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #8
ranjith_kumar_k_u commentedRe-rolled #2
error: patch failed: core/includes/batch.inc:352
error: core/includes/batch.inc: patch does not apply
Comment #9
ricardofaria commented#4 is working for me on 10.1.x-dev
SS attached.
Comment #10
kunalgautam commentedPhpstan issues fixed
Comment #11
andypostFixed
FALSE is default value, looking at usage
no need just fix usage
Comment #12
andypostFix CS
Comment #13
spokjeComment #14
andypostthanks, baseline was added in #3190406: Update PHPStan to level 1
Comment #15
spokjeNo worries, just doing the easy stuff.
You're the one doing the actual hard work... :)
Comment #16
spokje- Code changes make sense
- TestBot is mostly green, failures seem "normal" random ones.
Seems like a nice PHPStan baseline clean-up, RTBC for me.
Comment #18
catchCommitted/pushed to 10.1.x, thanks!