diff --git a/src/Linter.php b/src/Linter.php index 6f7ed667..d43f9691 100644 --- a/src/Linter.php +++ b/src/Linter.php @@ -51,7 +51,7 @@ class Linter * @param array $excludes * @param array $extensions */ - public function __construct($path, $excludes, $extensions) + public function __construct($path, $excludes = [], $extensions = ['php']) { $this->path = $path; $this->excludes = $excludes;