|
|
@ -139,12 +139,13 @@ bareword typenames."))
|
|
|
|
(prefix (phpinspect-psr4-prefix strat))
|
|
|
|
(prefix (phpinspect-psr4-prefix strat))
|
|
|
|
type-fqn)
|
|
|
|
type-fqn)
|
|
|
|
(dolist (dir (phpinspect-psr4-directories strat))
|
|
|
|
(dolist (dir (phpinspect-psr4-directories strat))
|
|
|
|
(dolist (file (phpinspect-fs-directory-files-recursively fs dir "\\.php$"))
|
|
|
|
(when (phpinspect-fs-file-directory-p fs dir)
|
|
|
|
(setq type-fqn (phpinspect-filename-to-typename dir file prefix))
|
|
|
|
(dolist (file (phpinspect-fs-directory-files-recursively fs dir "\\.php$"))
|
|
|
|
(phpinspect-autoloader-put-type-bag al type-fqn)
|
|
|
|
(setq type-fqn (phpinspect-filename-to-typename dir file prefix))
|
|
|
|
(puthash type-fqn file typehash)
|
|
|
|
(phpinspect-autoloader-put-type-bag al type-fqn)
|
|
|
|
(when own
|
|
|
|
(puthash type-fqn file typehash)
|
|
|
|
(puthash type-fqn file own-typehash))))))
|
|
|
|
(when own
|
|
|
|
|
|
|
|
(puthash type-fqn file own-typehash)))))))
|
|
|
|
|
|
|
|
|
|
|
|
(cl-defmethod phpinspect-al-strategy-execute ((strat phpinspect-psr0))
|
|
|
|
(cl-defmethod phpinspect-al-strategy-execute ((strat phpinspect-psr0))
|
|
|
|
(let* ((fs (phpinspect-psr0-fs strat))
|
|
|
|
(let* ((fs (phpinspect-psr0-fs strat))
|
|
|
|