Skip to content

Commit 98bcd5d

Browse files
peter279kAyesh
authored andcommitted
Test enhancement
1 parent 021e8ff commit 98bcd5d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ matrix:
66
- php: 7.4
77
- php: nightly
88
allow_failures:
9-
- php: 7.4
109
- php: nightly
1110

1211
before_script:
1312
- composer self-update
14-
- travis_retry composer install --prefer-source --no-interaction
13+
- travis_retry composer install --prefer-dist --no-interaction
1514
script:
1615
- vendor/bin/phpunit --coverage-clover=coverage.xml
1716
after_success:

tests/FormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class FormatterTest extends TestCase {
99
public function testClassInit(): void {
1010
$this->expectException(\Error::class);
11-
$formatter = new Formatter();
11+
new Formatter();
1212
}
1313

1414
public function testSecondFormatter(): void {

0 commit comments

Comments
 (0)