diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-03-26 11:30:18 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-03-26 18:34:56 +0300 |
commit | b80ebc96748b45fd2e0ba9323308657c4b00b7ec (patch) | |
tree | ec20e0ffa2f86b9b54939a83a785407319f94559 /tests/lib/IntegrityCheck | |
parent | 62403d0932be7d620c7bdadc6b4e13eb496fcd6f (diff) |
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/IntegrityCheck')
-rw-r--r-- | tests/lib/IntegrityCheck/CheckerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/IntegrityCheck/CheckerTest.php b/tests/lib/IntegrityCheck/CheckerTest.php index 22b026eaae5..7d99316f479 100644 --- a/tests/lib/IntegrityCheck/CheckerTest.php +++ b/tests/lib/IntegrityCheck/CheckerTest.php @@ -780,7 +780,7 @@ class CheckerTest extends TestCase { ->expects($this->once()) ->method('getOnlyDefaultAliases') ->willReturn( - array ( + [ '_comment' => 'Array of mimetype aliases.', '_comment2' => 'Any changes you make here will be overwritten on an update of Nextcloud.', '_comment3' => 'Put any custom mappings in a new file mimetypealiases.json in the config/ folder of Nextcloud', @@ -881,13 +881,13 @@ class CheckerTest extends TestCase { 'text/x-shellscript' => 'text/code', 'web' => 'text/code', 'application/internet-shortcut' => 'link', - )); + ]); $this->mimeTypeDetector ->expects($this->once()) ->method('getAllAliases') ->willReturn( - array ( + [ '_comment' => 'Array of mimetype aliases.', '_comment2' => 'Any changes you make here will be overwritten on an update of Nextcloud.', '_comment3' => 'Put any custom mappings in a new file mimetypealiases.json in the config/ folder of Nextcloud', @@ -989,7 +989,7 @@ class CheckerTest extends TestCase { 'text/x-shellscript' => 'text/code', 'web' => 'text/code', 'application/internet-shortcut' => 'link', - )); + ]); $this->environmentHelper ->expects($this->any()) |