Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2022 at 15:54 UTC
Updated:
27 Sep 2022 at 14:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
_pratik_Comment #4
_pratik_Comment #5
_pratik_Comment #6
neclimdulPerfect thanks.
For committers, this include directly following it looks like it might expose the variable to the included file but the file being included is X.engine like twig.engine. I couldn't find any documentation of this as a feature and it doesn't really make sense because the engine knows what engine it is so cleaning this up seems safe.
I thought about making this minor but left it normal since there technically is a test failure on 10.x even if testbot's optimizations are missing it. I'm really not sure why the branch tests aren't catching it, maybe a bug? Anyways, future changes to this file would run into a code style failure.
Marking RTBC assuming things will come back green.
Comment #7
neclimdulMissed this. Testbot caught a bad file permission change.
@pratik_specbee everything else is fine, can you remove this chunk from your patch?
Comment #8
_pratik_Thanks for repsonse @neclimdul. I will update it.
Comment #9
_pratik_Comment #10
neclimdulthanks
Comment #13
lauriiiAlso noticed this on #3308987: Remove references to Stable.
Committed 434ceca and pushed to 10.1.x. Also cherry-picked to 10.0.x. Thanks!
Comment #14
neclimdulAwesome, thanks! I think I saw that in my search but assumed it didn't have any connection based on the title. 🤦