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
no_mixed_echo_print(php-cs-fixer)