Skip to content

Commit ee1aecf

Browse files
peter279kkrowinski
authored andcommitted
Test enhancement (#26)
1 parent 171762b commit ee1aecf

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ php:
77
- 7.0
88
- 7.1
99
- 7.2
10+
- nightly
1011

11-
cache:
12+
matrix:
13+
allow_failures:
14+
- php: nightly
15+
16+
cache:
1217
apt: true
1318
bundler: true
1419

composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"ext-bcmath": "*"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^4.8|^5.7"
27+
"php": ">=5.4",
28+
"phpunit/phpunit": "^4.8|^5.7|^6.5"
2829
},
2930
"license": "MIT",
3031
"authors": [
@@ -38,5 +39,10 @@
3839
"BCMathExtended\\": "src/BCMathExtended/"
3940
}
4041
},
42+
"autoload-dev": {
43+
"psr-4": {
44+
"BCMathExtended\\Tests\\Unit\\": "tests/Unit/"
45+
}
46+
},
4147
"minimum-stability": "stable"
4248
}

tests/Unit/BCTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,4 +1058,4 @@ protected function setUp()
10581058
{
10591059
BC::setScale(2);
10601060
}
1061-
}
1061+
}

0 commit comments

Comments
 (0)