Skip to content

Commit 1d667b0

Browse files
committed
feat: try to fix conflicts
1 parent 304b751 commit 1d667b0

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# Changelog
22

3-
## 2.0.1
3+
## 3.0.0
44
Add support for Symfony 5 and 6. Bump PHP to >= 7.2
55

6-
## 2.00
7-
SF4 and PHP 7.2 support
6+
## 2.1.0
7+
Add opcache information to the info endpoint when available #7
8+
9+
## 2.0.0
10+
Added Symfony 4 support
811

912
## 1.0.5
1013
Take two of improving the DoctrineConnectionHealthCheck

src/Value/Information.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,25 @@ class Information implements JsonSerializable
4040
* @var bool
4141
*/
4242
private $debuggerEnabled;
43+
/**
44+
* @var array
45+
*/
46+
private $systemInfo;
4347

44-
public static function buildFrom(BuildPath $buildPath, string $environment, bool $debuggerEnabled): Information
48+
public static function buildFrom(BuildPath $buildPath, string $environment, bool $debuggerEnabled, array $systemInfo): Information
4549
{
4650
Assert::stringNotEmpty($environment, 'Environment must have a non empty string value');
4751
Assert::boolean($debuggerEnabled, 'Debugger enabled must have a boolean value');
4852

49-
return new self($buildPath, $environment, $debuggerEnabled);
53+
return new self($buildPath, $environment, $debuggerEnabled, $systemInfo);
5054
}
5155

52-
public function __construct(BuildPath $buildPath, string $environment, bool $debuggerEnabled)
56+
public function __construct(BuildPath $buildPath, string $environment, bool $debuggerEnabled, array $systemInfo)
5357
{
5458
$this->buildPath = $buildPath;
5559
$this->environment = $environment;
5660
$this->debuggerEnabled = $debuggerEnabled;
61+
$this->systemInfo = $systemInfo;
5762
}
5863

5964
public function jsonSerialize(): array

0 commit comments

Comments
 (0)