Skip to content

build(deps-dev): bump zircote/swagger-php from 6.13.0 to 6.14.0 - #4806

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/zircote/swagger-php-6.14.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/zircote/swagger-php-6.14.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 22, 2026

Copy link
Copy Markdown
Contributor

Bumps zircote/swagger-php from 6.13.0 to 6.14.0.

Release notes

Sourced from zircote/swagger-php's releases.

6.14.0

Shorter schemas in spec attributes

Inline properties in spec mode no longer need a Property wrapper each. properties can be keyed by name, with a Schema, a Type or a Format as the value. type takes the new OA\Type enum, and format the new OA\Format enum, which also implies the type in keyed properties. Any other format can still be passed as a string, and a list of Property works as before.

// Before
properties: [
    new OA\Property(property: 'id', schema: new OA\Schema(type: 'string', format: 'uuid')),
    new OA\Property(property: 'name', schema: new OA\Schema(type: 'string')),
    new OA\Property(property: 'createdAt', schema: new OA\Schema(type: 'string', format: 'date-time')),
]
// After
properties: [
'id' => OA\Format::Uuid,
'name' => OA\Type::String,
'createdAt' => OA\Format::DateTime,
]

Both forms are converted in the constructor, so the generated document is the same. See Shortcuts.

Output changes

Classic keeps an explicit minimum, maximum or enum

This changes classic output. Type inference replaced values written in the attribute. Hybrid and spec already kept them, so classic now matches.

/** @var int<1, 10> */
#[OAT\Property(minimum: 5)]
public int $count;
#[OAT\Property(enum: ['cat', 'dog'])]
public Pet $kind;   // Pet is a schema component

# before
count: { type: integer, minimum: 1, maximum: 10 }
kind: { $ref: '#/components/schemas/Pet' }
# after
count: { type: integer, minimum: 5, maximum: 10 }
kind: { enum: [cat, dog] }

An explicit type: Pet::class still becomes a $ref. Also, type: 'long' now gives format: int64 rather than format: long, which is not a format in either specification.

3.0 writes nullable only beside a type

... (truncated)

Commits
  • c5361c2 fix(Builder): quote response codes in hybrid and spec YAML (#2254)
  • 81757de chore(deps-dev): bump @​redocly/cli (#2253)
  • 0f53fbc chore(deps-dev): bump the pinned dev tools, and let dependabot watch them (#2...
  • 4762684 fix(Schema): 3.0 output keeps nullable only beside a type (#2251)
  • 24869dc fix(Type): keep an explicit minimum, maximum or enum in classic type inferenc...
  • 0ab9c65 docs(Types): document which type source wins, and the one-version rule (#2249)
  • 03bdfc3 feat(Spec): a Format enum, and 3.0 formats for contentEncoding and `conte...
  • d7dc2bc feat(Spec): accept properties keyed by name, and a Type enum for type (...
  • cd3f37f docs(Merge): stop calling merged attributes halves (#2246)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [zircote/swagger-php](https://github.com/zircote/swagger-php) from 6.13.0 to 6.14.0.
- [Release notes](https://github.com/zircote/swagger-php/releases)
- [Commits](zircote/swagger-php@6.13.0...6.14.0)

---
updated-dependencies:
- dependency-name: zircote/swagger-php
  dependency-version: 6.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file PHP Pull requests that update Php code labels Oct 22, 2026
@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0df49fb6-c4e1-424f-ae8b-c26b8d12cff3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dependabot @github

dependabot Bot commented on behalf of github Oct 23, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #4817.

@dependabot dependabot Bot closed this Oct 23, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/zircote/swagger-php-6.14.0 branch October 23, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file PHP Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants