php cs fix

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2020-12-04 08:39:26 +01:00
parent 54ef1a73af
commit 6a7e849090
No known key found for this signature in database
GPG Key ID: F941078878347C0C
5 changed files with 4 additions and 6 deletions

View File

@ -39,7 +39,6 @@ use OCP\Calendar\Room\IManager as IRoomManager;
use Test\TestCase;
interface tmpI extends IResource, IMetadataProvider {
}
class UpdateCalendarResourcesRoomsBackgroundJobTest extends TestCase {

View File

@ -82,7 +82,7 @@ class UserAvatarTest extends \Test\TestCase {
}));
$file->method('getContent')
->willReturnCallback(function() use (&$data) {
->willReturnCallback(function () use (&$data) {
return $data;
});

View File

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

View File

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

View File

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