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

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

Build:
Build:
LAST BUILD BRANCH: v3.0.0
DEFAULT BRANCH: 2.x
Repo Added 25 May 2022 08:57PM UTC
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 v3.0.0
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 2.x
  • 3.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/action-runners-599b765c23
  • dependabot/github_actions/action-runners-5dacb66663
  • dependabot/github_actions/action-runners-636cd4b091
  • dependabot/github_actions/action-runners-6a98abd9ac
  • dependabot/github_actions/action-runners-7a5a078ad4
  • dependabot/github_actions/action-runners-823d5f4d9a
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7.0.0
  • dependabot/github_actions/coverallsapp/github-action-2
  • dependabot/github_actions/phpcsstandards/xmllint-validate-2.0.0
  • dependabot/github_actions/ramsey/composer-install-3
  • dependabot/github_actions/ramsey/composer-install-4
  • dependabot/github_actions/ramsey/composer-install-4.0.0
  • 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-do-not-persist-credentials
  • feature/ghactions-improve-pins-dependabot
  • feature/ghactions-minor-tweaks
  • feature/ghactions-php-8.3-update
  • feature/ghactions-setup-php-fail-fast
  • feature/ghactions-show-startup-errors
  • feature/ghactions-switch-to-coveralls-reporter
  • feature/ghactions-tweaks
  • feature/ghactions-update-for-php-8.4-release
  • feature/ghactions-update-for-php-8.5-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
  • phpcs-4.0
  • pin-action-runner-versions
  • remove-php-errormsg-from-superglobals
  • run-static-analysis-on-8-1
  • support-constructor-promotion
  • support-nested-arrow-functions
  • trunk
  • 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
  • v2.13.0
  • v3.0.0
  • v3.0.0-beta.10
  • v3.0.0-beta.9

27 Jul 2026 06:26PM UTC coverage: 94.489%. Remained the same
30716027734

push

github

web-flow
GH Actions: fail "setup-php" if requested tooling could not be installed (#376)

Setup-PHP will normally "gracefully" show a warning and not fail the build when an extension or tool failed to install.

In most cases, this is not particularly useful as that means that either there will be a failure later on in the build due to the extension or tool missing, or the build will not be representative of what is supposed to be tested.

This commit changes this behaviour to fail select builds at the `setup-php` step, which also makes debugging these type of build failures much more straight-forward.

Ref: https://github.com/shivammathur/setup-php?tab=readme-ov-file#fail-fast-optional

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

1749 of 1851 relevant lines covered (94.49%)

138.7 hits per line

Relevant lines Covered
Build:
Build:
1851 RELEVANT LINES 1749 COVERED LINES
138.7 HITS PER LINE
Source Files on 2.x
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30716027734 v3.0.0 GH Actions: fail "setup-php" if requested tooling could not be installed (#376) Setup-PHP will normally "gracefully" show a warning and not fail the build when an extension or tool failed to install. In most cases, this is not particularly usefu... push 01 Aug 2026 08:02PM UTC web-flow github
94.49
30293781601 trunk GH Actions: fail "setup-php" if requested tooling could not be installed (#376) Setup-PHP will normally "gracefully" show a warning and not fail the build when an extension or tool failed to install. In most cases, this is not particularly usefu... push 27 Jul 2026 06:28PM UTC web-flow github
94.49
30220983592 feature/ghactions-setup-php-fail-fast Merge 079270c26 into 9f475239d Pull #376 27 Jul 2026 06:23PM UTC web-flow github
94.49
29843325550 trunk GH Actions: Bump actions/checkout in the action-runners group (#375) Bumps the action-runners group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https:/... push 21 Jul 2026 03:19PM UTC web-flow github
94.49
29783135368 dependabot/github_actions/action-runners-7a5a078ad4 GH Actions: Bump actions/checkout in the action-runners group Bumps the action-runners group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github... Pull #375 20 Jul 2026 10:14PM UTC web-flow github
94.49
28799999320 trunk GH Actions: Bump phpcsstandards/xmllint-validate from 1.0.1 to 2.0.0 (#374) Bumps [phpcsstandards/xmllint-validate](https://github.com/phpcsstandards/xmllint-validate) from 1.0.1 to 2.0.0. - [Release notes](https://github.com/phpcsstandards/xmlli... push 06 Jul 2026 02:44PM UTC web-flow github
94.49
28756629076 dependabot/github_actions/phpcsstandards/xmllint-validate-2.0.0 GH Actions: Bump phpcsstandards/xmllint-validate from 1.0.1 to 2.0.0 Bumps [phpcsstandards/xmllint-validate](https://github.com/phpcsstandards/xmllint-validate) from 1.0.1 to 2.0.0. - [Release notes](https://github.com/phpcsstandards/xmllint-vali... Pull #374 05 Jul 2026 10:13PM UTC web-flow github
94.49
27963397689 trunk GH Actions: Bump actions/checkout from 6.0.3 to 7.0.0 (#372) Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actio... push 22 Jun 2026 03:19PM UTC web-flow github
94.49
27922994820 dependabot/github_actions/action-runners-5dacb66663 GH Actions: Bump shivammathur/setup-php Bumps the action-runners group with 1 update in the / directory: [shivammathur/setup-php](https://github.com/shivammathur/setup-php). Updates `shivammathur/setup-php` from 2.37.1 to 2.37.2 - [Release note... Pull #373 22 Jun 2026 12:50AM UTC web-flow github
94.49
27885437195 dependabot/github_actions/actions/checkout-7.0.0 GH Actions: Bump actions/checkout from 6.0.3 to 7.0.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/chec... Pull #372 20 Jun 2026 10:15PM UTC web-flow github
94.49
See All Builds (318)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc