Skip to content

Commit 2644643

Browse files
committed
cs
1 parent 3e7f4c3 commit 2644643

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Subscriber/AutoUpdateTitleWithLabelSubscriberTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function setUp()
4545

4646
public function testOnPullRequestLabeled()
4747
{
48-
$event = new GitHubEvent(['action' => 'labeled', 'number' => 1234, 'pull_request'=>[]], $this->repository);
48+
$event = new GitHubEvent(['action' => 'labeled', 'number' => 1234, 'pull_request' => []], $this->repository);
4949
$this->pullRequestApi->method('show')->willReturn([
5050
'title' => '[fwb][bar] Foo',
5151
'labels' => [
@@ -64,7 +64,7 @@ public function testOnPullRequestLabeled()
6464

6565
public function testOnPullRequestLabeledCaseInsensitive()
6666
{
67-
$event = new GitHubEvent(['action' => 'labeled', 'number' => 1234, 'pull_request'=>[]], $this->repository);
67+
$event = new GitHubEvent(['action' => 'labeled', 'number' => 1234, 'pull_request' => []], $this->repository);
6868
$this->pullRequestApi->method('show')->willReturn([
6969
'title' => '[PHPunitbridge] Foo',
7070
'labels' => [
@@ -82,7 +82,7 @@ public function testOnPullRequestLabeledCaseInsensitive()
8282

8383
public function testOnPullRequestLabeledWithExisting()
8484
{
85-
$event = new GitHubEvent(['action' => 'labeled', 'number' => 1234, 'pull_request'=>[]], $this->repository);
85+
$event = new GitHubEvent(['action' => 'labeled', 'number' => 1234, 'pull_request' => []], $this->repository);
8686
$this->pullRequestApi->method('show')->willReturn([
8787
'title' => '[Messenger] Fix JSON',
8888
'labels' => [
@@ -98,7 +98,7 @@ public function testOnPullRequestLabeledWithExisting()
9898

9999
public function testRemoveLabel()
100100
{
101-
$event = new GitHubEvent(['action' => 'labeled', 'number' => 1234, 'pull_request'=>[]], $this->repository);
101+
$event = new GitHubEvent(['action' => 'labeled', 'number' => 1234, 'pull_request' => []], $this->repository);
102102
$this->pullRequestApi->method('show')->willReturn([
103103
'title' => '[Console][FrameworkBundle] [Random] Foo normal title',
104104
'labels' => [

0 commit comments

Comments
 (0)