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

ytake / valueobjects
100%

Build:
DEFAULT BRANCH: master
Repo Added 23 May 2017 04:09PM UTC
Files 72
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 master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 2.0.0
  • 2.0.1
  • 2.1.0
  • feature/patch-php7
  • master

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

Relevant lines Covered
Build:
Build:
760 RELEVANT LINES 760 COVERED LINES
8.88 HITS PER LINE
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
43 master 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://psal... push 03 Mar 2021 02:48PM UTC web-flow travis-ci pending completion  
42 master Merge 141413526 into 4b358578a Pull #8 19 Feb 2021 03:27PM UTC web-flow travis-ci pending completion  
41 2.1.0 update dependency libs (#7) * update packages * modify ci check php version * support php7.0 push 14 Aug 2020 04:21PM UTC web-flow travis-ci pending completion  
40 master update dependency libs (#7) * update packages * modify ci check php version * support php7.0 push 14 Aug 2020 04:19PM UTC web-flow travis-ci pending completion  
39 feature/update-packages Merge fa3553e4b into 8d327f217 Pull #7 14 Aug 2020 02:44PM UTC web-flow travis-ci pending completion  
34 2.0.1 fixed an issue where the locale affects the handling of floats (#6) * fixed an issue where the locale affects the handling of floats * tiny code style fix push 20 Mar 2019 06:29PM UTC ytake travis-ci pending completion  
33 master fixed an issue where the locale affects the handling of floats (#6) * fixed an issue where the locale affects the handling of floats * tiny code style fix push 20 Mar 2019 06:29PM UTC ytake travis-ci pending completion  
32 issue#5_real_values_with_different_locale tiny code style fix Pull #6 13 Mar 2019 10:06AM UTC web-flow travis-ci pending completion  
31 issue#5_real_values_with_different_locale fixed an issue where the locale affects the handling of floats Pull #6 13 Mar 2019 09:55AM UTC web-flow travis-ci pending completion  
30 2.0.0 fixed ci settings (#4) * wip * patch for php7 * added ignore * changed travis settings * added styleci setting * miss configure * drop hhvm support * for cs * fixed codacy cs tests * fixer * remove cs fixer * upda... push 30 Jun 2018 11:30AM UTC web-flow travis-ci pending completion  
See All Builds (14)
  • 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