Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid the possibility of treating a dir named
composer
as a file.
In case a path in the `PATH` environment variable contains a directory named `composer`, it might be use as the alleged composer "executable" as `file_exists` returns `true` for directories.
- Loading branch information