php cs fix

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/23780/head
Roeland Jago Douma 4 years ago
parent 54ef1a73af
commit 6a7e849090
No known key found for this signature in database
GPG Key ID: F941078878347C0C

@ -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;

Loading…
Cancel
Save