|
Ran
|
Jobs
8
|
Files
265
|
Run time
1min
|
Badge
README BADGES
|
push
github
Tokenizer/PHP: improve support for b-prefix binary string typecast [2] (#1530) PHP 5.2.1 introduced both the `(binary)` type cast as well as a `b` prefix for binary string type casts. Support for this was originally added in https://github.com/squizlabs/PHP_CodeSniffer/commit/66230c8b4 in response to squizlabs/PHP_CodeSniffer 371 and was updated via commit https://github.com/squizlabs/PHP_CodeSniffer/commit/f36eecf11 in response to squizlabs/PHP_CodeSniffer 1574. Turns out this `b`-prefix is also supported for nowdoc and heredoc structures, while this wasn't accounted for in the tokenizer. Fixed now. Includes tests.
8 of 8 new or added lines in 1 file covered. (100.0%)
19928 of 24869 relevant lines covered (80.13%)
101.22 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|