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

sirbrillig / phpcs-variable-analysis / 12640808375
94%

Build:
DEFAULT BRANCH: 2.x
Ran 06 Jan 2025 09:40PM UTC
Jobs 4
Files 9
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

06 Jan 2025 05:54PM UTC coverage: 93.812%. Remained the same
12640808375

push

github

web-flow
Allow finding arrow function variables when arrow function is in file scope (#347)

* Add test for arrow function in global scope

* Still look for arrow func when var scope is 0

`findVariableScopeExceptArrowFunctions()` can return null if it finds no
scope, but it can also return 0 which is the file level scope. The
additional code to look for arrow function scope needs to operate even
on 0.

* Remove duplicate call to findVariableScopeExceptArrowFunctions

* Remove phpcs-import-detection depdendency since it is unused

* Remove ImportDetection on phpcs config

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

1880 of 2004 relevant lines covered (93.81%)

137.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.4-phpcs-dev-master - 12640808375.1 06 Jan 2025 09:40PM UTC 9
93.23
GitHub Action Run
2 php-5.4-phpcs-dev-master - 12640808375.2 06 Jan 2025 09:41PM UTC 9
93.24
GitHub Action Run
3 php-5.4-phpcs-3.5.6 - 12640808375.3 06 Jan 2025 09:41PM UTC 9
92.78
GitHub Action Run
4 php-7.4-phpcs-3.5.6 - 12640808375.4 06 Jan 2025 09:40PM UTC 9
93.01
GitHub Action Run
Source Files on build 12640808375
  • Tree
  • List 9
  • Changed 2
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12640808375
  • ffb6f16c on github
  • Prev Build on 2.x (#12227376500)
  • Next Build on 2.x (#13877062098)
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