We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 738bd67 commit a1ebee5Copy full SHA for a1ebee5
src/PhpGitHooks/Application/Config/PreCommitConfig.php
@@ -48,7 +48,7 @@ private function getData()
48
{
49
$data = $this->configFileReader->getFileContents();
50
51
- if (!$data) {
+ if (empty($data)) {
52
throw new Exception('php-git-hooks.yml file not found');
53
}
54
0 commit comments