Skip to content

Fix module CI on Thelia 3: services exclusion and PHPStan errors - #44

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

Copy link
Copy Markdown
Contributor

Fixes what the shared module CI reported against the published Thelia:

  • configureServices() excluded translations through THELIA_MODULE_DIR, which does not point to the module when it lives in local/modules/. Symfony then failed on the I18n classes and the module ran without services. The exclusion is now relative to the module directory.
  • ColissimoPickupPoint is an optional module (composer suggest): OrderAddressColissimoPickupPointQuery is now only used behind class_exists() in LabelService and UpdateDeliveryAddressListener.
  • GenerateLabelListener::generateLabel() typed its parameter with a class of the optional Picking module; it is typed object, the listener is only subscribed when that module is present.
  • Implicit nullable ConnectionInterface parameters are explicit (deprecated in PHP 8.4).
  • Module version bumped to 3.0.3.

@anoziere
anoziere merged commit 90546ba into main Oct 18, 2026
5 checks passed
@anoziere
anoziere deleted the fix/ci-debt branch October 18, 2026 09:18
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