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

sirbrillig / phpcs-variable-analysis / 5773372822
94%

Build:
DEFAULT BRANCH: 2.x
Ran 05 Aug 2023 11:47PM UTC
Jobs 4
Files 9
Run time 2s
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

pending completion
5773372822

push

github

web-flow
Do not close scope of ref reassignment when inside else (#306)

* Add test for unused variable

* Add more debug lines to reference processing

* Do not close scope of ref reassignment when inside else

* Verify all regexps are non-empty strings

This will please psalm, I hope.

* Add guard for empty preg_match_all in processVariableInString

34 of 37 new or added lines in 2 files covered. (91.89%)

1739 of 1857 relevant lines covered (93.65%)

128.24 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
88.84
-0.03% VariableAnalysis/Lib/Helpers.php
2
95.97
-0.15% VariableAnalysis/Sniffs/CodeAnalysis/VariableAnalysisSniff.php
Jobs
ID Job ID Ran Files Coverage
1 php-8.2-phpcs-dev-master - 5773372822.1 05 Aug 2023 11:47PM UTC 9
93.01
GitHub Action Run
2 php-7.4-phpcs-3.5.6 - 5773372822.2 05 Aug 2023 11:47PM UTC 9
92.78
GitHub Action Run
3 php-5.4-phpcs-dev-master - 5773372822.3 05 Aug 2023 11:47PM UTC 9
93.06
GitHub Action Run
4 php-5.4-phpcs-3.5.6 - 5773372822.4 05 Aug 2023 11:47PM UTC 9
92.56
GitHub Action Run
Source Files on build 5773372822
  • Tree
  • List 9
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3b71162a on github
  • Prev Build on 2.x (#5593815862)
  • Next Build on 2.x (#6175774638)
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