phpfmt_stable icon indicating copy to clipboard operation
phpfmt_stable copied to clipboard

Plugin stopped working with php 8.0

Open mpmont opened this issue 4 years ago • 8 comments

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.

mpmont avatar Feb 20 '21 10:02 mpmont

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.

TKLCZ avatar Mar 12 '21 11:03 TKLCZ

I confirm the issue on Windows 10.

maulikdholariya avatar May 08 '21 11:05 maulikdholariya

macOS Big Sur 11.5.1

sohaha avatar Aug 03 '21 13:08 sohaha

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

federf avatar Nov 23 '21 17:11 federf

  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

nekromoff avatar Feb 13 '22 19:02 nekromoff

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.

driade avatar Feb 19 '23 14:02 driade

@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?

mpmont avatar Feb 20 '23 10:02 mpmont

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.

driade avatar Feb 20 '23 14:02 driade