File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -586,6 +586,26 @@ function."
586586 (interactive )
587587 (phpactor-rename-variable " file" ))
588588
589+ (defun phpactor-complete-properties ()
590+ " Execute Phpactor PRC transform command to add_missing_properties."
591+ (interactive )
592+ (let ((arguments (phpactor--command-argments :source :path )))
593+ (apply #'phpactor-action-dispatch (phpactor--rpc " transform" (append arguments (list :transform " add_missing_properties" ))))))
594+
595+ ;;;### autoload
596+ (defun phpactor-fix-namespace ()
597+ " Execute Phpactor PRC transform command to fix namespace."
598+ (interactive )
599+ (let ((arguments (phpactor--command-argments :source :path )))
600+ (apply #'phpactor-action-dispatch (phpactor--rpc " transform" (append arguments (list :transform " fix_namespace_class_name" ))))))
601+
602+ ;;;### autoload
603+ (defun phpactor-implement-contracts ()
604+ " Execute Phpactor PRC transform command to implement contracts."
605+ (interactive )
606+ (let ((arguments (phpactor--command-argments :source :path )))
607+ (apply #'phpactor-action-dispatch (phpactor--rpc " transform" (append arguments (list :transform " implement_contracts" ))))))
608+
589609;;;### autoload
590610(defun phpactor-replace-references ()
591611 " Execute Phpactor PRC replace_references command to complete_constructor."
You can’t perform that action at this time.
0 commit comments