Fix php cs issues

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-04-22 19:57:19 +02:00
parent 7ad5daabeb
commit 52febb396c
130 changed files with 1068 additions and 1424 deletions

View File

@@ -23,7 +23,6 @@
namespace OCA\Deck\Notification;
use OCA\Deck\Db\Acl;
use OCA\Deck\Db\Board;
use OCA\Deck\Db\BoardMapper;
@@ -71,7 +70,6 @@ class NotificationHelperTest extends \Test\TestCase {
$this->groupManager,
$this->currentUser
);
}
public function testSendCardDuedateAlreadyNotified() {
@@ -101,7 +99,7 @@ class NotificationHelperTest extends \Test\TestCase {
->method('__call')
->with('getId', [])
->willReturn(123);
for($i=0; $i<3; $i++) {
for ($i=0; $i<3; $i++) {
$card->expects($this->at($i*3+2))
->method('__call')
->with('getId', [])
@@ -351,6 +349,4 @@ class NotificationHelperTest extends \Test\TestCase {
$this->notificationHelper->sendMention($comment);
}
}

View File

@@ -31,9 +31,6 @@ use OCP\IUser;
use OCP\IUserManager;
use OCP\L10N\IFactory;
use OCP\Notification\INotification;
use OCP\Notification\INotifier;
use OCP\RichObjectStrings\Definitions;
class NotifierTest extends \Test\TestCase {
@@ -124,7 +121,6 @@ class NotifierTest extends \Test\TestCase {
$actualNotification = $this->notifier->prepare($notification, 'en_US');
$this->assertEquals($notification, $actualNotification);
}
public function testPrepareCardCommentMentioned() {
@@ -171,7 +167,6 @@ class NotifierTest extends \Test\TestCase {
$actualNotification = $this->notifier->prepare($notification, 'en_US');
$this->assertEquals($notification, $actualNotification);
}
public function dataPrepareCardAssigned() {
@@ -313,5 +308,4 @@ class NotifierTest extends \Test\TestCase {
$this->assertEquals($notification, $actualNotification);
}
}