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

PHPCSStandards / PHP_CodeSniffer / 12439509700
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 20 Dec 2024 10:43PM 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

20 Dec 2024 10:41PM UTC coverage: 77.041% (+0.07%) from 76.968%
12439509700

push

github

jrfnl
Tests/Tokenizer: test related to setting the scope for T_CASE

This commit copies a sniff test from InlineControlStructureUnitTest.php
to the Tokenizer::recurseScopeMap() tests for the `case` keyword. The
copied test was added in 65ef053 before the Tokenizer tests were
created. It ensures that the scope for the `T_CASE` token is correctly
set when there is an inline control structure inside it with more than
three lines.

The original sniff test was modified to use `T_FOR` instead of
`T_SWITCH`, but its purpose was not altered. The test is about adding
braces to an `if` that returns a nested function call.

18962 of 24613 relevant lines covered (77.04%)

76.32 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
13
88.02
-0.07% src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php
Jobs
ID Job ID Ran Files Coverage
1 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 12439509700.1 20 Dec 2024 10:46PM UTC 262
1.91
GitHub Action Run
2 os-ubuntu-latest-php-7.2-custom-ini-false - 12439509700.2 20 Dec 2024 10:48PM UTC 262
73.36
GitHub Action Run
3 os-ubuntu-latest-php-8.1-custom-ini-true - 12439509700.3 20 Dec 2024 10:46PM UTC 262
75.53
GitHub Action Run
4 os-windows-latest-php-7.2-custom-ini-false - 12439509700.4 20 Dec 2024 10:43PM UTC 262
2.06
GitHub Action Run
5 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 12439509700.5 20 Dec 2024 10:48PM UTC 262
0.82
GitHub Action Run
6 os-ubuntu-latest-php-8.4-custom-ini-false - 12439509700.6 20 Dec 2024 10:46PM UTC 262
75.51
GitHub Action Run
7 os-windows-latest-php-8.4-custom-ini-false - 12439509700.7 20 Dec 2024 10:43PM UTC 262
2.53
GitHub Action Run
8 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 12439509700.8 20 Dec 2024 10:46PM UTC 262
1.9
GitHub Action Run
Source Files on build 12439509700
  • Tree
  • List 262
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12439509700
  • 7d89cc0c on github
  • Prev Build on 4.0 (#12422208467)
  • Next Build on 4.0 (#12566489376)
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