• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPCSStandards / PHP_CodeSniffer / 44530033986
80%
master: 79%

Build:
Build:
LAST BUILD BRANCH: big-switch
DEFAULT BRANCH: master
Ran 19 Nov 2026 01:06PM UTC
Jobs 8
Files 265
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Nov 2026 01:05PM UTC coverage: 80.132% (+0.007%) from 80.125%
44530033986

push

github

web-flow
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

Jobs
ID Job ID Ran Files Coverage
1 cbf-os-ubuntu-latest-php-8.5-custom-ini-true - 44530033986.1 19 Nov 2026 01:09PM UTC 265
2.33
GitHub Action Run
2 os-ubuntu-latest-php-8.5-custom-ini-true - 44530033986.2 19 Nov 2026 01:09PM UTC 265
76.71
GitHub Action Run
3 os-ubuntu-latest-php-7.2-custom-ini-false - 44530033986.3 19 Nov 2026 01:11PM UTC 265
76.24
GitHub Action Run
4 cbf-os-ubuntu-latest-php-7.2-custom-ini-false - 44530033986.4 19 Nov 2026 01:11PM UTC 265
1.3
GitHub Action Run
5 os-windows-latest-php-7.2-custom-ini-false - 44530033986.5 19 Nov 2026 01:06PM UTC 265
2.3
GitHub Action Run
6 cbf-os-ubuntu-latest-php-8.5-custom-ini-false - 44530033986.6 19 Nov 2026 01:09PM UTC 265
2.33
GitHub Action Run
7 os-windows-latest-php-8.5-custom-ini-false - 44530033986.7 19 Nov 2026 01:07PM UTC 265
2.68
GitHub Action Run
8 os-ubuntu-latest-php-8.5-custom-ini-false - 44530033986.8 19 Nov 2026 01:09PM UTC 265
76.8
GitHub Action Run
Source Files on build 44530033986
  • Tree
  • List 265
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44530033986
  • 6e3c227b on github
  • Prev Build on 4.x (#44451143549)
  • Next Build on 4.x (#44534094320)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc