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. Gerrit Code Review pushed patch set 1 for main to change 96176 status New Under Review 09/29/26, 19:25

  2. Gerrit Code Review pushed patch set 1 for 14.3 to change 96194 09/30/26, 05:37

  3. Gerrit Code Review pushed patch set 2 for main to change 96176 09/30/26, 07:08

  4. Gerrit Code Review pushed patch set 2 for 14.3 to change 96194 09/30/26, 07:08

  5. Wouter Wolters commented and changed status Under Review Resolved done 0 % 100 % 09/30/26, 07:15

    Applied in changeset commit:5506dad6d225276a91c85a1348020a0a7b2637b7.