Skip to content

Commit 503e376

Browse files
committed
refactor(CommitCommand): add shouldVerify method
- Add shouldVerify method to check whether verification should be performed - Ignore code coverage for shouldVerify method
1 parent c5a70e8 commit 503e376

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/Commands/CommitCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,9 @@ private function shouldntVerify(): bool
299299
return $this->option('no-verify') || $this->configManager->get('no_verify');
300300
}
301301

302+
/**
303+
* @codeCoverageIgnore
304+
*/
302305
private function shouldVerify(): bool
303306
{
304307
return ! $this->shouldntVerify();

0 commit comments

Comments
 (0)