File tree Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 10
10
- SYMFONY_VERSION=3.1.*
11
11
12
12
before_install :
13
- - export SYMFONY_DEPRECATIONS_HELPER=weak # set this to " strict" to make build fail on deprecation messages
13
+ - export SYMFONY_DEPRECATIONS_HELPER=strict
14
14
- composer self-update
15
15
16
16
install :
Original file line number Diff line number Diff line change 6
6
use Money \Currencies \ISOCurrencies ;
7
7
use Money \Currency ;
8
8
use Money \CurrencyPair ;
9
- use Money \Exception \UnresolvableCurrencyPairException ;
10
9
use Money \Exchange ;
11
10
use Money \Money ;
12
11
use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
13
12
use Tbbc \MoneyBundle \MoneyException ;
14
- use Tbbc \MoneyBundle \Pair \StorageInterface ;
15
13
use Tbbc \MoneyBundle \TbbcMoneyEvents ;
16
14
17
15
/**
Original file line number Diff line number Diff line change 1
1
TbbcMoneyBundle
2
2
===============
3
3
4
- [ ![ Build Status] ( https://travis-ci.org/ TheBigBrainsCompany/TbbcMoneyBundle.png?branch=master )] ( https://travis-ci.org/TheBigBrainsCompany/TbbcMoneyBundle )
5
- [ ![ Symfony ] ( https://img.shields.io/badge/symfony-~2.8%7C~3.0-green .svg )] ( )
6
- [ ![ Downloads ] ( https://img.shields.io/packagist/dt/tbbc/money-bundle. svg )] ( )
7
- [ ![ license ] ( https://img.shields.io/github/license/TheBigBrainsCompany/TbbcMoneyBundle .svg )] ( )
8
-
4
+ [ ![ Build Status] ( https://img.shields.io/travis/ TheBigBrainsCompany/TbbcMoneyBundle/master.svg?style=flat-square )] ( https://travis-ci.org/TheBigBrainsCompany/TbbcMoneyBundle )
5
+ [ ![ PHP ] ( https://img.shields.io/badge/php-%3E%3D%205.5-8892BF .svg?style=flat-square )] ( )
6
+ [ ![ Symfony ] ( https://img.shields.io/badge/symfony-~2.8%7C~3.0-green. svg?style=flat-square )] ( )
7
+ [ ![ Downloads ] ( https://img.shields.io/packagist/dt/tbbc/money-bundle .svg?style=flat-square )] ( )
8
+ [ ![ license ] ( https://img.shields.io/github/license/TheBigBrainsCompany/TbbcMoneyBundle.svg?style=flat-square )] ( )
9
9
10
10
[ ![ SensioLabsInsight] ( https://insight.sensiolabs.com/projects/cb69e820-135b-4906-93fd-7921ba46a6e6/big.png )] ( https://insight.sensiolabs.com/projects/cb69e820-135b-4906-93fd-7921ba46a6e6 )
11
11
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public function testRatioFetching()
45
45
46
46
public function testExceptionForUnknownCurrency ()
47
47
{
48
- $ this ->expectException ('Tbbc\MoneyBundle\MoneyException ' );
48
+ $ this ->setExpectedException ('Tbbc\MoneyBundle\MoneyException ' );
49
49
$ this ->ratioProvider ->fetchRatio ('ZZZ ' , 'USD ' );
50
50
}
51
51
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public function testExceptionForUnknownCurrency()
53
53
{
54
54
$ ratioProvider = new YahooFinanceRatioProvider ();
55
55
56
- $ this ->expectException ('Tbbc\MoneyBundle\MoneyException ' );
56
+ $ this ->setExpectedException ('Tbbc\MoneyBundle\MoneyException ' );
57
57
$ ratioProvider ->fetchRatio ('ZZZ ' , 'USD ' );
58
58
}
59
59
You can’t perform that action at this time.
0 commit comments