Skip to content

Commit 400ab7d

Browse files
authored
Merge pull request #17 from stefanius/update-codecov
Update Codecov
2 parents 7aaee9e + 4e58ba0 commit 400ab7d

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

codecov.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
codecov:
2+
branch: main
3+
coverage:
4+
precision: 2
5+
range: "60...80"
6+
status:
7+
project:
8+
default:
9+
# basic
10+
target: 20
11+
threshold: 5
12+
# advanced
13+
informational: true
14+
patch:
15+
default:
16+
# basic
17+
target: 20
18+
threshold: 5
19+
# advanced
20+
informational: true

tests/MessagesTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function it_should_return_a_list_of_validation_errors_when_posting_an_inv
129129
// When
130130
try {
131131
$slack->postMessage('https://slack.incoming.url/', $message);
132-
} catch(ValidationException $e) {
132+
} catch (ValidationException $e) {
133133
$this->assertIsArray($e->errors());
134134
$this->arrayHasKey('foo', $e->errors());
135135
$this->assertEquals(['foo' => 'bar'], $e->errors());

0 commit comments

Comments
 (0)