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

format/functions/no-space-after-name

In the format-laravel and format-psr12 presets. Safe fix.

What it does

When making a method or function call, there MUST NOT be a space between the method or function name and the opening parenthesis.

Configuration

[format.rules]
"functions/no-space-after-name" = true

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

Replaces

More format/functions rules · Edit this page

Last updated on

Was this page helpful?