Issue Task Resolved

#110845Make backed enum mapping assertions meaningful

Wouter Wolters 09/29/26, 19:24 updated 09/30/26, 07:15

Description

The Extbase DataMapper test uses backed enum fixtures with only one case each, so PHPStan knows two mapping assertions will always pass. Add a second case to each fixture so the assertions can detect an incorrect result, then remove their baseline entries.

Reviews 2

History 15

  1. Wouter Wolters commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-09-30T07:15:09+00:00" > 09/30/26, 07:15 </span>

    Applied in changeset commit:5506dad6d225276a91c85a1348020a0a7b2637b7.