Skip to content

Commit c0980f3

Browse files
authored
Merge pull request #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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy