aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Comments
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:53:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:54:22 +0200
commitafbd9c4e6ed834e713039f2cff88ba3eec03dadb (patch)
tree7d8721cf8fc0329d6b750db63798de67a162b090 /tests/lib/Comments
parent19e97e86c69ab128191439d6a17dacb5a630cf98 (diff)
downloadnextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.tar.gz
nextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.zip
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Comments')
-rw-r--r--tests/lib/Comments/CommentTest.php2
-rw-r--r--tests/lib/Comments/ManagerTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Comments/CommentTest.php b/tests/lib/Comments/CommentTest.php
index bd58d3fb156..686c2bcd19e 100644
--- a/tests/lib/Comments/CommentTest.php
+++ b/tests/lib/Comments/CommentTest.php
@@ -112,7 +112,7 @@ class CommentTest extends TestCase {
/**
* @dataProvider roleSetterProvider
*/
- public function testSetRoleInvalidInput($role, $type, $id){
+ public function testSetRoleInvalidInput($role, $type, $id) {
$this->expectException(\InvalidArgumentException::class);
$comment = new Comment();
diff --git a/tests/lib/Comments/ManagerTest.php b/tests/lib/Comments/ManagerTest.php
index 1700af797fe..9ae49d62f33 100644
--- a/tests/lib/Comments/ManagerTest.php
+++ b/tests/lib/Comments/ManagerTest.php
@@ -378,7 +378,7 @@ class ManagerTest extends TestCase {
$expected = array_reverse($expected);
}
- $this->assertSame($expected, array_map(function(IComment $c) {
+ $this->assertSame($expected, array_map(function (IComment $c) {
return (int) $c->getId();
}, $comments));
}