Skip to content

Commit 16561e8

Browse files
committed
Remove phpactor-find-executable
This old implementation had an ambiguous behaviour It is now replaced by phpactor--find-executable which does only what its name implies
1 parent 298c15b commit 16561e8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

phpactor.el

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,6 @@ of GitHub.")
129129
:group 'phpactor)
130130

131131
;; Utility functions
132-
(defun phpactor-find-executable ()
133-
"Return Phpactor command or path to executable."
134-
(or (when phpactor-executable
135-
(php-project--eval-bootstrap-scripts phpactor-executable))
136-
(let ((vendor-executable (f-join phpactor-install-directory "vendor/bin/phpactor")))
137-
(when (file-exists-p vendor-executable)
138-
vendor-executable))
139-
(error "Phpactor not found. Please run phpactor-install-or-update")))
140132

141133
;;;###autoload
142134
(defun phpactor-install-or-update ()

0 commit comments

Comments
 (0)