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

ytake / valueobjects / 43 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2021 02:49PM UTC
Files 72
Run time 18s
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

03 Mar 2021 02:47PM UTC coverage: 100.0%. Remained the same
43.1

push

travis-ci

web-flow
Corrected a few type-hints (#8)

* Correct return type-hint in Real::toInteger

* Correct return type-hint for Integer::toReal

```
ERROR: InvalidMethodCall - php/Foo/Bar/Baz.php:63:57 - Cannot call method on float variable  (see https://psalm.dev/091)
            $this->chargeAmount->getAmount()->toReal()->toNative(),
```

* Correct construtor type-hint in Money clas

```
ERROR: InvalidArgument - php/Foo/Bar/Baz.php:564:38 - Argument 1 of ValueObjects\Money\Money::__construct expects int, ValueObjects\Number\Integer provided (see https://psalm.dev/004)
            $lowestMoney = new Money(new Integer((int)$lowestPrice), new Currency($this->catalog->getCurrencyCode()));
```

760 of 760 relevant lines covered (100.0%)

8.88 hits per line

Source Files on job 43.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14
  • Travis Job 43.1
  • 61f10eeb on github
  • Prev Job for on master (#40.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