• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
You are now the owner of this repo.

igancev / work-reporter
99%

Build:
DEFAULT BRANCH: main
Repo Added 16 May 2026 04:08PM UTC
Token MVBrf3Q2t035WLZMBWKLaaB5IWwUey0YU regen
Build 27 Last
Files 47
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 main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • doc/add-screenshot
  • doc/clarify-config-structure
  • feat/app-version-banner
  • feat/ascii-banner
  • feat/issue-60-code-coverage
  • feat/msi-badge-70
  • feat/mutation-testing
  • fix/68-windows-home-env-var
  • fix/infection-logs
  • fix/superproductivity-path
  • main
  • refactor/cli-structure
  • refactor/issue-77
  • refactor/issue-85

02 Jun 2026 06:47PM UTC coverage: 98.987% (-0.8%) from 99.795%
26840888106

push

github

web-flow
fix: resolve home directory via cross-platform helper (partial #68) (#87)

InitCommand and YamlConfigProvider read \`getenv('HOME')\` directly to
expand the leading \`~\` in the default config path. On Windows that env
var is usually unset (the OS uses \`USERPROFILE\` plus optional
\`HOMEDRIVE\` / \`HOMEPATH\` as the fallback chain), so \`~/.config/...\`
quietly resolved to \`/.config/...\` at filesystem root and \`init\` /
\`work:report\` silently misbehaved.

Introduce \`Igancev\\WorkReporter\\Platform\\HomeDirectory::resolve()\`
that returns the canonical home path per platform: \`HOME\` on POSIX,
\`USERPROFILE\` on Windows with the documented \`HOMEDRIVE\` + \`HOMEPATH\`
fallback for containers/services that strip \`USERPROFILE\`. The helper
returns an empty string when nothing is set so callers see the same
shape as the prior \`(string)getenv(...)\` cast.

Scope: only the env-var leg of #68's checklist. CI workflow for the
Windows binary, README install section, and end-to-end Windows binary
verification are intentionally left for follow-up PRs so each item
stays atomic per CLAUDE.md / CONTRIBUTING.md guidance.

Verification:

    vendor/bin/phpunit tests/Unit/Platform/HomeDirectoryTest.php
    vendor/bin/phpunit tests/Unit/InitCommandTest.php \
        tests/Unit/Config/YamlConfigProviderTest.php
    make cs
    make stat-analyze

all pass on macOS (POSIX path); the Windows-only assertions are
skipped on POSIX runners and exercised on a future Windows CI lane.

5 of 13 new or added lines in 3 files covered. (38.46%)

977 of 987 relevant lines covered (98.99%)

6.16 hits per line

Relevant lines Covered
Build:
Build:
987 RELEVANT LINES 977 COVERED LINES
6.16 HITS PER LINE
Source Files on main
  • Tree
  • List 47
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26840888106 main fix: resolve home directory via cross-platform helper (partial #68) (#87) InitCommand and YamlConfigProvider read \`getenv('HOME')\` directly to expand the leading \`~\` in the default config path. On Windows that env var is usually unset (the OS... push 02 Jun 2026 06:49PM UTC web-flow github
98.99
26500359134 fix/68-windows-home-env-var Merge 2f11eb20d into 66a645f4c Pull #87 27 May 2026 08:38AM UTC web-flow github
98.99
26415503534 main refactor: use getters with validation in SourcesConfig and DestinationsConfig (#86) push 25 May 2026 07:00PM UTC web-flow github
99.8
26415298732 refactor/issue-85 Merge cadc5d8a8 into 6f793913f Pull #86 25 May 2026 06:54PM UTC web-flow github
99.8
26323613782 main fix: disable github logger in infection config (#84) push 23 May 2026 04:38AM UTC web-flow github
99.28
26323568676 fix/infection-logs Merge 1af4588ff into 62e1ef3b2 Pull #84 23 May 2026 04:35AM UTC web-flow github
99.28
26309717482 main fix: update SuperProductivity path case and support tilde expansion (#82) push 22 May 2026 08:15PM UTC web-flow github
99.28
26309595034 fix/superproductivity-path Merge c7ae1ac8a into 5f19cc50f Pull #82 22 May 2026 08:11PM UTC web-flow github
99.28
26299682847 main docs: add application screenshot to README (#80) push 22 May 2026 04:32PM UTC web-flow github
99.28
26299535979 doc/add-screenshot Merge 9a67b3a0f into 5d5f11ef9 Pull #80 22 May 2026 04:29PM UTC web-flow github
99.28
See All Builds (27)

Badge your Repo: work-reporter

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • 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

© 2026 Coveralls, Inc