We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f1e7ed + 7e091da commit a731b04Copy full SHA for a731b04
src/Target.php
@@ -79,7 +79,7 @@ public function add(Package $package): void
79
'--annotate',
80
'--message' => "Version {$version}",
81
]);
82
- $this->gitRepo->push('origin', ["refs/tags/{$version}"]);
+ $this->gitRepo->push(['origin', "refs/tags/{$version}"]);
83
84
$this->gitTags[] = $version;
85
}
tests/TargetTest.php
@@ -96,7 +96,7 @@ public function testAdd()
96
])
97
->once();
98
$gitRepo->shouldHaveReceived('push')
99
- ->with('origin', ['refs/tags/1.2.3'])
+ ->with(['origin', 'refs/tags/1.2.3'])
100
101
102
0 commit comments