33#
44# All of these options can be overridden by setting them as environment variables before starting
55# the environment. You will need to restart your environment when changing any of these.
6- #
7- # Below, the following substitutions can be made:
8- # - '{version}': any major.minor PHP version from 5.2 onwards.
9- # - '{phpunit_version}': any major PHPUnit version starting with 4.
106# #
117
128# The site will be available at http://localhost:LOCAL_PORT
@@ -15,30 +11,10 @@ LOCAL_PORT=8889
1511# Where to run WordPress from. Valid options are 'src' and 'build'.
1612LOCAL_DIR = src
1713
18- # The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
14+ # The PHP version to use. Valid options are 'latest', and '{version}-fpm', where '{version}' is any
15+ # x.y PHP version from 5.2 onwards.
1916LOCAL_PHP = latest
2017
21- # #
22- # The PHPUnit version to use when running tests.
23- #
24- # Support for new PHPUnit versions is not backported to past versions, so some old WordPress branches require an older
25- # version to run tests.
26- #
27- # Valid versions are:
28- # - 'latest' for the highest version of PHPUnit supported on the highest version of PHP supported.
29- # - '{version}-fpm' for the highest version of PHPUnit supported on the specified version of PHP.
30- # - '{phpunit_version}-php-{version}-fpm' for a specific version of PHPUnit on the specified version of PHP. This format
31- # is only available for PHP versions 5.6 and higher.
32- #
33- # For the full list of available options, see https://hub.docker.com/r/wordpressdevelop/phpunit/tags.
34- #
35- # For full documentation on PHPUnit compatibility and WordPress versions, see
36- # https://make.wordpress.org/core/handbook/references/phpunit-compatibility-and-wordpress-versions/.
37- #
38- # This defaults to the value assigned to the value of LOCAL_PHP.
39- # #
40- LOCAL_PHPUNIT = ${ LOCAL_PHP }
41-
4218# Whether or not to enable XDebug.
4319LOCAL_PHP_XDEBUG = false
4420
0 commit comments