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

sirbrillig / phpcs-variable-analysis
94%

Build:
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 2.x
branch: 2.x
CHANGE BRANCH
x
Reset
  • 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/another-static-var-detection
  • 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

19 May 2025 08:15PM CUT coverage: 93.79%. Remained the same
15122323241

push

github

web-flow
Ruleset: update schema URL (#353)

PHPCS now offers permalinks for the schema.

Refs:
* PHPCSStandards/PHP_CodeSniffer 1094
* https://github.com/PHPCSStandards/schema.phpcodesniffer.com

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>

1903 of 2029 relevant lines covered (93.79%)

138.99 hits per line

Relevant lines Covered
Build:
Build:
2029 RELEVANT LINES 1903 COVERED LINES
138.99 HITS PER LINE
Source Files on 2.x
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
  • ►
    93.79
    VariableAnalysis/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
15122323241 2.x Ruleset: update schema URL (#353) PHPCS now offers permalinks for the schema. Refs: * PHPCSStandards/PHP_CodeSniffer 1094 * https://github.com/PHPCSStandards/schema.phpcodesniffer.com Co-authored-by: jrfnl <jrfnl@users.noreply.github.com> push 19 May 2025 08:17PM CUT web-flow github
93.79
13904453990 2.x Accept namespaces in sitePassByRefFunctions (#351) * Add test for using a namespace in sitePassByRefFunctions * Add namespace to function names when looking for pass-by-reference * Make sure cache is not used before it is ready * Make sure we ... push 17 Mar 2025 04:19PM CUT web-flow github
93.79
13877062098 2.x GH Actions: use the xmllint-validate action runner (#350) Instead of doing all the installation steps for xmllint validation in the workflow, use the :sparkles: new dedicated `phpcsstandards/xmllint-validate` action runner instead. Ref: https://... push 15 Mar 2025 10:08PM CUT web-flow github
93.81
12640808375 2.x 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... push 06 Jan 2025 09:40PM CUT web-flow github
93.81
12227376500 2.x Add perf-guard github workflow (#345) * Add perf-guard github workflow * Fix typo * Switch to GITHUB_OUTPUT * Fix typo * Log performance * Temporarily reduce baseline for testing * Revert "Temporarily reduce baseline for testing... push 09 Dec 2024 01:46AM CUT web-flow github
93.81
12128153767 2.x Improve phpstan configuration (#344) push 02 Dec 2024 09:20PM CUT web-flow github
93.81
12123831142 2.x Only search for nested arrow functions if necessary (#342) * Do not search for nested arrow func outside of arrow func * Recursively search for containing arrow function * Guard for no enclosing scope push 02 Dec 2024 04:39PM CUT web-flow github
93.81
12109616987 2.x Handle compact inside arrow functions (#339) * Add test for compact used within arrow function * Process every variable in compact separately * Also track position of compact variables * Guard against missing compact variable position ... push 01 Dec 2024 10:33PM CUT web-flow github
93.88
12098616502 2.x Run static-analysis Github action on PHP 8.1 (#338) push 30 Nov 2024 06:33PM CUT web-flow github
93.95
12098238006 2.x Simplify detecting class properties to improve detection for anonymous classes (#337) * Add test for anon class with typehint properties * Remove search for visibility keywords to find properties This defaults to only using the condition: i... push 30 Nov 2024 05:29PM CUT web-flow github
93.95
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