Skip to content

Commit d80690a

Browse files
committed
Checks for mago configuration
1 parent 9f2cf15 commit d80690a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/Domain/PackageAnalyser.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@ private function checkCodingStyleToolExistence(): ViolationStatus
226226
}
227227
}
228228

229+
if (file_exists($this->directoryToAnalyse.DIRECTORY_SEPARATOR.'mago.toml')) {
230+
return ViolationStatus::True;
231+
}
232+
233+
229234
return ViolationStatus::False;
230235
}
231236

0 commit comments

Comments
 (0)