google_forms/vendor/slevomat/coding-standard/doc/numbers.md

17 lines
625 B
Markdown
Raw Normal View History

2024-08-21 06:34:30 +00:00
## Numbers
#### SlevomatCodingStandard.Numbers.DisallowNumericLiteralSeparator 🔧
Disallows numeric literal separators.
#### SlevomatCodingStandard.Numbers.RequireNumericLiteralSeparator
Requires use of numeric literal separators.
This sniff provides the following setting:
* `enable`: either to enable or not this sniff. By default, it is enabled for PHP versions 7.4 or higher.
* `minDigitsBeforeDecimalPoint`: the minimum digits before decimal point to require separator.
* `minDigitsAfterDecimalPoint`: the minimum digits after decimal point to require separator.
* `ignoreOctalNumbers`: to ignore octal numbers.