feat(php): replace php-boris with psysh (#5967)
php-boris is no longer maintained. Fix: #5965
This commit is contained in:
parent
9db71bb7a5
commit
9cba28621f
3 changed files with 13 additions and 2 deletions
|
@ -13,3 +13,14 @@ ignore the cache."
|
|||
(require 'json)
|
||||
(json-read-file package-file)))
|
||||
(puthash project-root data +php-composer-conf))))))
|
||||
|
||||
;;
|
||||
;;; Commands
|
||||
|
||||
|
||||
;;;###autoload
|
||||
(defun +php/open-repl ()
|
||||
"Open PHP REPL."
|
||||
(interactive)
|
||||
(psysh)
|
||||
(pop-to-buffer (current-buffer)))
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
(setq php-mode-template-compatibility nil)
|
||||
|
||||
(set-docsets! 'php-mode "PHP" "PHPUnit" "Laravel" "CakePHP" "CodeIgniter" "Doctrine_ORM")
|
||||
(set-repl-handler! 'php-mode #'php-boris)
|
||||
(set-repl-handler! 'php-mode #'+php/open-repl)
|
||||
(set-lookup-handlers! 'php-mode :documentation #'php-search-documentation)
|
||||
(set-formatter! 'php-mode #'php-cs-fixer-fix)
|
||||
(set-ligatures! 'php-mode
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/php/packages.el
|
||||
|
||||
(package! php-boris :pin "f2faebf610c917f7091f7ec0cd97645629c4f819")
|
||||
(package! psysh :pin "21250984ad8137aa3440ac12e52475ef03f19fcb")
|
||||
(package! php-extras
|
||||
:recipe (:host github :repo "arnested/php-extras")
|
||||
:pin "d410c5af663c30c01d461ac476d1cbfbacb49367")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue