@@ -126,8 +126,8 @@ public function testDefinition(): void
126
126
127
127
public function testExecuteWhenRevisionsAreProvidedAsOptions (): void
128
128
{
129
- $ fromSha = Hash \Context::forAlgorithm (Hash \Algorithm::SHA1 )->update ('fromRevision ' )->finalize ();
130
- $ toSha = Hash \Context::forAlgorithm (Hash \Algorithm::SHA1 )->update ('toRevision ' )->finalize ();
129
+ $ fromSha = Hash \Context::forAlgorithm (Hash \Algorithm::Sha1 )->update ('fromRevision ' )->finalize ();
130
+ $ toSha = Hash \Context::forAlgorithm (Hash \Algorithm::Sha1 )->update ('toRevision ' )->finalize ();
131
131
132
132
$ this ->input ->method ('getOption ' )->willReturnMap ([
133
133
['from ' , $ fromSha ],
@@ -191,8 +191,8 @@ public function testExecuteWhenRevisionsAreProvidedAsOptions(): void
191
191
192
192
public function testExecuteWhenDevelopmentDependenciesAreRequested (): void
193
193
{
194
- $ fromSha = Hash \Context::forAlgorithm (Hash \Algorithm::SHA1 )->update ('fromRevision ' )->finalize ();
195
- $ toSha = Hash \Context::forAlgorithm (Hash \Algorithm::SHA1 )->update ('toRevision ' )->finalize ();
194
+ $ fromSha = Hash \Context::forAlgorithm (Hash \Algorithm::Sha1 )->update ('fromRevision ' )->finalize ();
195
+ $ toSha = Hash \Context::forAlgorithm (Hash \Algorithm::Sha1 )->update ('toRevision ' )->finalize ();
196
196
197
197
$ this ->input ->method ('getOption ' )->willReturnMap ([
198
198
['from ' , $ fromSha ],
@@ -256,8 +256,8 @@ public function testExecuteWhenDevelopmentDependenciesAreRequested(): void
256
256
257
257
public function testExecuteReturnsNonZeroExitCodeWhenChangesAreDetected (): void
258
258
{
259
- $ fromSha = Hash \Context::forAlgorithm (Hash \Algorithm::SHA1 )->update ('fromRevision ' )->finalize ();
260
- $ toSha = Hash \Context::forAlgorithm (Hash \Algorithm::SHA1 )->update ('toRevision ' )->finalize ();
259
+ $ fromSha = Hash \Context::forAlgorithm (Hash \Algorithm::Sha1 )->update ('fromRevision ' )->finalize ();
260
+ $ toSha = Hash \Context::forAlgorithm (Hash \Algorithm::Sha1 )->update ('toRevision ' )->finalize ();
261
261
262
262
$ this ->input ->method ('getOption ' )->willReturnMap ([
263
263
['from ' , $ fromSha ],
@@ -334,8 +334,8 @@ public function testExecuteReturnsNonZeroExitCodeWhenChangesAreDetected(): void
334
334
335
335
public function testProvidingMarkdownOptionWritesMarkdownOutput (): void
336
336
{
337
- $ fromSha = Hash \Context::forAlgorithm (Hash \Algorithm::SHA1 )->update ('fromRevision ' )->finalize ();
338
- $ toSha = Hash \Context::forAlgorithm (Hash \Algorithm::SHA1 )->update ('toRevision ' )->finalize ();
337
+ $ fromSha = Hash \Context::forAlgorithm (Hash \Algorithm::Sha1 )->update ('fromRevision ' )->finalize ();
338
+ $ toSha = Hash \Context::forAlgorithm (Hash \Algorithm::Sha1 )->update ('toRevision ' )->finalize ();
339
339
340
340
$ this ->input ->method ('getOption ' )->willReturnMap ([
341
341
['from ' , $ fromSha ],
@@ -449,8 +449,8 @@ public function testExecuteWithDefaultRevisionsNotProvidedAndNoDetectedTags(): v
449
449
/** @dataProvider validVersionCollections */
450
450
public function testExecuteWithDefaultRevisionsNotProvided (VersionCollection $ versions ): void
451
451
{
452
- $ fromSha = Hash \Context::forAlgorithm (Hash \Algorithm::SHA1 )->update ('fromRevision ' )->finalize ();
453
- $ toSha = Hash \Context::forAlgorithm (Hash \Algorithm::SHA1 )->update ('toRevision ' )->finalize ();
452
+ $ fromSha = Hash \Context::forAlgorithm (Hash \Algorithm::Sha1 )->update ('fromRevision ' )->finalize ();
453
+ $ toSha = Hash \Context::forAlgorithm (Hash \Algorithm::Sha1 )->update ('toRevision ' )->finalize ();
454
454
$ pickedVersion = $ this ->makeVersion ('1.0.0 ' );
455
455
456
456
$ this ->input ->method ('getOption ' )->willReturnMap ([
0 commit comments