nanch / phpfmt_stable

This is a stable snapshot (version 6125cf9) of the phpfmt plugin for Sublime Text
143 stars 34 forks source link

Plugin stopped working with php 8.0 #77

Open mpmont opened 3 years ago

mpmont commented 3 years ago

I'm running Manjaro Linux and moved to php 8 and the plugin stopped working.

Had to install 7.4 along side 8 and point the plugin to the 7.4.

TKLCZ commented 3 years ago

I'm running Manjaro Linux and moved to php 8 and the plugin stopped working.

Had to install 7.4 along side 8 and point the plugin to the 7.4.

I confirm the issue on Windows 10.

maulikdholariya commented 3 years ago

I confirm the issue on Windows 10.

sohaha commented 3 years ago

macOS Big Sur 11.5.1

federf commented 3 years ago

same issue on Big Sur 11.6. Fixed it by installing PHP 7.4 again.

nekromoff commented 2 years ago
  1. Install PHP 7.4 along any version 8+
  2. Add/edit path to v7.4: "php_bin":"/usr/bin/php7.4", in user settings
driade commented 1 year ago

I'm starting with it.

https://github.com/driade/phpfmt8

While it's added on Sublime Text package manager you may download it and save it to your plugins directory. I'd also recommend deleting the old one.

mpmont commented 1 year ago

@driade Hi there mate, are you planing on maintaining this yourself on your repo? I have a few more issues that popped up while working on more recent PHP code. Want me to create said issues on your repo?

driade commented 1 year ago

Hello @mpmont Yes, I'll try to maintain the project as long as I can. I still digging into the code (it's complex), and there's a lot to do.

Want me to create said issues on your repo?

Yes please feel free to do that.