diff options
author | Bruce Wells <brucekwells@gmail.com> | 2023-08-18 19:11:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-18 19:11:23 +0300 |
commit | 1968057f42210e3f5675d46126a1dc6506616ef3 (patch) | |
tree | 322d148ff35a38737692c2cc75a4414196b15d2b /src/NXP/Classes | |
parent | ad839b7858d31f4025598193b15ac422f11203d2 (diff) |
Phpcs fixer (#129)
* PHPCSFixer V3.23
* Run PHPCSFixer
Diffstat (limited to 'src/NXP/Classes')
-rw-r--r-- | src/NXP/Classes/Tokenizer.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/NXP/Classes/Tokenizer.php b/src/NXP/Classes/Tokenizer.php index 656961a..e3c3e6a 100644 --- a/src/NXP/Classes/Tokenizer.php +++ b/src/NXP/Classes/Tokenizer.php @@ -133,6 +133,7 @@ class Tokenizer $this->allowNegative = false; break; + /** @noinspection PhpMissingBreakStatementInspection */ case 'e' === \strtolower($ch): if (\strlen($this->numberBuffer) && \str_contains($this->numberBuffer, '.')) { @@ -141,6 +142,7 @@ class Tokenizer break; } + // no break // Intentionally fall through case $this->isAlpha($ch): @@ -207,6 +209,7 @@ class Tokenizer continue 2; } + // could be in exponent, in which case negative should be added to the numberBuffer if ($this->numberBuffer && 'e' == $this->numberBuffer[\strlen($this->numberBuffer) - 1]) { $this->numberBuffer .= $ch; |