title: php-cs-fixer got broken for linux users after fixing the issue 6 for windows users
body: <p>I use Linux Ubuntu 16.04. I have well installed php-cs-fixer for atom 1.9.8.</p>
  
  <pre><code>$ php-cs-fixer
  PHP CS Fixer version 1.11.6 by Fabien Potencier
  
  Usage:
    command [options] [arguments]
  
  Options:
    -h, --help            Display this help message
    -q, --quiet           Do not output any message
    -V, --version         Display this application version
        --ansi            Force ANSI output
        --no-ansi         Disable ANSI output
    -n, --no-interaction  Do not ask any interactive question
    -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  
  Available commands:
    fix          Fixes a directory or a file
    help         Displays help for a command
    list         Lists commands
    readme       Generates the README content, based on the fix command help
    self-update  Update php-cs-fixer.phar to the latest version.
    selfupdate   Update php-cs-fixer.phar to the latest version.
  </code></pre>
  
  <p>The problem comes with config of php-cs-fixer with atom. In fact, package requires:</p>
  
  <ul>
  <li>a PHP Executable path (which is by defaut <code>php</code>) (for linux user it must be empty which is not possible with actual version of the  package) (see isse <a href="https://github.com/pfefferle/atom-php-cs-fixer/issues/6" rel="nofollow">#6</a> )</li>
  <li>a PHP-CS fixer Executable path (which is simply for linux user <code>php-cs-fixer</code> <em>(without the use of PHAR file)</em>)</li>
  </ul>
  
  <p>Consequently, when I run php-cs-fixer from atom I get this error: <strong>Could not open input file: php-cs-fixer</strong>.</p>
  
  <p>I can generate this error message with this console command:</p>
  
  <pre><code>php php-cs-fixer fix Class.php 
      Could not open input file: php-cs-fixer
  </code></pre>
  
  <p>So, can you make <code>PHP Executable path</code> optional (not compulsory) for that package of atom???</p>
  
  <p>thanks,</p>
  
  <hr>
  
  <h2>Update on this issue:</h2>
  
  <p>I managed to download <code>php-cs-fixer.phar</code> from <a href="https://github.com/FriendsOfPHP/PHP-CS-Fixer" rel="nofollow">https://github.com/FriendsOfPHP/PHP-CS-Fixer</a> and I put it in the folder <code>~/.composer/</code> so that:</p>
  
  <ul>
  <li>a PHP Executable path is <code>php</code></li>
  <li>a PHP-CS fixer Executable path is: <code>~/.composer/php-cs-composer.phar</code></li>
  </ul>
  
  <p>But now I am getting this error: <strong>Could not open input file: ~/.composer/php-cs-fixer.phar</strong></p>
  
  <p>So what's wrong??</p>
  
  <p>For you information, running the console <code>php ~/.composer/php-cs-composer.phar Class.php</code> command is successful.</p>