Skip to content

Commit

Permalink
fix: forgot a dump() 🙈
Browse files Browse the repository at this point in the history
  • Loading branch information
SRWieZ committed Dec 23, 2024
1 parent be60cb1 commit 792abb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/whatsdiff.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ function isFileHasBeenRecentlyUpdated(string $filename): bool

function getFileContentOfCommit(string $filename, string $commitHash): string
{
dump("git show $commitHash:'$filename'");

return shell_exec("git show $commitHash:$filename");
}

Expand Down
6 changes: 6 additions & 0 deletions tests/Unit/ArchTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

// if Pest 3.0 is installed, use the new `arch` function
if (version_compare(Composer\InstalledVersions::getVersion('pestphp/pest'), '3.0.0', '>=')) {
arch('php')->preset()->php();
}

0 comments on commit 792abb1

Please sign in to comment.