Skip to content

Commit d512d08

Browse files
Merge pull request #4151 from nextcloud/backport/4150/stable1.7
[stable1.7] Bring back more php7.2 compatibility for some Nextcloud 20 instances
2 parents 1219b07 + fce0a1e commit d512d08

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
php-versions: [7.3, 7.4]
22+
php-versions: [7.2, 7.3, 7.4]
2323
name: php${{ matrix.php-versions }} lint
2424
steps:
2525
- name: Checkout

lib/Http/HtmlResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static function withResizer(string $content,
6969
$content,
7070
false,
7171
$nonce,
72-
$scriptUrl,
72+
$scriptUrl
7373
);
7474
}
7575

tests/Unit/Controller/MessagesControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ protected function setUp(): void {
153153
$this->l10n,
154154
$this->mimeTypeDetector,
155155
$this->urlGenerator,
156-
$this->nonceManager,
156+
$this->nonceManager
157157
);
158158

159159
$this->account = $this->createMock(Account::class);

0 commit comments

Comments
 (0)