@@ -28,7 +28,7 @@ protected function setUp(): void
2828 public function it_can_instantiate (): void
2929 {
3030 /** @var GithubTagType $github */
31- $ github = ( resolve (GithubRepositoryType::class) )->create ();
31+ $ github = resolve (GithubRepositoryType::class)->create ();
3232
3333 $ this ->assertInstanceOf (GithubTagType::class, $ github );
3434 }
@@ -39,7 +39,7 @@ public function it_can_instantiate_branch_type(): void
3939 config (['self-update.repository_types.github.use_branch ' => 'v2 ' ]);
4040
4141 /** @var GithubBranchType $github */
42- $ github = ( resolve (GithubRepositoryType::class) )->create ();
42+ $ github = resolve (GithubRepositoryType::class)->create ();
4343
4444 $ this ->assertInstanceOf (GithubBranchType::class, $ github );
4545 }
@@ -52,14 +52,14 @@ public function it_cannot_instantiate_and_fails_with_exception(): void
5252 $ this ->expectException (\Exception::class);
5353
5454 /** @var GithubTagType $github */
55- $ github = ( resolve (GithubRepositoryType::class) )->create ();
55+ $ github = resolve (GithubRepositoryType::class)->create ();
5656 }
5757
5858 /** @test */
5959 public function it_can_run_update (): void
6060 {
6161 /** @var GithubTagType $github */
62- $ github = ( resolve (GithubRepositoryType::class) )->create ();
62+ $ github = resolve (GithubRepositoryType::class)->create ();
6363
6464 Http::fake ([
6565 '* ' => $ this ->getResponse200ZipFile (),
@@ -89,7 +89,7 @@ public function it_can_run_update(): void
8989 public function it_can_get_the_version_installed (): void
9090 {
9191 /** @var GithubTagType $github */
92- $ github = ( resolve (GithubRepositoryType::class) )->create ();
92+ $ github = resolve (GithubRepositoryType::class)->create ();
9393 $ this ->assertEmpty ($ github ->getVersionInstalled ());
9494
9595 config (['self-update.version_installed ' => '1.0 ' ]);
@@ -103,15 +103,15 @@ public function it_cannot_get_new_version_available_and_fails_with_exception():
103103 $ this ->expectExceptionMessage ('Version installed not found. ' );
104104
105105 /** @var GithubTagType $github */
106- $ github = ( resolve (GithubRepositoryType::class) )->create ();
106+ $ github = resolve (GithubRepositoryType::class)->create ();
107107 $ github ->isNewVersionAvailable ();
108108 }
109109
110110 /** @test */
111111 public function it_can_get_new_version_available_from_type_tag_without_version_file (): void
112112 {
113113 /** @var GithubTagType $github */
114- $ github = ( resolve (GithubRepositoryType::class) )->create ();
114+ $ github = resolve (GithubRepositoryType::class)->create ();
115115 $ github ->deleteVersionFile ();
116116
117117 Event::fake ();
@@ -132,7 +132,7 @@ public function it_can_get_new_version_available_from_type_tag_without_version_f
132132 public function it_can_get_new_version_available_from_type_tag_with_version_file (): void
133133 {
134134 /** @var GithubTagType $github */
135- $ github = ( resolve (GithubRepositoryType::class) )->create ();
135+ $ github = resolve (GithubRepositoryType::class)->create ();
136136 $ github ->setVersionFile ('v2.7 ' );
137137
138138 $ this ->assertFalse ($ github ->isNewVersionAvailable ('v2.7 ' ));
@@ -149,7 +149,7 @@ public function it_can_get_new_version_available_from_type_branch_without_versio
149149 config (['self-update.repository_types.github.use_branch ' => 'v2 ' ]);
150150
151151 /** @var GithubBranchType $github */
152- $ github = ( resolve (GithubRepositoryType::class) )->create ();
152+ $ github = resolve (GithubRepositoryType::class)->create ();
153153 $ github ->deleteVersionFile ();
154154
155155 Http::fake ([
@@ -166,7 +166,7 @@ public function it_can_get_new_version_available_from_type_branch_with_version_f
166166 config (['self-update.repository_types.github.use_branch ' => 'v2 ' ]);
167167
168168 /** @var GithubBranchType $github */
169- $ github = ( resolve (GithubRepositoryType::class) )->create ();
169+ $ github = resolve (GithubRepositoryType::class)->create ();
170170 $ github ->setVersionFile ('2020-02-07T21:09:15Z ' );
171171
172172 $ this ->assertFalse ($ github ->isNewVersionAvailable ('2020-02-08T21:09:15Z ' ));
@@ -177,7 +177,7 @@ public function it_can_get_new_version_available_from_type_branch_with_version_f
177177 public function it_can_fetch_github_tag_releases_latest (): void
178178 {
179179 /** @var GithubTagType $github */
180- $ github = ( resolve (GithubRepositoryType::class) )->create ();
180+ $ github = resolve (GithubRepositoryType::class)->create ();
181181
182182 Http::fakeSequence ()
183183 ->pushResponse ($ this ->getResponse200Type ('tag ' ))
@@ -194,7 +194,7 @@ public function it_can_fetch_github_tag_releases_latest(): void
194194 public function it_can_fetch_github_tag_releases_specific_version (): void
195195 {
196196 /** @var GithubTagType $github */
197- $ github = ( resolve (GithubRepositoryType::class) )->create ();
197+ $ github = resolve (GithubRepositoryType::class)->create ();
198198
199199 Http::fakeSequence ()
200200 ->pushResponse ($ this ->getResponse200Type ('tag ' ))
@@ -211,7 +211,7 @@ public function it_can_fetch_github_tag_releases_specific_version(): void
211211 public function it_can_fetch_github_tag_releases_and_takes_latest_if_version_not_available (): void
212212 {
213213 /** @var GithubTagType $github */
214- $ github = ( resolve (GithubRepositoryType::class) )->create ();
214+ $ github = resolve (GithubRepositoryType::class)->create ();
215215
216216 Http::fakeSequence ()
217217 ->pushResponse ($ this ->getResponse200Type ('tag ' ))
@@ -230,7 +230,7 @@ public function it_can_fetch_github_branch_releases_latest(): void
230230 config (['self-update.repository_types.github.use_branch ' => 'v2 ' ]);
231231
232232 /** @var GithubBranchType $github */
233- $ github = ( resolve (GithubRepositoryType::class) )->create ();
233+ $ github = resolve (GithubRepositoryType::class)->create ();
234234
235235 Http::fakeSequence ()
236236 ->pushResponse ($ this ->getResponse200Type ('branch ' ))
@@ -249,7 +249,7 @@ public function it_can_fetch_github_branch_releases_specific_version(): void
249249 config (['self-update.repository_types.github.use_branch ' => 'v2 ' ]);
250250
251251 /** @var GithubBranchType $github */
252- $ github = ( resolve (GithubRepositoryType::class) )->create ();
252+ $ github = resolve (GithubRepositoryType::class)->create ();
253253
254254 Http::fakeSequence ()
255255 ->pushResponse ($ this ->getResponse200Type ('branch ' ))
@@ -268,7 +268,7 @@ public function it_can_fetch_github_branch_releases_and_takes_latest_if_version_
268268 config (['self-update.repository_types.github.use_branch ' => 'v2 ' ]);
269269
270270 /** @var GithubBranchType $github */
271- $ github = ( resolve (GithubRepositoryType::class) )->create ();
271+ $ github = resolve (GithubRepositoryType::class)->create ();
272272
273273 Http::fakeSequence ()
274274 ->pushResponse ($ this ->getResponse200Type ('branch ' ))
@@ -287,7 +287,7 @@ public function it_cannot_fetch_github_branch_releases_if_response_empty(): void
287287 config (['self-update.repository_types.github.use_branch ' => 'v2 ' ]);
288288
289289 /** @var GithubBranchType $github */
290- $ github = ( resolve (GithubRepositoryType::class) )->create ();
290+ $ github = resolve (GithubRepositoryType::class)->create ();
291291
292292 Http::fake ([
293293 '* ' => $ this ->getResponseEmpty (),
0 commit comments