Commit Graph

6 Commits

Author SHA1 Message Date
Glavin Wiechert 590dbc805e See #390. Use global php-cs-fixer on Windows without running within php
By using [node-which](https://github.com/isaacs/node-which)
I believe I am able to get rid of the `php` command running
`php-cs-fixer` as an argument.
`which` will find the `php-cs-fixer` program by looking through
the `PATH` environment variable listed directories.
This will resolve `php-cs-fixer` to an absolute path to the executable
and that will be used to run the command.
This dramatically cleans up the `PHP-CS-Fixer beautifier` code and specs, too!

Doing some Windows tests now.
2015-06-12 01:22:14 -03:00
Glavin Wiechert 6b7b3d6401 Fix failing PHP-CS-Fixer Beautifier specs, disable some on Windows 2015-06-11 22:07:56 -03:00
Glavin Wiechert b0d8dfa6fb Format all internal CoffeeScript code to indent_size=2
- Using Atom Beautify's Beautify Directory feature
- Using coffee-fmt
  - Only has one bug: https://github.com/sterpe/coffee-fmt/issues/16
2015-06-11 21:59:00 -03:00
Glavin Wiechert 7c9281e4b4 Fix PHP-CS-Fixer beautifier specs for missing php/php-cs-fixer 2015-06-11 21:16:05 -03:00
Glavin Wiechert 8ff76bc41d Fix typo in php-cs-fixer spec, mocking env should be object 2015-06-11 18:51:36 -03:00
Glavin Wiechert 2663b41505 See #394. Improve error message when program cannot be found 2015-06-11 17:37:23 -03:00