Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/private/App/DependencyAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private function analyzePhpVersion(array $dependencies): array {
if (isset($dependencies['php']['@attributes']['max-version'])) {
$maxVersion = $dependencies['php']['@attributes']['max-version'];
if ($this->compareBigger($this->platform->getPhpVersion(), $maxVersion)) {
$missing[] = $this->getL()->t('PHP with a version lower than %s is required.', [$maxVersion]);
$missing[] = $this->getL()->t('PHP %s or lower is required.', [$maxVersion]);
}
}
if (isset($dependencies['php']['@attributes']['min-int-size'])) {
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/App/DependencyAnalyzerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ public static function providesPhpVersion(): array {
[[], null, '5.5', null],
[[], '5.4', '5.5', null],
[['PHP 5.4.4 or higher is required.'], '5.4.4', null, null],
[['PHP with a version lower than 5.4.2 is required.'], null, '5.4.2', null],
[['PHP 5.4.2 or lower is required.'], null, '5.4.2', null],
[['64bit or higher PHP required.'], null, null, 64],
[[], '5.4', '5.4', null],
];
Expand Down
Loading