Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

lint/cashier-13/prefer-stripe-method

Not in any preset. In Rector’s rector-laravel/cashier-13, rector-laravel/up-to-cashier-13, rector-laravel/up-to-cashier-14 sets. Unsafe fix: it can change behavior.

What it does

Renames the Billable stripeOptions() to stripe().

Configuration

[lint.rules]
"cashier-13/prefer-stripe-method" = "error"

To skip it in some files or lines, add an override or an ignore comment.

Replaces

More lint/cashier-13 rules · Edit this page

Last updated on

Was this page helpful?