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

sirbrillig / phpcs-variable-analysis
90%
2.x: 94%

Build:
Build:
LAST BUILD BRANCH: feature/update-phpcs-xsd-schema-url
DEFAULT BRANCH: 2.x
Repo Added 25 May 2022 08:57PM CUT
Files 9
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

LAST BUILD ON BRANCH fix/another-static-var-detection
branch: fix/another-static-var-detection
CHANGE BRANCH
x
Reset
  • fix/another-static-var-detection
  • 2.x
  • accept-namespaces-in-pass-by-ref-functions
  • add-enum
  • add-perf-ci-guard
  • add-readonly-constructor-prom-support
  • add/psalm
  • add/scope-manager
  • allow-empty-body-for-abstract-methods-without-unused
  • allow-for-loop-increment-def-inside-loop
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/coverallsapp/github-action-2
  • dependabot/github_actions/ramsey/composer-install-3
  • do-not-search-arrow-func-index-always
  • feature/add-dependabot-config-for-ghactions
  • feature/allow-for-phpunit-11
  • feature/composer-no-lock
  • feature/composer-psalm
  • feature/cs-enforce-tabs
  • feature/cs-qa-tests-declare-errorcodes-as-constants
  • feature/cs-use-camelcase-variables
  • feature/cs-use-psr2-braces
  • feature/cs-various-tweaks
  • feature/docs-align-param-comments
  • feature/fix-phpstan-error
  • feature/ghactions-cache-busting
  • feature/ghactions-change-xmllint-validation
  • feature/ghactions-minor-tweaks
  • feature/ghactions-php-8.3-update
  • feature/ghactions-switch-to-coveralls-reporter
  • feature/ghactions-tweaks
  • feature/ghactions-update-for-php-8.4-release
  • feature/ghactions-upgrade-php-coveralls-2.6.0
  • feature/ghactions-various-minor-tweaks
  • feature/ghactions-various-updates
  • feature/ghactions-work-around-for-coveralls-reporting
  • feature/ghactions-xmllint-bypass-apt-get-update
  • feature/make-tests-compatible-with-phpcs-3.8.0
  • feature/phpcs-switch-to-phpcsdevcs
  • feature/switch-to-fork-of-phpcs
  • feature/switch-to-ghactions-and-coveralls
  • feature/update-for-1.0-release-of-composer-phpcs-plugin
  • feature/update-phpcs-xsd-schema-url
  • fix-anon-class-props-with-types
  • fix-arrow-func-as-arg
  • fix-constructor-promotion-with-namespace
  • fix-destructure-bug
  • fix-error-on-statement-find
  • fix-nested-parens-types
  • fix-nullable-constructor-promotion
  • fix-ternary-in-arrow-func
  • fix/enum-detection-for-non-enums
  • fix/func-call-detection
  • fix/newlines-in-arrow-functions
  • fix/pass-by-reference-unused
  • handle-compact-in-fat-arrow
  • handle-inline-if-list-destructure
  • improve-initializer-behavior
  • improve-nested-arrow-func-search
  • remove-php-errormsg-from-superglobals
  • run-static-analysis-on-8-1
  • support-constructor-promotion
  • support-nested-arrow-functions
  • v2.11.10
  • v2.11.11
  • v2.11.12
  • v2.11.13
  • v2.11.14
  • v2.11.15
  • v2.11.16
  • v2.11.17
  • v2.11.18
  • v2.11.18-beta.1
  • v2.11.18-beta.2
  • v2.11.19
  • v2.11.20
  • v2.11.21
  • v2.11.4
  • v2.11.5
  • v2.11.6
  • v2.11.7
  • v2.11.8
  • v2.11.9
  • v2.12.0

pending completion
3191280701

push

github

Payton Swick
Also ignore static anonymous arrow functions

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

1103 of 1219 relevant lines covered (90.48%)

134.03 hits per line

Relevant lines Covered
Build:
Build:
1219 RELEVANT LINES 1103 COVERED LINES
134.03 HITS PER LINE
Source Files on fix/another-static-var-detection
  • Tree
  • List 8
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
84.96
VariableAnalysis/Lib/Helpers.php1472 532 452 80 147.0 + 1.0
87.5
VariableAnalysis/Lib/ScopeManager.php108 24 21 3 340.0
94.91
...ysis/Sniffs/CodeAnalysis/VariableAnalysisSniff.php2068 + 5648 615 33 143.0
100.0
VariableAnalysis/Lib/ScopeInfo.php40 2 2 0 340.0
100.0
VariableAnalysis/Lib/ForLoopInfo.php114 9 9 0 8.0
100.0
VariableAnalysis/Lib/ScopeType.php12 0 0 0 0.0
100.0
VariableAnalysis/Lib/VariableInfo.php109 1 1 0 328.0
100.0
VariableAnalysis/Lib/Constants.php260 3 3 0 106.0
Showing 1 to 8 of 8 entries
  • Previous
  • 1
  • Next
  • ►
    90.48
    VariableAnalysis/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
3191280701 fix/another-static-var-detection Also ignore static anonymous arrow functions push 05 Oct 2022 05:13PM CUT Payton Swick github pending completion  
3191279724 fix/another-static-var-detection Merge 044d30e98 into aaf902277 Pull #281 05 Oct 2022 05:13PM CUT GitHub github pending completion  
3191121992 fix/another-static-var-detection Merge 6c8bf5c8b into aaf902277 Pull #281 05 Oct 2022 04:52PM CUT GitHub github pending completion  
3191094415 fix/another-static-var-detection Treat open paren as start of statement for static detection push 05 Oct 2022 04:46PM CUT Payton Swick github pending completion  
3190972487 fix/another-static-var-detection Prevent detecting a static closure as a static variable push 05 Oct 2022 03:55PM CUT Payton Swick github pending completion  
See All Builds (262)
  • Repo on GitHub
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