Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Apr 2022 at 12:10 UTC
Updated:
31 May 2022 at 14:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
spokjeComment #4
spokjeComment #5
mondrakeYes, cruft. In the 10 branch PHPStan also spotted some orphans here, and #3274474: Fix 'Access to an undefined property' PHPStan L0 errors is removing them.
Comment #6
mondrakebtw a D10 patch will require some phpstan baseline cleanup.
Comment #7
spokjeThanks @mondrake for pointing out the D10 phpstan baseline thingy.
I'll leave it up to committers discretion if #3274474: Fix 'Access to an undefined property' PHPStan L0 errors should go in first (which would make this issue obsolete), or we need a D10 patch with the removal of the errors in
core/phpstan-baseline.neonand get both patches in, which would make the mentioned issue (a tiny bit) smaller.Comment #8
mondrake@spokje this one is more complete re the scope it has. The other would only remove a few. Also the other may be D10 only. So I think a D10 patch version of the MR here would do.
Comment #10
spokje@mondrake: Sense = made.
The D10 version and
core/phpstan-baseline.neonpointed out a few I've missed in my original D9.4 MR.So back to NR:
MR!2152:
9.4.x-devMR!2155:
10.0.x-devAttached a interdiff between the 2 MR diffs. It looks a bit wonky for
core/modules/hal/tests/src/Functional/page_cache/PageCacheTest.phpsince that's deleted in10.0.x-dev. In9.4.x-devit's actually removing thedumpHeadersproperty: See hereComment #11
spokjeComment #12
mondrakeThanks 🙏 👍
Comment #13
quietone commentedTests are no longer running on this, it looks like it needs a rebase.
Comment #14
spokjeRebased both MRs
Comment #15
spokjePostponing on new (correct) PHPStan baseline: #3278782: PHPStan baseline is out of sync
Comment #16
spokjeComment #17
mondrakeRerolled the D10 patch after baseline was fixed. Back to RTBC.
Comment #18
alexpottCommitted fdfde8e and pushed to 10.0.x. Thanks!
Committed 1f1cdd2 and pushed to 9.5.x. Thanks!
Committed 87e6164 and pushed to 9.4.x. Thanks!