From dababf9ae99382bcb2f3f7c06257925f5ab91961 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 12 Sep 2023 01:20:52 +0200 Subject: [PATCH] feat(php): doctor: rudimentary php & composer checks --- modules/lang/php/doctor.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/lang/php/doctor.el b/modules/lang/php/doctor.el index 94f240ac5..6094a4c75 100644 --- a/modules/lang/php/doctor.el +++ b/modules/lang/php/doctor.el @@ -8,3 +8,9 @@ (assert! (or (not (modulep! +tree-sitter)) (modulep! :tools tree-sitter)) "This module requires (:tools tree-sitter)") + +(unless (executable-find "php") + (warn! "Couldn't find php in your PATH")) + +(unless (executable-find "composer") + (warn! "Couldn't find composer in your PATH"))