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

format/statements/no-mixed-echo-print

In the format-laravel preset. Safe fix.

What it does

Either language construct print or echo should be used.

Configuration

[format.rules]
"statements/no-mixed-echo-print" = true

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

Options

Name Type Allowed values Default Upstream name
use enum print, echo "echo" use

Replaces

More format/statements rules · Edit this page

Last updated on

Was this page helpful?