diff --git a/src/PhpGitHooks/Module/Git/Service/PreCommitTool.php b/src/PhpGitHooks/Module/Git/Service/PreCommitTool.php
index <HASH>..<HASH> 100644
--- a/src/PhpGitHooks/Module/Git/Service/PreCommitTool.php
+++ b/src/PhpGitHooks/Module/Git/Service/PreCommitTool.php
@@ -154,15 +154,15 @@ class PreCommitTool
                     $configurationData->getErrorMessage()
                 )
             );
-        }
 
-        if (true === $configurationData->isPhpunitStrictCoverage()) {
-            $this->commandBus->handle(
-                new StrictCoverageCommand(
-                    $configurationData->getMinimum(),
-                    $configurationData->getErrorMessage()
-                )
-            );
+            if (true === $configurationData->isPhpunitStrictCoverage()) {
+                $this->commandBus->handle(
+                    new StrictCoverageCommand(
+                        $configurationData->getMinimum(),
+                        $configurationData->getErrorMessage()
+                    )
+                );
+            }
         }
     }
 }
Execute strict coverage command if phpunit is enabled