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

format/casts/spacing

In the format-laravel preset. Safe fix.

What it does

A single space or none should be between cast and variable.

Configuration

[format.rules]
"casts/spacing" = true

To skip it in some files, add a @pun-ignore-file comment.

Options

Name Type Allowed values Default Upstream name
space enum none, single "single" space

Replaces

More format/casts rules · Edit this page

Last updated on

Was this page helpful?