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

PHPCSStandards / PHP_CodeSniffer / 10173955894
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 31 Jul 2024 04:18AM UTC
Jobs 3
Files 260
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

31 Jul 2024 04:13AM UTC coverage: 74.66% (+0.06%) from 74.597%
10173955894

push

github

jrfnl
Tokenizer/PHP: add tests for heredoc/nowdoc tokenization

The PHP tokenizer contains logic to:
* Retokenize the start/end tokens for nowdocs from `T_(START|END)_HEREDOC` to `T_(START|END)_NOWDOC`;
* Retokenize the _contents_ of a heredoc/nowdoc to `T_HEREDOC`/`T_NOWDOC` tokens.
* Retokenize the start token from `T_START_(HERE|NOW)DOC` to `T_STRING` if the heredoc/nowdoc is unclosed;
* Ensure that each line in the contents has its own token.

This commit adds tests safeguarding and documenting this part of the tokenizer.

17981 of 24084 relevant lines covered (74.66%)

71.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.1-custom-ini-true - 10173955894.1 31 Jul 2024 04:18AM UTC 260
72.41
GitHub Action Run
2 php-7.2-custom-ini-false - 10173955894.2 31 Jul 2024 04:20AM UTC 260
70.55
GitHub Action Run
3 php-8.3-custom-ini-false - 10173955894.3 31 Jul 2024 04:19AM UTC 260
72.38
GitHub Action Run
Source Files on build 10173955894
  • Tree
  • List 260
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10173955894
  • 3d917590 on github
  • Prev Build on 4.0 (#10122702951)
  • Next Build on 4.0 (#10174212554)
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