@wordpress/env 5.10.0 → 5.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -181,9 +181,11 @@ module.exports = function buildDockerComposeConfig( config ) {
181
181
  phpunitTag = '6' + phpunitPhpVersion;
182
182
  } else if ( testsPhpVersion === '7.1' ) {
183
183
  phpunitTag = '7' + phpunitPhpVersion;
184
- } else if ( [ '7.2', '7.3', '7.4' ].indexOf( testsPhpVersion ) >= 0 ) {
184
+ } else if ( testsPhpVersion === '7.2' ) {
185
185
  phpunitTag = '8' + phpunitPhpVersion;
186
- } else if ( testsPhpVersion === '8.0' ) {
186
+ } else if (
187
+ [ '7.3', '7.4', '8.0', '8.1', '8.2' ].indexOf( testsPhpVersion ) >= 0
188
+ ) {
187
189
  phpunitTag = '9' + phpunitPhpVersion;
188
190
  }
189
191
  const phpunitImage = `wordpressdevelop/phpunit:${ phpunitTag }`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/env",
3
- "version": "5.10.0",
3
+ "version": "5.11.1",
4
4
  "description": "A zero-config, self contained local WordPress environment for development and testing.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -51,5 +51,5 @@
51
51
  "scripts": {
52
52
  "test": "echo \"Error: run tests from root\" && exit 1"
53
53
  },
54
- "gitHead": "204c880ff65295768e9695dfee6c7a9fee1fdd05"
54
+ "gitHead": "e9ff92d836928aba65dde94d9d193bc401a934d7"
55
55
  }