Showing 3,235 of 4,504 total issues
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$AppName,
IRequest $request,
IL10N $l10n,
IUserStoragesService $userStoragesService,
IUserSession $userSession,
Method syncRemoteAddressBook
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function syncRemoteAddressBook($url, $userName, $sharedSecret, $syncToken, $targetBookId, $targetPrincipal, $targetProperties) {
Method update
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$id,
$mountPoint,
$backend,
$authMechanism,
$backendOptions,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$appName,
IRequest $request,
IUserSession $userSession,
TagService $tagService,
IPreview $previewManager,
Method setCookie
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function setCookie($name, $value, $expire, $path, $domain, $secure, $httpOnly);
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$format,
$statuscode,
$message,
$data=[],
$itemscount='',
Method createMailBody
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$filename,
$link,
$expiration,
$senderDisplayName,
$personalNote = null,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EnvironmentHelper $environmentHelper,
FileAccessHelper $fileAccessHelper,
AppLocator $appLocator,
IConfig $config = null,
ICacheFactory $cacheFactory,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
IUserStoragesService $storagesService,
$storageId,
$storage,
$mountpoint,
$arguments = null,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
IConfig $config,
IDBConnection $connection,
IUserManager $userManager,
IAvatarManager $avatarManager,
IRootFolder $rootFolder,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
IConfig $config,
IDBConnection $connection,
IUserManager $userManager,
IAvatarManager $avatarManager,
IRootFolder $rootFolder,
Method generateTarget
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function generateTarget($itemType, $itemSource, $shareType, $shareWith, $uidOwner, $suggestedTarget = null, $groupParent = null) {
Method deleteOrphanEntries
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function deleteOrphanEntries(IOutput $output, $repairInfo, $deleteTable, $deleteId, $sourceTable, $sourceId, $sourceNullColumn) {
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$user = '',
$root = '/',
Node $file = null,
$maxX = 1,
$maxY = 1,
Method setCookie
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function setCookie($name, $value, $expire, $path, $domain, $secure, $httpOnly) {
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$appName,
IRequest $request,
IAppManager $appManager,
IRootFolder $rootFolder,
IURLGenerator $generator,
Function _saveToOwnCloud
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_saveToOwnCloud: function (remote, token, owner, ownerDisplayName, name, isProtected) {
Avoid deeply nested control flow statements. Open
Open
if (OC.isUserAdmin()) {
OC.redirect(OC.generateUrl('/settings/admin?sectionid=storage'));
}
else {
OC.redirect(OC.generateUrl('/settings/personal?sectionid=storage'));
Function lazyLoadPreview
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
lazyLoadPreview : function(path, mime, ready, width, height, etag) {
Avoid deeply nested control flow statements. Open
Open
if (result && result.status == 'success') {
$(token).val(result.access_token);
$(token_secret).val(result.access_token_secret);
$(configured).val('true');
OCA.External.Settings.mountConfig.saveStorageConfig($tr, function(status) {