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

PHPCSStandards / PHP_CodeSniffer / 11586688823
79%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2024 03:58AM UTC
Jobs 3
Files 309
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

30 Oct 2024 03:54AM UTC coverage: 75.878% (+0.004%) from 75.874%
11586688823

push

github

web-flow
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 `@`.

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

23476 of 30939 relevant lines covered (75.88%)

63.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-5.4-custom-ini-false - 11586688823.1 30 Oct 2024 04:20AM UTC 0
69.54
GitHub Action Run
2 php-8.3-custom-ini-false - 11586688823.2 30 Oct 2024 03:58AM UTC 0
71.14
GitHub Action Run
3 php-7.2-custom-ini-true - 11586688823.3 30 Oct 2024 04:00AM UTC 0
68.19
GitHub Action Run
Source Files on build 11586688823
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11586688823
  • 0d3cab53 on github
  • Prev Build on master (#11568763472)
  • Next Build on master (#11587281421)
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