Dgame / atom-php-fmt

11 stars 3 forks source link

Do not work. #7

Closed iugo closed 8 years ago

iugo commented 8 years ago

PHP 5.6.11 (cli) fmt.phar 13.4.0

2015-09-09 18 40 53

2015-09-09 18 41 02

Dgame commented 8 years ago

Take a look to the console. Did you see any output / errors?

iugo commented 8 years ago

@Dgame 2015-09-11 10 15 52

curtisblackwell commented 8 years ago

I seem to be having the same issue. The errors I'm getting are slightly different, though I suspect that's because I'm on a newer version.

Up-to-date!                                                                           php-fmt.coffee:147
  stderr                @  php-fmt.coffee:147
  (anonymous function)  @  /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:85
  emitOne               @  events.js:77
  emit                  @  events.js:169
  readableAddChunk      @  _stream_readable.js:146
  Readable.push         @  _stream_readable.js:110
  onread                @  net.js:523

php exited with code: 0                                                               php-fmt.coffee:148
screen shot 2015-11-17 at 10 20 45 am
[10:08:17][šŸ ][~/sites/v2](master)> php -v
PHP 5.6.15 (cli) (built: Oct 31 2015 07:39:39) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

Any idea what might be wrong with my setup?

curtisblackwell commented 8 years ago

I found that disabling self-update seems to work, but I still get some errors.

screen shot 2015-11-17 at 10 29 24 am

Disabling PSR Naming takes care of one of themā€¦

Dgame commented 8 years ago

I no longer use atom, therefore I do not work very much on this repo. But I will see if I find a solution at the weekend.

daPhantom commented 8 years ago

I fixed this by using the fmt.php file composer also installed instead of the phar file. Don't know why...

Dgame commented 8 years ago

Hm, me neither, but I'm glad that it works. :smile: