php cs fix
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
54ef1a73af
commit
6a7e849090
|
@ -39,7 +39,6 @@ use OCP\Calendar\Room\IManager as IRoomManager;
|
||||||
use Test\TestCase;
|
use Test\TestCase;
|
||||||
|
|
||||||
interface tmpI extends IResource, IMetadataProvider {
|
interface tmpI extends IResource, IMetadataProvider {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase {
|
class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase {
|
||||||
|
|
|
@ -82,7 +82,7 @@ class UserAvatarTest extends \Test\TestCase {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
$file->method('getContent')
|
$file->method('getContent')
|
||||||
->willReturnCallback(function() use (&$data) {
|
->willReturnCallback(function () use (&$data) {
|
||||||
return $data;
|
return $data;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,6 @@ use OC;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
|
|
||||||
class ImageTest extends \Test\TestCase {
|
class ImageTest extends \Test\TestCase {
|
||||||
|
|
||||||
public static function tearDownAfterClass(): void {
|
public static function tearDownAfterClass(): void {
|
||||||
@unlink(OC::$SERVERROOT.'/tests/data/testimage2.png');
|
@unlink(OC::$SERVERROOT.'/tests/data/testimage2.png');
|
||||||
@unlink(OC::$SERVERROOT.'/tests/data/testimage2.jpg');
|
@unlink(OC::$SERVERROOT.'/tests/data/testimage2.jpg');
|
||||||
|
|
|
@ -49,7 +49,7 @@ trait ClientServiceTrait {
|
||||||
*
|
*
|
||||||
* @since Method available since Release 3.0.0
|
* @since Method available since Release 3.0.0
|
||||||
*/
|
*/
|
||||||
abstract static public function any();
|
abstract public static function any();
|
||||||
|
|
||||||
protected function setUpClientServiceTrait() {
|
protected function setUpClientServiceTrait() {
|
||||||
$this->clientService = $this->createMock(IClientService::class);
|
$this->clientService = $this->createMock(IClientService::class);
|
||||||
|
|
|
@ -24,8 +24,8 @@ trait EncryptionTrait {
|
||||||
abstract protected function registerStorageWrapper($name, $wrapper);
|
abstract protected function registerStorageWrapper($name, $wrapper);
|
||||||
|
|
||||||
// from phpunit
|
// from phpunit
|
||||||
abstract static protected function markTestSkipped(string $message = ''): void;
|
abstract protected static function markTestSkipped(string $message = ''): void;
|
||||||
abstract static protected function assertTrue($condition, string $message = ''): void;
|
abstract protected static function assertTrue($condition, string $message = ''): void;
|
||||||
|
|
||||||
private $encryptionWasEnabled;
|
private $encryptionWasEnabled;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue