Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@faissaloux
Copy link
Contributor

To detect and install the version specified on current project.

pvm install auto

@drissboumlik
Copy link
Collaborator

drissboumlik commented Nov 2, 2025

Hey

Thanks for the contribution

been a while since last time I checked the repo

Comment on lines +57 to +67
if ($version -eq 'auto') {
$result = Auto-Select-PHP-Version

if ($result.code -eq 0) {
$version = $result.version
Display-Msg-By-ExitCode -result $result -message "php $version is already installed!"
return -1
}

$version = $result.version
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please write a test covering the new added block on router.ps1
here is the file : router.tests.ps1

@faissaloux
Copy link
Contributor Author

faissaloux commented Nov 3, 2025 via email

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