phpfmt8 icon indicating copy to clipboard operation
phpfmt8 copied to clipboard

Troubleshoot information: phpfmt (fmt.stub.php version) err:

Open MarketHubb opened this issue 2 months ago • 2 comments

I followed the setup wizard and built a database at /phpfmt. The command appeared to work, but when I run a command like analyze this, I keep getting the "Autocomplete and autoimport need building a database of terms."

I then ran the "troubleshoot information" and there appears to be an issue with the fmt.stub.php version and I'm not sure where or how to set that.

phpfmt.sublime-settings

// Settings in here override those in "/phpfmt/phpfmt.sublime-settings",

{
	"autocomplete": true,
	"php_bin": "/Users/chris/Library/Application Support/Herd/bin/php",
}

Output from "troubleshoot information"

phpfmt (php version):
PHP 8.2.15 (cli) (built: Jan 19 2024 00:15:08) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.15, Copyright (c) Zend Technologies
with Zend OPcache v8.2.15, Copyright (c), by Zend Technologies

phpfmt (php tokenizer) found

phpfmt (fmt.stub.php version):
phpfmt (fmt.stub.php version) err:
Formatting ...
0

0 files total
Took 0s

A snippet of the phpfmt/oracle.sqlite.

Screenshot 2024-04-10 at 2 44 58 PM

MarketHubb avatar Apr 10 '24 19:04 MarketHubb