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

PHPCSStandards / PHP_CodeSniffer / 12129060558
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: catch-per-3.0
DEFAULT BRANCH: master
Ran 02 Dec 2024 10:26PM UTC
Jobs 8
Files 262
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

02 Dec 2024 10:25PM UTC coverage: 76.725% (+0.004%) from 76.721%
12129060558

push

github

jrfnl
Generic/CyclomaticComplexity: ensure the sniff bails if `scope_closer` is not set

Quoting @jrfnl: "Only checking for the scope_opener, when
accessing/using both the scope_opener and scope_closer indexes, is
probably fine in practical terms. However, the part of the code base
which sets these indexes is not sufficiently covered by tests, nor does
it document that those indexes will only be set if both can be set, so
there may be edge case exceptions" (https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/684#discussion_r1865313147).

The sniff was already working fine before this change. Checking if
`scope_closer` is just an extra precaution to err on the side of caution.

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

18859 of 24580 relevant lines covered (76.72%)

75.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 os-windows-latest-php-7.2-custom-ini-false - 12129060558.1 02 Dec 2024 10:26PM UTC 0
2.06
GitHub Action Run
2 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 12129060558.2 02 Dec 2024 10:30PM UTC 0
0.82
GitHub Action Run
3 os-ubuntu-latest-php-7.2-custom-ini-false - 12129060558.3 02 Dec 2024 10:30PM UTC 0
73.01
GitHub Action Run
4 os-ubuntu-latest-php-8.1-custom-ini-true - 12129060558.4 02 Dec 2024 10:28PM UTC 0
75.14
GitHub Action Run
5 os-ubuntu-latest-php-8.4-custom-ini-false - 12129060558.5 02 Dec 2024 10:29PM UTC 0
75.12
GitHub Action Run
6 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 12129060558.6 02 Dec 2024 10:29PM UTC 0
1.9
GitHub Action Run
7 os-windows-latest-php-8.4-custom-ini-false - 12129060558.7 02 Dec 2024 10:27PM UTC 0
2.54
GitHub Action Run
8 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 12129060558.8 02 Dec 2024 10:28PM UTC 0
1.91
GitHub Action Run
Source Files on build 12129060558
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12129060558
  • 92e5a9a6 on github
  • Prev Build on 4.0 (#12129055040)
  • Next Build on 4.0 (#12212048667)
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