Skip to content

Conversation

Igoriankrg
Copy link

This update needs to prevent usage "composer install --ignore-platform-reqs" everytime on Windows (not posix system).
Source of idea - https://stackoverflow.com/a/52778992

@AydinHassan
Copy link
Member

@Igoriankrg we're pretty sure it doesn't work on windows. Have you been using it and found any issues? It has been a long time since we tried.

@AydinHassan
Copy link
Member

Just to be clear, we do use posix functions, so the requirement is necessary. The library simply won't work without them.

@Igoriankrg
Copy link
Author

I agree with it (i think nobody use Windows to host their applications), but for developers on Windows it would be nice convenience update.

@AydinHassan
Copy link
Member

@Igoriankrg we use posix functions. See: https://github.com/php-school/terminal/blob/master/src/IO/ResourceInputStream.php#L45 which is a direct requirement of php-school/cli-menu. This change would allow to install cli-menu on an environment where the code does not function correctly.

@Igoriankrg
Copy link
Author

Igoriankrg commented Jun 7, 2021

I cannot image more suitable way out. So "composer install --ignore-platform-reqs" for Windows users is best solution to know about the code does not function correctly on this environment.

@Igoriankrg Igoriankrg closed this Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants