Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect shivammathur/homebrew-php conflicts #56

Closed
nicoverbruggen opened this issue Nov 27, 2021 · 1 comment
Closed

Detect shivammathur/homebrew-php conflicts #56

nicoverbruggen opened this issue Nov 27, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request.

Comments

@nicoverbruggen
Copy link
Owner

nicoverbruggen commented Nov 27, 2021

#54 is an issue right now and could be a problem even once Homebrew core is updated and PHP aliases match up if the user hasn't updated Homebrew in a while. Because of this, PHP Monitor is "broken" but a workaround might be possible.

(This conflict detection might be necessary if shivammathur/php is found in the output of brew tap?)

It is possible to determine if aliases are conflicting by running:

brew info shivammathur/php/php --json

If the alias there does not match the one in:

brew info php --json

We should show a warning and, if possible, perhaps alter the behaviour of the linker to ensure no duplicates are linked. Perhaps it's possible to unlink the conflict after linking php?

@nicoverbruggen nicoverbruggen added the enhancement New feature or request. label Nov 27, 2021
@nicoverbruggen nicoverbruggen self-assigned this Nov 27, 2021
@nicoverbruggen
Copy link
Owner Author

This has been added now, along with a few other changes that will make it easier to check for PHP installation issues in the future.

Screenshot 2021-11-28 at 02 11 48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant