зеркало из https://github.com/nextcloud/activity.git
Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
74381d4137
Коммит
2c3f6c674c
|
@ -28,7 +28,6 @@ use OCA\Activity\DigestSender;
|
|||
use OCP\AppFramework\Utility\ITimeFactory;
|
||||
|
||||
class DigestMail extends TimedJob {
|
||||
|
||||
/** @var DigestSender */
|
||||
protected $digestSender;
|
||||
/** @var ITimeFactory */
|
||||
|
|
|
@ -32,7 +32,6 @@ use OCA\Activity\MailQueueHandler;
|
|||
* @package OCA\Activity\BackgroundJob
|
||||
*/
|
||||
class EmailNotification extends TimedJob {
|
||||
|
||||
/** @var MailQueueHandler */
|
||||
protected $queueHandler;
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ use OCP\Federation\ICloudIdManager;
|
|||
use OCP\Http\Client\IClientService;
|
||||
|
||||
class RemoteActivity extends QueuedJob {
|
||||
|
||||
/** @var IClientService */
|
||||
protected $clientService;
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ use OCP\Capabilities\ICapability;
|
|||
* @package OCA\Activity
|
||||
*/
|
||||
class Capabilities implements ICapability {
|
||||
|
||||
/**
|
||||
* Return this classes capabilities
|
||||
*
|
||||
|
|
|
@ -35,7 +35,6 @@ use Symfony\Component\Console\Input\InputOption;
|
|||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class SendEmails extends Base {
|
||||
|
||||
/** @var MailQueueHandler */
|
||||
protected $queueHandler;
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ use OCP\Activity\IEvent;
|
|||
use OCP\Activity\IManager;
|
||||
|
||||
class Consumer implements IConsumer {
|
||||
|
||||
/** @var Data */
|
||||
protected $data;
|
||||
/** @var IManager */
|
||||
|
|
|
@ -30,7 +30,6 @@ use OCP\AppFramework\OCSController;
|
|||
use OCP\IRequest;
|
||||
|
||||
class APIv1Controller extends OCSController {
|
||||
|
||||
/** @var Data */
|
||||
protected $data;
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ use OCP\IUser;
|
|||
use OCP\IUserSession;
|
||||
|
||||
class APIv2Controller extends OCSController {
|
||||
|
||||
/** @var string */
|
||||
protected $filter;
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
|||
use Symfony\Component\EventDispatcher\GenericEvent;
|
||||
|
||||
class ActivitiesController extends Controller {
|
||||
|
||||
/** @var IConfig */
|
||||
protected $config;
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@ use OCP\IUser;
|
|||
use OCP\IUserManager;
|
||||
|
||||
class RemoteActivityController extends OCSController {
|
||||
|
||||
/** @var IDBConnection */
|
||||
protected $db;
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ use OCP\Share\Exceptions\ShareNotFound;
|
|||
use OCP\Share\IManager;
|
||||
|
||||
class CurrentUser {
|
||||
|
||||
/** @var IUserSession */
|
||||
protected $userSession;
|
||||
/** @var IRequest */
|
||||
|
|
|
@ -31,7 +31,6 @@ use Symfony\Component\EventDispatcher\GenericEvent;
|
|||
* The class to handle the filesystem hooks
|
||||
*/
|
||||
class FilesHooksStatic {
|
||||
|
||||
/**
|
||||
* @return FilesHooks
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,6 @@ use OCP\IL10N;
|
|||
use OCP\IURLGenerator;
|
||||
|
||||
class AllFilter implements IFilter {
|
||||
|
||||
/** @var IL10N */
|
||||
protected $l;
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ use OCP\IL10N;
|
|||
use OCP\IURLGenerator;
|
||||
|
||||
class ByFilter implements IFilter {
|
||||
|
||||
/** @var IL10N */
|
||||
protected $l;
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ use OCP\IL10N;
|
|||
use OCP\IURLGenerator;
|
||||
|
||||
class SelfFilter implements IFilter {
|
||||
|
||||
/** @var IL10N */
|
||||
protected $l;
|
||||
|
||||
|
|
|
@ -32,9 +32,9 @@ class GroupHelperDisabled extends GroupHelper {
|
|||
IValidator $richObjectValidator,
|
||||
ILogger $logger) {
|
||||
parent::__construct($l,
|
||||
$activityManager,
|
||||
$richObjectValidator,
|
||||
$logger);
|
||||
$activityManager,
|
||||
$richObjectValidator,
|
||||
$logger);
|
||||
$this->allowGrouping = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,7 +29,6 @@ use OCP\Migration\SimpleMigrationStep;
|
|||
use OCP\Migration\IOutput;
|
||||
|
||||
class Version2006Date20170808154933 extends SimpleMigrationStep {
|
||||
|
||||
/**
|
||||
* @param IOutput $output
|
||||
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||
|
|
|
@ -28,7 +28,6 @@ use OCP\Migration\SimpleMigrationStep;
|
|||
use OCP\Migration\IOutput;
|
||||
|
||||
class Version2006Date20170808155040 extends SimpleMigrationStep {
|
||||
|
||||
/**
|
||||
* @param IOutput $output
|
||||
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||
|
|
|
@ -28,7 +28,6 @@ use OCP\Migration\BigIntMigration;
|
|||
use OCP\Migration\IOutput;
|
||||
|
||||
class Version2006Date20170919095939 extends BigIntMigration {
|
||||
|
||||
/**
|
||||
* @return array Returns an array with the following structure
|
||||
* ['table1' => ['column1', 'column2'], ...]
|
||||
|
|
|
@ -33,7 +33,6 @@ use OCP\Migration\SimpleMigrationStep;
|
|||
use OCP\Migration\IOutput;
|
||||
|
||||
class Version2008Date20181011095117 extends SimpleMigrationStep {
|
||||
|
||||
/**
|
||||
* @param IOutput $output
|
||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||
|
|
|
@ -13,7 +13,6 @@ use OCP\Migration\IOutput;
|
|||
* Auto-generated migration step: Please modify to your needs!
|
||||
*/
|
||||
class Version2010Date20190416112817 extends SimpleMigrationStep {
|
||||
|
||||
/**
|
||||
* @param IOutput $output
|
||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||
|
|
|
@ -32,7 +32,6 @@ use OCP\Migration\IOutput;
|
|||
use OCP\Migration\SimpleMigrationStep;
|
||||
|
||||
class Version2011Date20201006132544 extends SimpleMigrationStep {
|
||||
|
||||
/** @var IDBConnection */
|
||||
protected $connection;
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ use OCP\Migration\IOutput;
|
|||
use OCP\Migration\SimpleMigrationStep;
|
||||
|
||||
class Version2011Date20201006132546 extends SimpleMigrationStep {
|
||||
|
||||
/** @var IDBConnection */
|
||||
protected $connection;
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ use OCP\IURLGenerator;
|
|||
use OCP\Settings\IIconSection;
|
||||
|
||||
class AdminSection implements IIconSection {
|
||||
|
||||
/** @var IL10N */
|
||||
private $l;
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ use OCP\IURLGenerator;
|
|||
use OCP\Settings\IIconSection;
|
||||
|
||||
class PersonalSection implements IIconSection {
|
||||
|
||||
/** @var IL10N */
|
||||
private $l;
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ use OCP\Files\Node;
|
|||
use OCP\Files\NotFoundException;
|
||||
|
||||
class ViewInfoCache {
|
||||
|
||||
/** @var array */
|
||||
protected $cachePath;
|
||||
/** @var array */
|
||||
|
|
|
@ -36,7 +36,6 @@ use OCP\Share\IManager;
|
|||
* @package OCA\Activity\Tests
|
||||
*/
|
||||
class CurrentUserTest extends TestCase {
|
||||
|
||||
/** @var IRequest|MockObject */
|
||||
protected $request;
|
||||
|
||||
|
|
|
@ -235,7 +235,7 @@ class DataTest extends TestCase {
|
|||
// [$timestampWhere],
|
||||
// [str_replace('{id}', $id, $idWhere)]
|
||||
// )
|
||||
;
|
||||
;
|
||||
} else {
|
||||
$mock->expects($this->never())
|
||||
->method('andWhere');
|
||||
|
|
|
@ -27,7 +27,6 @@ use OCP\Activity\IEvent;
|
|||
use OCP\Activity\IProvider;
|
||||
|
||||
class Provider implements IProvider {
|
||||
|
||||
/**
|
||||
* @param string $language The language which should be used for translating, e.g. "en"
|
||||
* @param IEvent $event The current event which should be parsed
|
||||
|
|
|
@ -25,7 +25,6 @@ namespace OCA\Activity\Tests\Mock;
|
|||
use OCP\Activity\ISetting;
|
||||
|
||||
class Setting1 implements ISetting {
|
||||
|
||||
/**
|
||||
* @return string Lowercase a-z and underscore only identifier
|
||||
* @since 11.0.0
|
||||
|
|
|
@ -25,7 +25,6 @@ namespace OCA\Activity\Tests\Mock;
|
|||
use OCP\Activity\ISetting;
|
||||
|
||||
class Setting2 implements ISetting {
|
||||
|
||||
/**
|
||||
* @return string Lowercase a-z and underscore only identifier
|
||||
* @since 11.0.0
|
||||
|
|
Загрузка…
Ссылка в новой задаче