Skip to content

Fix PHPStan failures and remove Smarty leftovers - #18

Merged
anoziere merged 5 commits into
mainfrom
fix/ci-debt
Oct 18, 2026
Merged

anoziere merged 5 commits into
mainfrom
fix/ci-debt

Conversation

@anoziere

@anoziere anoziere commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

The PHPStan job failed on OrderCommentController: it used Front\Front::MESSAGE_DOMAIN, and the Front module no longer exists in Thelia 3. The controller now uses the module's own translation domain (the one its I18n files already declare).

Removed, as Smarty is no longer part of Thelia 3:

  • the Smarty templates of the front office and of the old back office (the Twig equivalents already exist) and the front hook that rendered them
  • the order.comment.comment and order.comment.session.comment loops, not called by any Twig template
  • the loop section of the Readme

Config/config.xml is kept as an empty file: the core fails to boot the module without it.

Also: nullable type on postActivation (PHP 8.4). Version bumped to 3.1.0.

@anoziere
anoziere merged commit 84d0289 into main Oct 18, 2026
5 checks passed
@anoziere
anoziere deleted the fix/ci-debt branch October 18, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant