Skip to content

fix(php): validate string patterns - #3414

Open
schani wants to merge 1 commit into
masterfrom
fix/php-string-pattern
Open

fix(php): validate string patterns#3414
schani wants to merge 1 commit into
masterfrom
fix/php-string-pattern

Conversation

@schani

@schani schani commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

  • enforce schema regex patterns in generated validation
  • escape the generated PHP regex delimiter

Tests

  • npm run build
  • npm run lint
  • FIXTURE=schema-php npm run test:fixtures -- test/inputs/schema/pattern.schema

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Generated-output differences

3 files differ — 3 modified, 0 new, 0 deleted
15 changed lines — +15 / −0

Open the generated-output report →

Base automatically changed from fix/php-string-length to master September 1, 2026 21:26
@schani
schani force-pushed the fix/php-string-pattern branch from aa0c358 to b9251ec Compare September 1, 2026 21:29
@schani
schani force-pushed the fix/php-string-pattern branch from b9251ec to 0b3c85d Compare September 1, 2026 21:30
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Generated-output differences

3 files differ — 3 modified, 0 new, 0 deleted
15 changed lines — +15 / −0

Open the generated-output report →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant