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

PHPCSStandards / PHP_CodeSniffer / 14208278472 / 6
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 3.x
DEFAULT BRANCH: master
Ran 01 Apr 2025 11:53PM UTC
Files 263
Run time 3min
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

01 Apr 2025 11:45PM UTC coverage: 76.091% (+0.003%) from 76.088%
14208278472.6

push

github

jrfnl
PHP 8.1 | Tokenizer/PHP: fix nullable type tokenization for readonly properties

The `?` in a type for a `readonly` property declared without visibility, would be tokenized as `T_INLINE_THEN`, not `T_NULLABLE`.

Fixed now.

Includes perfunctory test.
Realistically, a lot more tests are needed for the `T_NULLABLE` vs `T_INLINE_THEN` tokenization, but at least, this is a start and covers the current change.

18802 of 24710 relevant lines covered (76.09%)

25.91 hits per line

Source Files on job os-ubuntu-latest-php-8.1-custom-ini-true - 14208278472.6
  • Tree
  • List 263
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14208278472
  • cd54d60b on github
  • Prev Job for on 4.0 (#14208240732.6)
  • Next Job for on 4.0 (#14230383004.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc