sensiolabs/melody — pull request #37 by jeremy-derusse (2014-12-24 08:18:26+00:00)
Title: Improve guessComposerPath

Given the `ExecutableFinder` can not search for a given extension (https://github.com/symfony/symfony/issues/12247).

I refactor the method `guessComposer` to search for executable with or without extension `.phar` and to also provide a command prefixed by PHP in case of file `composer` exists and is not executable.