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

PHPCSStandards / PHP_CodeSniffer / 9191747341
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 22 May 2024 01:03PM 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

22 May 2024 12:57PM UTC coverage: 73.738% (+0.02%) from 73.718%
9191747341

push

github

jrfnl
File::find[Start|End]OfStatement(): add QA tests

This commit adds two QA tests to find potential bugs in the `File::find[Start|End]OfStatement()` methods.

1. It adds a test to ensure that the return value of `File::findStartOfStatement()` is never _after_ the passed `$start` stack pointer.
2. It adds a test to ensure that the return value of `File::findEndOfStatement()` is never _before_ the passed `$start` stack pointer.

The tests use the existing test code, but tests all non-empty tokens within the file.

Note: this test doesn't test that the stack pointer returned is _correct_, only that it _could_ be correct.

17947 of 24339 relevant lines covered (73.74%)

70.97 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
93
84.82
0.06% src/Tokenizers/PHP.php
Jobs
ID Job ID Ran Files Coverage
1 php-8.3-custom-ini-false - 9191747341.1 22 May 2024 01:03PM UTC 260
72.28
GitHub Action Run
2 php-7.2-custom-ini-false - 9191747341.2 22 May 2024 01:04PM UTC 260
69.68
GitHub Action Run
3 php-8.1-custom-ini-true - 9191747341.3 22 May 2024 01:03PM UTC 260
72.31
GitHub Action Run
Source Files on build 9191747341
  • Tree
  • List 260
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9191747341
  • 40190471 on github
  • Prev Build on 4.0 (#9182515288)
  • Next Build on 4.0 (#9221288862)
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

© 2025 Coveralls, Inc