Skip to content

build(deps-dev): bump zircote/swagger-php from 7.5.0 to 7.6.0 - #4922

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 19, 2026

Copy link
Copy Markdown
Contributor

Bumps zircote/swagger-php from 7.5.0 to 7.6.0.

Release notes

Sourced from zircote/swagger-php's releases.

7.6.0

7.6 adds a parser for OpenAPI 3.1 documents. With it, Builder::withDocument() adds a hand-written document to what the attributes describe, for example webhooks with no PHP code behind them. Plugins can now also be found through the packages installed, and a spec build no longer parses PHP files.

Two changes affect the generated document or the log. Changed output in 7.6 has the details.

Changed output

  • Classic and hybrid: a trait imported through a grouped use now adds its properties. Before, they were missing, with a warning. Thanks @​vencakrecl (#2392)
  • Spec and hybrid: validation messages from different checks come out mixed, since the checks now run in one pass (#2367)

New

  • OpenApi\Parser reads an OpenAPI 3.1 document into a Specification, and Builder::withDocument() adds one to a spec or hybrid build. Where both describe the same thing, the attributes win. Only 3.1 documents are supported (#2387, docs, cookbook)
  • Builder::withDiscoveredPlugins() adds the plugins installed packages declare in their Composer metadata. It is opt-in (#2385, docs)
  • Parameter, RequestBody, Response, Header, Link and Security\Scheme take a summary, written beside a $ref from 3.1 on (#2389)

Changed

  • AttributeFactory takes any SourceInspectorInterface. The default SourceInspector tells a class's own members by reflection, so a spec build parses no PHP. A subclass reading $tokenScanner gets the interface (#2373, #2374, docs)
  • A subclass declaring its own $summary on one of those six attributes needs it as public ?string $summary (#2389)

Deprecated

  • TokenScanner, removed in 8.0. Use SourceInspector (#2388)

Fixed

  • A docblock the type resolver fails on is reported as unsupported, and the build carries on. Before, some ended the build (#2393)
  • composer.json no longer conflicts with symfony/process, which swagger-php does not depend on (#2395)

Performance

  • The validation checks share one walk: validate() at 500 schemas went from 97 to 39 ms (#2367)

What's Changed

... (truncated)

Commits
  • 9e782a7 docs(Guide): changed output in 7.6 (#2397)
  • 0b5a3c6 feat(Parser): read an OpenAPI 3.1 document into a Specification (#2387)
  • ad7e8cb fix(Composer): drop the symfony/process conflict (#2395)
  • ceae664 feat(Builder): discover the plugins installed packages declare (#2385)
  • 512c7c4 chore(Augmenter): drop the docblocks on the aware setters (#2384)
  • 47deebd chore(Utils): deprecate TokenScanner (#2388)
  • 271a2f6 fix(Type): report any docblock the type resolver fails on (#2393)
  • 3838ac8 fix(TokenScanner): resolve grouped class imports (#2392)
  • fcbef8d feat(Spec): add a summary beside a $ref on every referenceable attribute (#2389)
  • 1e8fed0 chore(Utils): drop the @​internal tag on SourceInspector::tokens() (#2379)
  • Additional commits viewable 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 7.5.0 to 7.6.0.
- [Release notes](https://github.com/zircote/swagger-php/releases)
- [Commits](zircote/swagger-php@7.5.0...7.6.0)

---
updated-dependencies:
- dependency-name: zircote/swagger-php
  dependency-version: 7.6.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 Nov 19, 2026
@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

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

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0c796c06-bd5f-47d9-b776-67059c956e14

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

This branch has not been deployed

No deployments
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