Skip to content

Commit

Permalink
Ignore code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
guanguans committed May 26, 2023
1 parent 6b5f455 commit 1da6c71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Concerns/HasSoarPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ public function setSoarPath(string $soarPath): self
private function getDefaultSoarPath(): string
{
if (OS::isWindows()) {
return __DIR__.'/../../bin/soar.windows-amd64';
return __DIR__.'/../../bin/soar.windows-amd64'; // @codeCoverageIgnore
}

if (OS::isMacOS()) {
return OS::isArm() ? __DIR__.'/../../bin/soar.darwin-arm64' : __DIR__.'/../../bin/soar.darwin-amd64';
}

return __DIR__.'/../../bin/soar.linux-amd64';
return __DIR__.'/../../bin/soar.linux-amd64'; // @codeCoverageIgnore
}
}
2 changes: 2 additions & 0 deletions src/Concerns/WithDumpable.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
trait WithDumpable
{
/**
* @codeCoverageIgnore
*
* @return never-return
*/
public function dd(...$args): void
Expand Down

0 comments on commit 1da6c71

Please sign in to comment.