Skip to content

Bring ApiGuide up to date with the apiguide.dev catalogue - #6

Merged
JustSteveKing merged 1 commit into
mainfrom
fix/apiguide-451
Oct 29, 2026
Merged

JustSteveKing merged 1 commit into
mainfrom
fix/apiguide-451

Conversation

@JustSteveKing

Copy link
Copy Markdown
Owner

The scheduled apiguide.dev catalogue workflow has failed every week since 2026-10-19: the catalogue grew and src/Support/ApiGuide.php fell behind.

  • Regenerated with composer apiguide: 17 new types, 38 to 55. Among them endpoint-sunset (410), invalid-signature, missing-signature, idempotency-key-missing, token-revoked, maintenance-mode, feature-disabled and tenant-suspended.
  • Five statuses mapped, each now with exactly one catalogue entry carrying its plain meaning, as the generator asked:
    • 421 misdirected-request (RFC 9110 §15.5.20)
    • 423 resource-locked and 424 failed-dependency (RFC 4918)
    • 425 too-early (RFC 8470)
    • 451 unavailable-for-legal-reasons (RFC 7725)
  • Behaviour change, small: with apiguide on, a plain abort() with one of those five statuses now gets the apiguide.dev type instead of about:blank. Nothing else changes type.
  • The two support tests that count the catalogue go from 38 to 55.

composer apiguide -- --check passes, the full suite passes (2966), PHPStan and Pint are clean.

The weekly catalogue check has failed since 2026-10-19: apiguide.dev
added seventeen types, from date-not-acceptable to
unavailable-for-legal-reasons, taking the catalogue from 38 to 55.
ApiGuide is regenerated, and five statuses that now have exactly one
entry with their plain meaning are mapped, so a plain abort() with
them is typed rather than about:blank: 421 misdirected-request (RFC
9110 section 15.5.20), 423 resource-locked and 424 failed-dependency
(RFC 4918), 425 too-early (RFC 8470) and 451
unavailable-for-legal-reasons (RFC 7725).
@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

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: 471610d6-52f2-4a2e-ab13-35b32cbc5a67
  • 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.

@JustSteveKing JustSteveKing self-assigned this Oct 29, 2026
@JustSteveKing
JustSteveKing merged commit 5f1978f into main Oct 29, 2026
7 checks passed
@JustSteveKing
JustSteveKing deleted the fix/apiguide-451 branch October 29, 2026 13:27
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