Skip to content

Commit c0980f3

Browse files
authored
Merge pull request symfony-cli#226 from tucksaun/composer-json-support
Add support for PHP version selection based on `composer.json`
2 parents c21df2e + 2658bde commit c0980f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

commands/local_php_list.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ var localPhpListCmd = &console.Command{
8888
}
8989

9090
terminal.Println("")
91-
terminal.Println("To control the version used in a directory, create a <comment>.php-version</> file that contains the version number (e.g. 7.2 or 7.2.15).")
91+
terminal.Println("To control the version used in a directory, create a <comment>.php-version</> file that contains the version number (e.g. 7.2 or 7.2.15),")
92+
terminal.Println("or define <href=https://getcomposer.org/doc/06-config.md#platform>config.platform.php</> inside <comment>composer.json</>.")
9293
terminal.Println("If you're using Platform.sh, the version can also be specified in the <comment>.platform.app.yaml</> file.")
9394

9495
return nil

0 commit comments

Comments
 (0)