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

PHPCSStandards / PHP_CodeSniffer / 7317280118
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 24 Dec 2023 10:53PM UTC
Jobs 3
Files 257
Run time 16s
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

24 Dec 2023 10:52PM UTC coverage: 63.999% (+0.03%) from 63.97%
7317280118

push

github

jrfnl
Improve test coverage of the LanguageConstructSpacing sniff

This sniff has an `else if` condition
(https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/c85534876/src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php#L131)
to handle language constructs that are followed by some content without
a space or opening parenthesis first. This code was not exercised by the
automated tests.

This commit adds a few examples to make sure this part of the code is
covered.

15121 of 23627 relevant lines covered (64.0%)

5.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-7.2-custom-ini-false - 7317280118.1 24 Dec 2023 10:54PM UTC 257
59.97
GitHub Action Run
2 php-8.0-custom-ini-true - 7317280118.2 24 Dec 2023 10:53PM UTC 257
63.09
GitHub Action Run
3 php-8.3-custom-ini-false - 7317280118.3 24 Dec 2023 10:53PM UTC 257
63.13
GitHub Action Run
Source Files on build 7317280118
  • Tree
  • List 257
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #7317280118
  • ba512f51 on github
  • Prev Build on 4.0 (#7317118224)
  • Next Build on 4.0 (#7317383522)
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