Passed
Push — master ( c6d69a...dbe157 )
by Mr
02:16
created

PHP Classes Changes

 
100%
MoneyServiceMapTest added
 
100%
MoneyTest added
0%
100%
MoneyServiceMap improved
0%
41.51%
Money improved
0%
 
Currency removed
0%
 
CurrencyValidator removed

CRAP Changes

 
1
MoneyServiceMapTest::testConstruct() added
 
1
Money::asBaseMoney() added
 
1
MoneyTest::testFromNative() added
 
1
MoneyTest::testToString() added
 
1
MoneyTest::testZero() added
2
1
MoneyServiceMap::__construct() improved
2
1
Money::getAmount() improved
2
1
Money::__toString() improved
2
1
Money::zero() improved
2
1
Money::__construct() improved
2
1
Money::getCurrency() improved
2
1
Money::toNative() improved
6
2
Money::fromNative() improved
2
 
Currency::getCode() removed
2
 
Money::unwrap() removed
2
 
CurrencyValidator::__construct() removed
2
 
CurrencyValidator::validate() removed
2
 
Currency::__toString() removed
2
 
Currency::fromNative() removed
2
 
Currency::equals() removed
2
 
Currency::toNative() removed
2
 
Currency::__construct() removed