Skip to content

Commit

Permalink
feat: add PHP 8.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanChepurnyi committed Jan 11, 2025
1 parent f406028 commit fef64f7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "TestContainers for Magento data in integration/functional tests",
"type": "library",
"require": {
"php": "^8.3",
"php": "~8.2.0||~8.3.0",
"testcontainers/testcontainers": "^0.2.0"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "php",
"bump-minor-pre-major": false,
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
}
10 changes: 5 additions & 5 deletions src/DbConnectionSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

final class DbConnectionSettings
{
private const int DEFAULT_PORT = 3306;
private const string DEFAULT_USER = 'root';
private const string DEFAULT_PASSWORD = '';
private const string DEFAULT_DATABASE = '';
private const string DEFAULT_CHARSET = 'utf8mb4';
private const DEFAULT_PORT = 3306;
private const DEFAULT_USER = 'root';
private const DEFAULT_PASSWORD = '';
private const DEFAULT_DATABASE = '';
private const DEFAULT_CHARSET = 'utf8mb4';

public function __construct(
public readonly string $host,
Expand Down

0 comments on commit fef64f7

Please sign in to comment.