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

PHPCSStandards / PHP_CodeSniffer / 11586820415
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: fix/missing-static-token
DEFAULT BRANCH: master
Ran 30 Oct 2024 04:12AM UTC
Jobs 3
Files 262
Run time 2min
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

30 Oct 2024 04:07AM UTC coverage: 74.165% (+0.005%) from 74.16%
11586820415

push

github

jrfnl
Squiz/PostStatementComment: use a different error code for annotations (#627)

This commit changes `Squiz.Commenting.PostStatementComment` to use a
different error code when an annotation is found. This will allow
ruleset maintainers to selectively exclude the flagging of trailing
annotations from their ruleset. For example, for PHPCS itself, this will
make it possible to use the `// @codeCoverageIgnore` annotation where
needed.

An annotation is defined as any comment that starts with an optional
space, followed by a `@` and any character, as long as it is not a
whitespace. For now, only `//` comments are supported as this is the only
type of comment supported by this sniff.

This change only applies to PHP code as support for JS will be dropped
soon, and JS doesn't seem to follow the same convention of annotations
starting with `@`.

4 of 4 new or added lines in 1 file covered. (100.0%)

18134 of 24451 relevant lines covered (74.16%)

72.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.3-custom-ini-false - 11586820415.1 30 Oct 2024 04:12AM UTC 0
72.71
GitHub Action Run
2 php-7.2-custom-ini-false - 11586820415.2 30 Oct 2024 04:13AM UTC 0
70.13
GitHub Action Run
3 php-8.1-custom-ini-true - 11586820415.3 30 Oct 2024 04:12AM UTC 0
72.74
GitHub Action Run
Source Files on build 11586820415
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11586820415
  • ae519835 on github
  • Prev Build on 4.0 (#11568800590)
  • Next Build on 4.0 (#11587290919)
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