Skip to content

Commit fef64f7

Browse files
committed
feat: add PHP 8.2 support
1 parent f406028 commit fef64f7

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "TestContainers for Magento data in integration/functional tests",
44
"type": "library",
55
"require": {
6-
"php": "^8.3",
6+
"php": "~8.2.0||~8.3.0",
77
"testcontainers/testcontainers": "^0.2.0"
88
},
99
"require-dev": {

release-please-config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
".": {
44
"changelog-path": "CHANGELOG.md",
55
"release-type": "php",
6-
"bump-minor-pre-major": false,
6+
"bump-minor-pre-major": true,
77
"bump-patch-for-minor-pre-major": false,
88
"draft": false,
99
"prerelease": false
1010
}
1111
},
1212
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
13-
}
13+
}

src/DbConnectionSettings.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
final class DbConnectionSettings
66
{
7-
private const int DEFAULT_PORT = 3306;
8-
private const string DEFAULT_USER = 'root';
9-
private const string DEFAULT_PASSWORD = '';
10-
private const string DEFAULT_DATABASE = '';
11-
private const string DEFAULT_CHARSET = 'utf8mb4';
7+
private const DEFAULT_PORT = 3306;
8+
private const DEFAULT_USER = 'root';
9+
private const DEFAULT_PASSWORD = '';
10+
private const DEFAULT_DATABASE = '';
11+
private const DEFAULT_CHARSET = 'utf8mb4';
1212

1313
public function __construct(
1414
public readonly string $host,

0 commit comments

Comments
 (0)