Skip to content

CONV-257: Create CreditPack enum#226

Merged
menvil merged 1 commit into
developfrom
feature/CONV-257-create-credit-pack-enum
Jun 2, 2026
Merged

CONV-257: Create CreditPack enum#226
menvil merged 1 commit into
developfrom
feature/CONV-257-create-credit-pack-enum

Conversation

@menvil

@menvil menvil commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds App\Enums\Billing\CreditPack backed string enum with Small, Medium, Large cases
  • No Stripe-specific logic in the enum
  • Unit test confirms all three case values

Test plan

  • tests/Unit/Billing/CreditPackEnumTest.php — verifies small, medium, large values
  • composer test passes (460 tests)
  • composer lint passes

🤖 Generated with Claude Code


Summary by cubic

Implements CONV-257 by adding App\Enums\Billing\CreditPack (string-backed) with Small, Medium, Large cases, standardizing keys to small, medium, large.
Includes a unit test to verify these values.

Written for commit acb6800. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 66f6727c-c8a8-4d5f-8940-24dfad5a0f7c

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/CONV-257-create-credit-pack-enum

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 and usage tips.

@menvil menvil merged commit 5019563 into develop Jun 2, 2026
4 checks passed
@menvil menvil deleted the feature/CONV-257-create-credit-pack-enum branch June 2, 2026 18:29
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