Dgame / atom-php-fmt

11 stars 3 forks source link

PHP Version #8

Open barrymieny opened 9 years ago

barrymieny commented 9 years ago

I received an error "PHP needs to be a minimum version of PHP 5.6.0", but I already have PHP 5.6.13 installed via Homebrew. Is there some place to tell php-fmt which binary to use, like in SublimeText with the "php_bin" setting?

Dgame commented 9 years ago

The php-executeable you set to the php config path, should have version 5.6.0. Otherwise (if php fmt did not recognize it) it's a bug.

barrymieny commented 9 years ago

Thanks - I completely overlooked that setting.

Dgame commented 9 years ago

@barrymieny So does it works?

barrymieny commented 9 years ago

It runs, but it doesn't do any formatting. Also, none of the options come up in the command palette like in Sublime Text.

Dgame commented 9 years ago

Yeah that's a limitation of Atom. Could you copy me the result you see in the developer settings? (Strg+Alt+i afaik)

sdhou commented 8 years ago

I've had the same problem.

awfm9 commented 8 years ago

Same problem.