Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

brew install php-cs-fixer -- Could not open input file: php-cs-fixer #79

@stepheneb

Description

@stepheneb

When I try and run PHP CS Fixer 2.15.1 in Atom I get blue error stating "Could not open input file: php-cs-fixer"

Instructions for using brew installed php-cs-fixer appear to be out of date.

brew now just installs latest version of php-cs-fixer.phar as php-cs-fixer so there is no separate phar file.

See: https://github.com/Homebrew/homebrew-core/blob/master/Formula/php-cs-fixer.rb

My environment:

MacOS 10.14.5
Atom 1.38.2
Php: 7.3.6
php-cs-fixer: 2.15.1
atom-php-cs-fixer: 4.1.1

php and php-cs-fixer are on path:

$ which php
/usr/local/bin/php

$ which php-cs-fixer
/usr/local/bin/php-cs-fixer

PHP CS Fixer 2.15.1 is installed and runs:

$ php-cs-fixer --version
PHP CS Fixer 2.15.1 Europe Round by Fabien Potencier and Dariusz Ruminski (2006451)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions