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

ytake / valueobjects / 43
100%

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

pending completion
43

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

Jobs
ID Job ID Ran Files Coverage
1 43.1 03 Mar 2021 02:48PM UTC 0
100.0
Travis Job 43.1
Source Files on build 43
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #43
  • 61f10eeb on github
  • Prev Build on master (#40)
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