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

format/imports/clean-namespace

In the format-laravel preset. Safe fix.

What it does

Namespace must not contain spacing, comments or PHPDoc.

Configuration

[format.rules]
"imports/clean-namespace" = true

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

Replaces

More format/imports rules · Edit this page

Last updated on

Was this page helpful?