Repository navigation
v1.2.1
A maintenance release from a full release-testing pass (Rector, phpcs/phpmd, phpstan level 8, dependency floors, the complete test suite, a coverage-gap scan, docs refresh and a code review). No runtime behaviour changes — the fixes are in test infrastructure, packaging and documentation.
Fixed
- Test autoloading under a host shop. Two Client-suite test files fatal-errored (
Trait/Class not found) whenever they ran through a consuming shop's own Composer autoloader — the normal way these tests actually run — because their fixture classes lived only inautoload-dev, which a consumer never installs. The two fixture sub-namespaces are now exposed via regularautoload, the same patternspryker/testifyuses for its own test helpers. - Two Presentation tests that could never pass hard-asserted
fulltext_synonymscontent, but the demo shop'spage.jsonconfigures no synonym filter at all. Both are now fail-soft (skip with a comment), matching the convention this suite already uses for legitimately environment-dependent traces. - 5 phpcs docblock mismatches in
CheckInstallationControllerTest's inline fake container. - README: documented the required
search-debug-product-wrapperdiv in installation step 6 (a real gap found by a fresh install walkthrough), and corrected the stale test count.
Coverage
Two remaining 0%-coverage classes closed, both now at 100%: ComponentConfigController (permission gate, parameter validation, not-found handling) and SearchDebugTwigPlugin (token-colour assignment, including wraparound and duplicate-token collapsing).
Current suite: 303 tests — 154 Client, 126 Yves, 23 Presentation/WebDriver — all green, with phpcs, phpmd, Rector, composer validate --strict and dependency-floor checks clean on PHP 8.3 and 8.4.
What's Changed
- Release-testing pass: real bugs found and fixed by @andrebarthelmeshellmuth in andrebarthelmeshellmuth/spryker-search-debug#22
Full Changelog: andrebarthelmeshellmuth/spryker-search-debug@v1.2.0...v1.2.1