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

brick / money / 22257006832 / 1
98%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v0.12
DEFAULT BRANCH: master
Ran 21 Feb 2026 12:42PM UTC
Files 29
Run time 0s
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:42PM UTC coverage: 97.88%. Remained the same
22257006832.1

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

Source Files on job 22257006832.1
  • Tree
  • List 29
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22257006832
  • 1052a054 on github
  • Prev Job for on v0.12 (#22256802757.1)
  • Next Job for on v0.12 (#22265467116.1)
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