- Status changed to Needs review
about 2 years ago 7:48am 27 February 2023 - 🇮🇳India TanujJain-TJ
Reviewed #25 with drupal:10.1.x, the patch applied successfully attaching screenshot for reference. it replaced all
array()
with[ ]
. RTBC +1 - Status changed to Needs work
about 2 years ago 8:59pm 28 February 2023 - 🇺🇸United States smustgrave
#15 still needs to happen.
patch #25 is adding an additional change from the reroll
- * A prefix that will be added at the beginning of every lines of the output. + * A prefix that will be added at the beginning of + * every lines of the output. *
Failure is a legitimate one.
@TanujJain-TJ thank you for looking but you don't need to provide a screenshot of the patch applying as that's shown by the CI build
- Merge request !9467Variable::export should export use short-hand array synta → (Open) created by quietone
- Status changed to Needs review
8 months ago 10:36am 11 September 2024 - Status changed to RTBC
8 months ago 4:35pm 13 September 2024 - 🇺🇸United States smustgrave
Don't believe a follow up is needed as the code in question at that time doesn't appear to be changed.
Rest seems pretty straight forward. The added periods surprised haven't been picked up before by a check.
- Status changed to Needs work
8 months ago 5:53pm 13 September 2024 - 🇬🇧United Kingdom alexpott 🇪🇺🌍
So the problem with only fixing the non var_export() path is that makes this method do both short and long array syntax. We also have a problem that we don't consistently use this method. We probably should be using \Drupal\Component\Utility\Variable::export in \Drupal\Core\Site\SettingsEditor::exportSingleSettingToPhp and other places in core where we use var_export. In an ideal world https://wiki.php.net/rfc/var-export-array-syntax would have landed in PHP. But for now we should be adding a follow-up to the var_export path as requested by #15 because this change leaves this method in an inconsistent state.
- 🇳🇿New Zealand quietone
Follow up made, 📌 Variable::export uses var_export which does not use short array syntax Active
- 🇺🇸United States smustgrave
#35 appears to be addressed. Surprised the pipeline shows red when https://git.drupalcode.org/project/drupal/-/pipelines/292903 is green.
-
alexpott →
committed cf8f4990 on 11.x
Issue #2959551 by quietone, kaythay, nikhil_110, alexpott, smustgrave,...
-
alexpott →
committed cf8f4990 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.