You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer with Storefront customizations, I want to know which of my overrides no longer attach to anything, so that I find dead customizations before a customer does.
Problem
An override that points at a moved template, or overrides a block that no longer exists, produces no build error and often no render error. It simply stops applying.
The upgrade report shows this happening. Commit 1408e920, "Corrected a Storefront block reference for Shopware 6.7.0.1", landed after the merge. The report also states that most Storefront work in that migration came from core-template drift.
Nothing in the CLI looks at the relationship between an override and its target. Developers find these by loading pages and looking.
An agency partner reviewing the wizard called Storefront override risk the interesting part of the proposal.
Implementation decisions
New verifier tool over config.StorefrontDirectories and config.AdminDirectories, resolving core templates from vendor/shopware/. Offline, no network.
Two checks only:
Does the sw_extends target file exist.
Does each overridden block name exist in that target.
Reuse the Twig parsing in internal/verifier/twiglinter/. No new parser.
Findings are manual, owned by the developer. The CLI must not guess a replacement block name. A wrong guess breaks a shop silently.
Both findings are errors, not warnings. Each one is a customization that is definitively not applied.
Combined with --target-version, this answers the question before the upgrade runs.
Out of scope
Detecting changed block bodies, drift hashing, baseline files, ranking by size of change. This ships the certain half first.
Suggesting replacement blocks or migrating templates.
Visual, layout, or accessibility checks.
Acceptance criteria
On 3 or more projects that completed a 6.6 → 6.7 upgrade, the check finds at least 90% of the override breakages those projects fixed by hand, verified against their fix commits.
False positive rate under 5% on the same set. A noisy check trains developers to ignore it.
Runs in under 10 seconds on a project with 100 overridden templates.
Activity
lasomethingsomething commentedon Aug 3, 2026
Ping Storefront