@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | private IAppConfig&MockObject $appConfig; |
30 | 30 | private IConfig&MockObject $config; |
31 | 31 | private \OC_Defaults $defaults; |
32 | - private IL10N|MockObject $l10n; |
|
32 | + private IL10N | MockObject $l10n; |
|
33 | 33 | private IUserSession&MockObject $userSession; |
34 | 34 | private IURLGenerator&MockObject $urlGenerator; |
35 | 35 | private ICacheFactory&MockObject $cacheFactory; |
@@ -337,8 +337,8 @@ discard block |
||
337 | 337 | |
338 | 338 | public static function invalidLegalUrlProvider(): array { |
339 | 339 | return [ |
340 | - ['example.com/legal'], # missing scheme |
|
341 | - ['https:///legal'], # missing host |
|
340 | + ['example.com/legal'], # missing scheme |
|
341 | + ['https:///legal'], # missing host |
|
342 | 342 | ]; |
343 | 343 | } |
344 | 344 | |
@@ -647,7 +647,7 @@ discard block |
||
647 | 647 | ->method('linkToRoute') |
648 | 648 | ->with('theming.Theming.getImage') |
649 | 649 | ->willReturn('custom-logo?v=0'); |
650 | - $this->assertEquals('custom-logo' . '?v=0', $this->template->getLogo()); |
|
650 | + $this->assertEquals('custom-logo'.'?v=0', $this->template->getLogo()); |
|
651 | 651 | } |
652 | 652 | |
653 | 653 | public function testGetScssVariablesCached(): void { |
@@ -785,7 +785,7 @@ discard block |
||
785 | 785 | } |
786 | 786 | |
787 | 787 | #[\PHPUnit\Framework\Attributes\DataProvider('dataReplaceImagePath')] |
788 | - public function testReplaceImagePath(string $app, string $image, string|bool $result = 'themingRoute?v=1234abcd'): void { |
|
788 | + public function testReplaceImagePath(string $app, string $image, string | bool $result = 'themingRoute?v=1234abcd'): void { |
|
789 | 789 | $this->cache->expects($this->any()) |
790 | 790 | ->method('get') |
791 | 791 | ->with('shouldReplaceIcons') |