Page MenuHomeDevCentral

Switch Smarty from bundled library to Composer package
ClosedPublic

Authored by dereckson on Oct 19 2025, 21:38.
Tags
None
Referenced Files
F18187660: D3778.id9788.diff
Thu, Dec 18, 11:52
Unknown Object (File)
Tue, Dec 16, 03:01
Unknown Object (File)
Tue, Dec 16, 03:01
Unknown Object (File)
Tue, Dec 16, 03:01
Unknown Object (File)
Tue, Dec 16, 03:00
Unknown Object (File)
Tue, Dec 16, 03:00
Unknown Object (File)
Tue, Dec 16, 03:00
Unknown Object (File)
Tue, Dec 16, 03:00
Subscribers
None

Details

Summary

Smarty was previously bundled with the application.

This change requires Smarty as a Composer package.

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
main
Build Status
Buildable 6049
Build 6333: arc lint + arc unit

Event Timeline

dereckson created this revision.

This is a more straightforward compared to the Zed same change:

  • we already have a method to initialize the template engine in Context class
  • we don't have custom plugin

But see also this big Smarty templates upgrade for PHP 8.1 where extra logic for Azhàr variables have been added to the engine class.

This revision is now accepted and ready to land.Oct 19 2025, 21:43