Skip to content

Commit 164b1be

Browse files
authored
Merge pull request #6 from nanasess/fix-deprecated
Fix UnitTest
2 parents 4e99304 + b44ef13 commit 164b1be

File tree

3 files changed

+30
-6
lines changed

3 files changed

+30
-6
lines changed

.travis.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
language: php
22

3+
addons:
4+
apt:
5+
packages:
6+
- libxml2-utils
37
php:
4-
- 5.3
5-
- 5.4
6-
- 5.5
78
- 5.6
89
- "7.0"
910
- "7.1"
@@ -13,6 +14,29 @@ env:
1314
- DEPENDENCIES="high"
1415
- DEPENDENCIES="low"
1516

17+
matrix:
18+
fast_finish: true
19+
include:
20+
- php: 5.3
21+
dist: precise
22+
env: DEPENDENCIES="high"
23+
- php: 5.3
24+
dist: precise
25+
env: DEPENDENCIES="low"
26+
- php: 5.4
27+
dist: trusty
28+
env: DEPENDENCIES="high"
29+
- php: 5.4
30+
dist: trusty
31+
env: DEPENDENCIES="low"
32+
- php: 5.5
33+
dist: trusty
34+
env: DEPENDENCIES="high"
35+
- php: 5.5
36+
dist: trusty
37+
env: DEPENDENCIES="low"
38+
39+
dist: xenial
1640
sudo: false
1741

1842
before_install:

tests/TextUI/failure-isolation.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require __DIR__ . '/../bootstrap.php';
1111
PHPUnit_TextUI_Command::main();
1212
?>
1313
--EXPECTF--
14-
QPHPUnit48 %s by Sebastian Bergmann and contributors. (modified by php5friends)
14+
PHPUnit48 %s by Sebastian Bergmann and contributors. (modified by php5friends)
1515

1616
FFFFFFFFFFFFF
1717

tests/TextUI/log-junit.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Failed asserting that false is true.
2727
</testcase>
2828
<testcase name="testError" class="StatusTest" file="%s/StatusTest.php" line="%d" assertions="0" time="%s">
2929
<error type="Exception">StatusTest::testError
30-
Exception:
30+
Exception:
3131

3232
%s/StatusTest.php:%d
3333
</error>
@@ -42,7 +42,7 @@ Time: %s, Memory: %s
4242
There was 1 error:
4343

4444
1) StatusTest::testError
45-
Exception:
45+
Exception:
4646

4747
%s/StatusTest.php:%d
4848

0 commit comments

Comments
 (0)