Skip to content

Add support for PHP 8.6 - #74

Open
jnoordsij wants to merge 21 commits into
nette:masterfrom
jnoordsij:php8.6
Open

Add support for PHP 8.6#74
jnoordsij wants to merge 21 commits into
nette:masterfrom
jnoordsij:php8.6

Conversation

@jnoordsij

Copy link
Copy Markdown
  • new feature
  • BC break? no
  • doc PR: n/a

Add support for PHP 8.6, which has recently entered the beta phase (soft feature freeze) and will enter rc phase from September 22 onward. See also https://wiki.php.net/todo/php86.

dg and others added 21 commits August 17, 2026 20:10
Type, Structure and AnyOf report what they accept as a plain array with a
closed Kind vocabulary; child schemas are reported as they are. TypeExpression
is the single translator of the Expect::type() language into that array and
follows Validators::is() exactly (an unknown name is a class, 'int[]' is any
iterable of ints, legacy validator names are Other). JsonSchema::export() is
a pure function over describe() and refuses PHP-only types instead of emitting
a schema the Processor would reject.

Everything is @internal for now so the vocabulary can still change.
…es arrays only according to the schema (BC break)
@dg
dg force-pushed the master branch 5 times, most recently from b0d844f to 246dfb9 Compare September 2, 2026 04:20
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.

2 participants