Skip to content

chore(deps): add doctrine/orm-plugin-second-level-cache - #206

Merged
smarcet merged 1 commit into
mainfrom
chore/doctrine-slc-plugin
Nov 24, 2026
Merged

smarcet merged 1 commit into
mainfrom
chore/doctrine-slc-plugin

Conversation

@smarcet

@smarcet smarcet commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

ref: https://app.clickup.com/t/1k5eh578mb6

Summary

Adds doctrine/orm-plugin-second-level-cache 1.0.2, so the application keeps booting once doctrine/orm moves to 3.8.

doctrine/orm 3.8.0 has a documented BC break: enabling the second level cache throws a LogicException unless that package is installed. The application enables the cache in config/doctrine.php, and AccessToken, Client and RefreshToken use it. The Dependabot grouped update #192 resolves doctrine/orm to 3.8.0 and fails at php artisan package:discover with that exception.

Changes

  • composer.json and composer.lock: the new package, pinned to 1.0.2 like the other dependencies. No other package changes.

About the package

It is a marker: one file with an empty class. The second level cache code stays in doctrine/orm. It has no requirements of its own, so it installs with the current doctrine/orm 3.7.6 and changes nothing there.

Tests

Summary by CodeRabbit

  • Chores
    • Updated the project’s internal configuration. No changes to app features or behavior are visible to end users in this release.

doctrine/orm 3.8.0 refuses to enable the second level cache unless this package is installed. The application enables that cache in config/doctrine.php and three OAuth2 entities use it, so any update that resolves doctrine/orm to 3.8 fails when the application boots. The package is a single empty marker class and installs with the current 3.7.6 as well.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Composer now requires doctrine/orm-plugin-second-level-cache version 1.0.2 as a runtime dependency.

Changes: Runtime dependency

Layer / File(s) Summary
Add the Composer requirement
composer.json
Composer adds doctrine/orm-plugin-second-level-cache version 1.0.2 to the require dependencies.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: romanetar

Merge Risk: Minimal · up to 12a67 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: adding the doctrine/orm-plugin-second-level-cache package as a dependency. The raw summary confirms that composer.json gained this package at version 1.0.2. The conven…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: adding the doctrine/orm-plugin-second-level-cache package as a dependency. The raw summary confirms that composer.json gained this package at version 1.0.2. The conventional commit prefix 'chore(deps):' matches a dependency-only change. The title is concise and specific, so a teammate scanning history can identify the change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

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: 61c50d6d-5da2-4116-a567-24fbcdafd08d
Commits

Reviewing files that changed from the base of the PR and between d49cdef and 12a67fd.

Files ignored due to path filters: 1

  • composer.lock is excluded by !**/*.lock
Files selected for processing: 1

  • composer.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@github-actions

Copy link
Copy Markdown

📘 OpenAPI / Swagger preview

➡️ https://OpenStackweb.github.io/openstackid/openapi/pr-206/

This page is automatically updated on each push to this PR.

@smarcet smarcet self-assigned this Nov 24, 2026
@smarcet
smarcet merged commit b7e97c0 into main Nov 24, 2026
10 checks passed
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