Skip to content

Point the attribute docblocks to the manual - #111

Merged
koriym merged 2 commits into
1.xfrom
manual-xref
Nov 17, 2026
Merged

koriym merged 2 commits into
1.xfrom
manual-xref

Conversation

@koriym

@koriym koriym commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Docblock-only change to the attribute classes:

  • a one-line description of what each attribute does;
  • @see to the BEAR.Sunday manual section that explains the attribute, when there is one;
  • @see to the interceptor, when exactly one interceptor is bound to the attribute;
  • @param comments state only what the parameter name does not tell.

No signature, attribute or logic change.

Summary by CodeRabbit

  • Documentation
    • Expanded reference documentation for database queries and pagination, including parameter details and links to related guides.
    • Clarified how SQL directory, factory method, and query logging template annotations are used.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Documentation now describes the purpose and parameters of DbQuery and Pager. It also describes the roles of FactoryMethod, SqlDir, and SqlTemplate. No implementation or public declarations changed.

Changes: Annotation documentation

Layer / File(s) Summary
Document annotation purposes and parameters
src/Annotation/DbQuery.php, src/Annotation/Pager.php, src/Annotation/Qualifier/FactoryMethod.php, src/Annotation/Qualifier/SqlDir.php, src/Annotation/SqlTemplate.php
Expanded DbQuery and Pager documentation with purpose and parameter details. Added descriptions of the roles of FactoryMethod, SqlDir, and SqlTemplate.

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

Change: Other

Merge Risk: Minimal · previous review 5bb43

This change only updates documentation comments and does not affect runtime behavior. It is safe to merge.

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 "Point the attribute docblocks to the manual" matches the main change. The objectives and file summaries show docblock-only edits that add one-line descriptions and @see references to the BE…
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 "Point the attribute docblocks to the manual" matches the main change. The objectives and file summaries show docblock-only edits that add one-line descriptions and @see references to the BEAR.Sunday manual across the attribute classes (DbQuery, Pager, FactoryMethod, SqlDir, SqlTemplate). No signatures or logic changed, and the title names that main 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: 3df0bd71-2130-4684-8762-daca7667e2a9
Commits

Reviewing files that changed from the base of the PR and between ad696cb and 5bb4377.

Files selected for processing: 5

  • src/Annotation/DbQuery.php
  • src/Annotation/Pager.php
  • src/Annotation/Qualifier/FactoryMethod.php
  • src/Annotation/Qualifier/SqlDir.php
  • src/Annotation/SqlTemplate.php

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

@koriym
koriym merged commit 6e1e341 into 1.x Nov 17, 2026
28 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