[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phpinspect 52626b7091 18/30: Remove unused defun
From: |
ELPA Syncer |
Subject: |
[elpa] externals/phpinspect 52626b7091 18/30: Remove unused defun |
Date: |
Sat, 31 Aug 2024 09:58:53 -0400 (EDT) |
branch: externals/phpinspect
commit 52626b709114a80000f051aa11cc80b762eeca57
Author: Hugo Thunnissen <devel@hugot.nl>
Commit: Hugo Thunnissen <devel@hugot.nl>
Remove unused defun
---
phpinspect-buffer.el | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/phpinspect-buffer.el b/phpinspect-buffer.el
index 115cf687a7..dddb76b708 100644
--- a/phpinspect-buffer.el
+++ b/phpinspect-buffer.el
@@ -200,30 +200,6 @@ linked with."
(phpinspect-class-block (phpinspect-meta-token class-token))
namespace-name)))
-(defun phpinspect-buffer-apply-use-trait-config (buffer class-token uses)
- (pcase-let* ((`(,imports ,namespace-name)
- (phpinspect-get-token-index-context
- (phpinspect-buffer-namespaces buffer)
- (phpinspect-buffer-imports buffer)
- class-token))
- (type-resolver (phpinspect--make-type-resolver
- imports
- (phpinspect-class-block (phpinspect-meta-token
class-token))
- namespace-name))
- (config))
-
- (dolist (use uses)
- (setq config
- (nconc config
- (phpinspect--index-trait-use
- (phpinspect-meta-token use) type-resolver nil))))
-
- (when-let ((typedef (phpinspect-buffer-get-index-for-token buffer
(phpinspect-meta-token class-token))))
- (let ((new-extensions (seq-uniq (append
(phpi-typedef-subscribed-to-types typedef)
- (phpi-typedef-set-trait-config
typedef config))
- #'phpinspect--type=)))
- (phpi-typedef-update-extensions typedef new-extensions)))))
-
(cl-defmethod phpinspect-buffer-index-used-traits ((buffer phpinspect-buffer)
(uses (head phpinspect-splayt)))
(let ((update t))
(if (phpinspect-buffer-used-traits buffer)
- [elpa] externals/phpinspect b11d017702 01/30: Correctly index the name by which a function return type was referenced as used type, (continued)
- [elpa] externals/phpinspect b11d017702 01/30: Correctly index the name by which a function return type was referenced as used type, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 692711e34d 20/30: Implement property cells for more reliable property inheritance modeling, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 5f00c9ad8b 22/30: Fix compilation errors and fix tests for phpinspect-imports.el, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 2e6b0e9d2f 15/30: Make handling of corrupt index more robust + convert regexp to constant, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 77bd3ebe90 27/30: Use `delete-char' instead of `delete-backward-char', ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect bf03a87c7f 17/30: Remove obsolete class test, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect b6978105e5 25/30: Fix: Don't discard first char after opening brace of class block, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect fe4f73661c 21/30: Make import removal configurable, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 5f44a51a75 16/30: Re-use last completion list when possible, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 9c0959a0df 11/30: Add some docstrings + a license header to phpinspect-typedef.el, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 52626b7091 18/30: Remove unused defun,
ELPA Syncer <=
- [elpa] externals/phpinspect 4f85ef04a5 23/30: Remove debug statement, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 95a29a3982 30/30: Bump version to 2.0.0, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 9029072bc9 02/30: Fix bug in indexation of live edited buffer (function with preceding bareword in scope), ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 87b86812ff 04/30: Implement initial algorithm for indexation of traits, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 25f706077a 06/30: Add license header and `provide' statement, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 96ee3c4d2a 05/30: WIP: (method-cell) Basic infrastructure for nuanced method inheritance, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 355b6be79a 07/30: Fix typo, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect c0c9e2992e 26/30: Remove debug statements, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 967917ceb9 24/30: Update completion FIXME comment with current state of things, ELPA Syncer, 2024/08/31
- [elpa] externals/phpinspect 11ecfdf314 13/30: Fix bug in parsing of interfaces, ELPA Syncer, 2024/08/31