Problem/Motivation

Drupal 11.2 upgrades to justinrainbow/json-schema to 6.3 which improves the schema validations. This leads to validations errors based on wrong ref imports.

Steps to reproduce

Run tests.

  [props.properties.enum_integer.enum] There must be a min  
  imum of 1 items in the array, 0 found                     

Proposed resolution

Fix ref imports.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

christian.wiedemann created an issue. See original summary.

christian.wiedemann’s picture

Status: Active » Needs review
grimreaper’s picture

Just one comment about PHPStan and PHPMD.

christian.wiedemann’s picture

pdureau’s picture

Status: Needs review » Needs work
christian.wiedemann’s picture

christian.wiedemann’s picture

christian.wiedemann’s picture

Assigned: pdureau » Unassigned
Status: Needs work » Fixed
pdureau’s picture

Title: Pattern Validation fails with Drupal 11.2 » [2.0.6] Pattern Validation fails with Drupal 11.2
pdureau’s picture

Status: Fixed » Closed (fixed)