format/statements/numeric-literal-separator
Not in any preset. Safe fix.
What it does
Adds separators to numeric literals of any kind.
Configuration
[format.rules]
"statements/numeric-literal-separator" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
override-existing |
bool |
Any | false |
override_existing |
strategy |
enum |
use-separator, no-separator |
"use-separator" |
strategy |
Replaces
numeric_literal_separator(php-cs-fixer)readable-literal(mago-linter)