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

brick / money / 22256802757
98%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v0.12
DEFAULT BRANCH: master
Ran 21 Feb 2026 12:27PM UTC
Jobs 1
Files 29
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

21 Feb 2026 12:27PM UTC coverage: 97.88%. Remained the same
22256802757

push

github

BenMorel
feat: narrow types

src/Currency.php:

  - $numericCode param: int → non-negative-int
  - $defaultFractionDigits param: int → non-negative-int
  - getNumericCode() return: added `@return non-negative-int`
  - getDefaultFractionDigits() return: added `@return non-negative-int`

src/Context.php

  - getStep() return: added `@return positive-int`

src/Context/CashContext.php

  - $step param: int → positive-int

src/Context/CustomContext.php

  - $scale param: int → non-negative-int
  - $step param: int → positive-int
  - getScale() return: added `@return non-negative-int`

src/Money.php

  - allocate() / allocateWithRemainder() $ratios param: int[] → non-negative-int[]
  - split() / splitWithRemainder() $parts param: int → positive-int

554 of 566 relevant lines covered (97.88%)

28.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22256802757.1 21 Feb 2026 12:27PM UTC 29
97.88
GitHub Action Run
Source Files on build 22256802757
  • Tree
  • List 29
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c976fa8f on github
  • Prev Build on v0.12 (#22235738976)
  • Next Build on v0.12 (#22257006832)
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