Browse Source
php cs fix
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/23780/head
Roeland Jago Douma
5 years ago
No known key found for this signature in database
GPG Key ID: F941078878347C0C
5 changed files with
4 additions and
6 deletions
-
apps/dav/tests/unit/BackgroundJob/UpdateCalendarResourcesRoomsBackgroundJobTest.php
-
tests/lib/Avatar/UserAvatarTest.php
-
tests/lib/ImageTest.php
-
tests/lib/Traits/ClientServiceTrait.php
-
tests/lib/Traits/EncryptionTrait.php
|
|
|
@ -39,7 +39,6 @@ use OCP\Calendar\Room\IManager as IRoomManager; |
|
|
|
use Test\TestCase; |
|
|
|
|
|
|
|
interface tmpI extends IResource, IMetadataProvider { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase { |
|
|
|
|
|
|
|
@ -82,7 +82,7 @@ class UserAvatarTest extends \Test\TestCase { |
|
|
|
})); |
|
|
|
|
|
|
|
$file->method('getContent') |
|
|
|
->willReturnCallback(function() use (&$data) { |
|
|
|
->willReturnCallback(function () use (&$data) { |
|
|
|
return $data; |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
@ -12,7 +12,6 @@ use OC; |
|
|
|
use OCP\IConfig; |
|
|
|
|
|
|
|
class ImageTest extends \Test\TestCase { |
|
|
|
|
|
|
|
public static function tearDownAfterClass(): void { |
|
|
|
@unlink(OC::$SERVERROOT.'/tests/data/testimage2.png'); |
|
|
|
@unlink(OC::$SERVERROOT.'/tests/data/testimage2.jpg'); |
|
|
|
|
|
|
|
@ -49,7 +49,7 @@ trait ClientServiceTrait { |
|
|
|
* |
|
|
|
* @since Method available since Release 3.0.0 |
|
|
|
*/ |
|
|
|
abstract static public function any(); |
|
|
|
abstract public static function any(); |
|
|
|
|
|
|
|
protected function setUpClientServiceTrait() { |
|
|
|
$this->clientService = $this->createMock(IClientService::class); |
|
|
|
|
|
|
|
@ -24,8 +24,8 @@ trait EncryptionTrait { |
|
|
|
abstract protected function registerStorageWrapper($name, $wrapper); |
|
|
|
|
|
|
|
// from phpunit
|
|
|
|
abstract static protected function markTestSkipped(string $message = ''): void; |
|
|
|
abstract static protected function assertTrue($condition, string $message = ''): void; |
|
|
|
abstract protected static function markTestSkipped(string $message = ''): void; |
|
|
|
abstract protected static function assertTrue($condition, string $message = ''): void; |
|
|
|
|
|
|
|
private $encryptionWasEnabled; |
|
|
|
|
|
|
|
|