diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2022-01-12 17:48:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 17:48:36 +0300 |
commit | 2e1491771e47eb02d297215eba6e6ce0019fc9c1 (patch) | |
tree | f327c9ae125cbddd86a1da588b3562d08b3bbe65 /apps/files | |
parent | db9fbc93072049b8816a683ca015ba53976db03a (diff) | |
parent | bfdfafde79a17b1683467c800cf2a63ba14fb1a0 (diff) |
Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
Diffstat (limited to 'apps/files')
36 files changed, 65 insertions, 64 deletions
diff --git a/apps/files/js/app.js b/apps/files/js/app.js index d6b7a79b362..f7863de09be 100644 --- a/apps/files/js/app.js +++ b/apps/files/js/app.js @@ -187,7 +187,7 @@ * they have initialized themselves. Therefore the files list needs to call this * method manually * - * @param {OCA.Files.FileList} newFileList + * @param {OCA.Files.FileList} newFileList - */ updateCurrentFileList: function(newFileList) { this.currentFileList = newFileList; diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js index f0a4da2d6d9..383d3debd09 100644 --- a/apps/files/js/breadcrumb.js +++ b/apps/files/js/breadcrumb.js @@ -104,7 +104,7 @@ * Returns the full URL to the given directory * * @param {Object.<String, String>} part crumb data as map - * @param {int} index crumb index + * @param {number} index crumb index * @return full URL */ getCrumbUrl: function(part, index) { diff --git a/apps/files/js/detailtabview.js b/apps/files/js/detailtabview.js index 1e046f30246..dcb25190003 100644 --- a/apps/files/js/detailtabview.js +++ b/apps/files/js/detailtabview.js @@ -126,7 +126,7 @@ * the given file info, for example based on mime type. * * @param {OCA.Files.FileInfoModel} fileInfo file info model - * @return {bool} whether to display this tab + * @return {boolean} whether to display this tab */ canDisplay: function(fileInfo) { return true; diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index 7ab88ed61bd..9f51f05d561 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -163,7 +163,7 @@ OC.FileUpload.prototype = { /** * Returns conflict resolution mode. * - * @return {int} conflict mode + * @return {number} conflict mode */ getConflictMode: function() { return this._conflictMode || OC.FileUpload.CONFLICT_MODE_DETECT; @@ -173,7 +173,7 @@ OC.FileUpload.prototype = { * Set conflict resolution mode. * See CONFLICT_MODE_* constants. * - * @param {int} mode conflict mode + * @param {number} mode conflict mode */ setConflictMode: function(mode) { this._conflictMode = mode; @@ -383,7 +383,7 @@ OC.FileUpload.prototype = { /** * Returns the status code from the response * - * @return {int} status code + * @return {number} status code */ getResponseStatus: function() { if (this.uploader.isXHRUpload()) { @@ -515,7 +515,7 @@ OC.Uploader.prototype = _.extend({ /** * Returns whether an XHR upload will be used * - * @return {bool} true if XHR upload will be used, + * @return {boolean} true if XHR upload will be used, * false for iframe upload */ isXHRUpload: function () { @@ -656,7 +656,7 @@ OC.Uploader.prototype = _.extend({ /** * Returns an upload by id * - * @param {int} data uploadId + * @param {number} data uploadId * @return {OC.FileUpload} file upload */ getUpload: function(data) { @@ -860,7 +860,7 @@ OC.Uploader.prototype = _.extend({ * Returns whether the given file is known to be a received shared file * * @param {Object} file file - * @return {bool} true if the file is a shared file + * @return {boolean} true if the file is a shared file */ _isReceivedSharedFile: function(file) { if (!window.FileList) { diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index d413bf7471b..505ab21c10c 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -191,7 +191,7 @@ * * @param {string} mime mime type * @param {string} type "dir" or "file" - * @param {int} permissions permissions + * @param {number} permissions permissions * @param {string} filename filename * * @return {Object.<string,OCA.Files.FileActions~actionHandler>} map of action name to action spec @@ -210,7 +210,7 @@ * * @param {string} mime mime type * @param {string} type "dir" or "file" - * @param {int} permissions permissions + * @param {number} permissions permissions * @param {string} filename filename * * @return {Array.<OCA.Files.FileAction>} array of action specs @@ -262,7 +262,7 @@ * * @param {string} mime mime type * @param {string} type "dir" or "file" - * @param {int} permissions permissions + * @param {number} permissions permissions * * @return {OCA.Files.FileActions~actionHandler} action handler * @@ -294,7 +294,7 @@ * * @param {string} mime mime type * @param {string} type "dir" or "file" - * @param {int} permissions permissions + * @param {number} permissions permissions * * @return {OCA.Files.FileActions~actionSpec} action spec * @since 8.2 @@ -797,7 +797,7 @@ * Defaults to the name given in name property * @property {String} mime mime type * @property {String} filename filename - * @property {int} permissions permissions + * @property {number} permissions permissions * @property {(Function|String)} icon icon path to the icon or function that returns it (deprecated, use iconClass instead) * @property {(String|OCA.Files.FileActions~iconClassFunction)} iconClass class name of the icon (recommended for theming) * @property {OCA.Files.FileActions~renderActionFunction} [render] optional rendering function diff --git a/apps/files/js/fileinfomodel.js b/apps/files/js/fileinfomodel.js index 2205c7e6477..8e7b399544c 100644 --- a/apps/files/js/fileinfomodel.js +++ b/apps/files/js/fileinfomodel.js @@ -15,14 +15,14 @@ * @classdesc File information * * @param {Object} attributes file data - * @param {int} attributes.id file id + * @param {number} attributes.id file id * @param {string} attributes.name file name * @param {string} attributes.path path leading to the file, * without the file name and with a leading slash - * @param {int} attributes.size size + * @param {number} attributes.size size * @param {string} attributes.mimetype mime type * @param {string} attributes.icon icon URL - * @param {int} attributes.permissions permissions + * @param {number} attributes.permissions permissions * @param {Date} attributes.mtime modification time * @param {string} attributes.etag etag * @param {string} mountType mount type diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index a653aac25b9..33e942bbc72 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -102,7 +102,7 @@ * Number of files per page * Always show a minimum of 1 * - * @return {int} page size + * @return {number} page size */ pageSize: function() { var isGridView = this.$showGridView.is(':checked'); @@ -803,7 +803,7 @@ * the internal selection cache. * * @param {Object} $tr single file row element - * @param {bool} state true to select, false to deselect + * @param {boolean} state true to select, false to deselect */ _selectFileEl: function($tr, state) { var $checkbox = $tr.find('td.selection>.selectCheckBox'); @@ -1203,7 +1203,7 @@ /** * Custom code * Set tag for all selected files - * @param tagModel + * @param {any} tagModel - * @private */ _onSelectTag: function(tagModel) { @@ -1221,7 +1221,7 @@ }, /** * remove tag from all selected files - * @param tagId + * @param {any} tagId - * @private */ _onDeselectTag: function(tagId) { @@ -1958,7 +1958,7 @@ * * @param {OC.Files.FileInfo} fileData map of file attributes * @param {Object} [options] map of attributes - * @param {int} [options.index] index at which to insert the element + * @param {number} [options.index] index at which to insert the element * @param {boolean} [options.updateSummary] true to update the summary * after adding (default), false otherwise. Defaults to true. * @param {boolean} [options.animate] true to animate the thumbnail image after load @@ -2351,8 +2351,8 @@ /** * Generates a preview URL based on the URL space. * @param urlSpec attributes for the URL - * @param {int} urlSpec.x width - * @param {int} urlSpec.y height + * @param {number} urlSpec.x width + * @param {number} urlSpec.y height * @param {String} urlSpec.file path to the file * @return preview URL */ @@ -3169,7 +3169,7 @@ * * @param {string} file file name * - * @return {bool} true if the file exists in the list, false otherwise + * @return {boolean} true if the file exists in the list, false otherwise */ inList:function(file) { return this.findFile(file); @@ -3179,7 +3179,7 @@ * Shows busy state on a given file row or multiple * * @param {string|Array.<string>} files file name or array of file names - * @param {bool} [busy=true] busy state, true for busy, false to remove busy state + * @param {boolean} [busy=true] busy state, true for busy, false to remove busy state * * @since 8.2 */ @@ -3351,7 +3351,7 @@ }, /** * hide files matching the given filter - * @param filter + * @param {any} filter - */ setFilter:function(filter) { var total = 0; @@ -3416,7 +3416,7 @@ }, /** * get the current filter - * @param filter + * @param {any} filter - */ getFilter:function(filter) { return this._filter; @@ -3955,7 +3955,7 @@ * * @param {OC.Files.FileInfo} fileInfo1 file info * @param {OC.Files.FileInfo} fileInfo2 file info - * @return {int} -1 if the first file must appear before the second one, + * @return {number} -1 if the first file must appear before the second one, * 0 if they are identify, 1 otherwise. */ name: function(fileInfo1, fileInfo2) { @@ -3972,7 +3972,7 @@ * * @param {OC.Files.FileInfo} fileInfo1 file info * @param {OC.Files.FileInfo} fileInfo2 file info - * @return {int} -1 if the first file must appear before the second one, + * @return {number} -1 if the first file must appear before the second one, * 0 if they are identify, 1 otherwise. */ size: function(fileInfo1, fileInfo2) { @@ -3983,7 +3983,7 @@ * * @param {OC.Files.FileInfo} fileInfo1 file info * @param {OC.Files.FileInfo} fileInfo2 file info - * @return {int} -1 if the first file must appear before the second one, + * @return {number} -1 if the first file must appear before the second one, * 0 if they are identify, 1 otherwise. */ mtime: function(fileInfo1, fileInfo2) { diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 4de3fb4352f..03778fb92f9 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -219,7 +219,7 @@ * Returns the download URL of the given file(s) * @param {string} filename string or array of file names to download * @param {string} [dir] optional directory in which the file name is, defaults to the current directory - * @param {bool} [isDir=false] whether the given filename is a directory and might need a special URL + * @param {boolean} [isDir=false] whether the given filename is a directory and might need a special URL */ getDownloadUrl: function(filename, dir, isDir) { if (!_.isArray(filename) && !isDir) { @@ -271,8 +271,8 @@ /** * Generates a preview URL based on the URL space. * @param urlSpec attributes for the URL - * @param {int} urlSpec.x width - * @param {int} urlSpec.y height + * @param {number} urlSpec.x width + * @param {number} urlSpec.y height * @param {String} urlSpec.file path to the file * @return preview URL * @deprecated used OCA.Files.FileList.generatePreviewUrl instead diff --git a/apps/files/src/files-app-settings.js b/apps/files/src/files-app-settings.js index 0d8f84cb7a8..491ea127ccd 100644 --- a/apps/files/src/files-app-settings.js +++ b/apps/files/src/files-app-settings.js @@ -5,7 +5,7 @@ * @author Gary Kim <gary@garykim.dev> * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/legacy/filelistSearch.js b/apps/files/src/legacy/filelistSearch.js index 712813e6050..9512f47eccc 100644 --- a/apps/files/src/legacy/filelistSearch.js +++ b/apps/files/src/legacy/filelistSearch.js @@ -3,7 +3,7 @@ * * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/logger.js b/apps/files/src/logger.js index b487e7caa9f..0005ee13cb4 100644 --- a/apps/files/src/logger.js +++ b/apps/files/src/logger.js @@ -4,7 +4,7 @@ * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @author Roeland Jago Douma <roeland@famdouma.nl> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/main-personal-settings.js b/apps/files/src/main-personal-settings.js index b0176d5c30d..1d1942e85bb 100644 --- a/apps/files/src/main-personal-settings.js +++ b/apps/files/src/main-personal-settings.js @@ -5,7 +5,7 @@ * * @author Roeland Jago Douma <roeland@famdouma.nl> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/models/Setting.js b/apps/files/src/models/Setting.js index 128c28d8679..db276da85af 100644 --- a/apps/files/src/models/Setting.js +++ b/apps/files/src/models/Setting.js @@ -4,7 +4,7 @@ * * @author Gary Kim <gary@garykim.dev> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -33,6 +33,7 @@ export default class Setting { * * @since 19.0.0 * @param {string} name the name of this setting + * @param {object} component the component * @param {Function} component.el function that returns an unmounted dom element to be added * @param {Function} [component.open] callback for when setting is added * @param {Function} [component.close] callback for when setting is closed diff --git a/apps/files/src/models/Tab.js b/apps/files/src/models/Tab.js index e2c3d931024..4c41ec5a3b1 100644 --- a/apps/files/src/models/Tab.js +++ b/apps/files/src/models/Tab.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/services/FileInfo.js b/apps/files/src/services/FileInfo.js index a94436e16a5..8b62063e134 100644 --- a/apps/files/src/services/FileInfo.js +++ b/apps/files/src/services/FileInfo.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -23,7 +23,7 @@ import axios from '@nextcloud/axios' /** - * @param url + * @param {any} url - */ export default async function(url) { const response = await axios({ diff --git a/apps/files/src/services/Settings.js b/apps/files/src/services/Settings.js index 887a0400513..83c2c850580 100644 --- a/apps/files/src/services/Settings.js +++ b/apps/files/src/services/Settings.js @@ -3,7 +3,7 @@ * * @author Gary Kim <gary@garykim.dev> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/services/Sidebar.js b/apps/files/src/services/Sidebar.js index 6db1d5fa5e4..e28dacb6b21 100644 --- a/apps/files/src/services/Sidebar.js +++ b/apps/files/src/services/Sidebar.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/services/Templates.js b/apps/files/src/services/Templates.js index b466def408f..c242f9ae82d 100644 --- a/apps/files/src/services/Templates.js +++ b/apps/files/src/services/Templates.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/sidebar.js b/apps/files/src/sidebar.js index 8ae6cee4164..58b798ed0e7 100644 --- a/apps/files/src/sidebar.js +++ b/apps/files/src/sidebar.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/templates.js b/apps/files/src/templates.js index a1a88f85106..7f7ebbf2dcc 100644 --- a/apps/files/src/templates.js +++ b/apps/files/src/templates.js @@ -4,7 +4,7 @@ * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/utils/davUtils.js b/apps/files/src/utils/davUtils.js index 513821df411..1bd63347518 100644 --- a/apps/files/src/utils/davUtils.js +++ b/apps/files/src/utils/davUtils.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/src/utils/fileUtils.js b/apps/files/src/utils/fileUtils.js index f37e939e174..5ab88c6eb63 100644 --- a/apps/files/src/utils/fileUtils.js +++ b/apps/files/src/utils/fileUtils.js @@ -3,7 +3,7 @@ * * @author John Molakvoæ <skjnldsv@protonmail.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/appSpec.js b/apps/files/tests/js/appSpec.js index 21f3502be04..d5c793c4d24 100644 --- a/apps/files/tests/js/appSpec.js +++ b/apps/files/tests/js/appSpec.js @@ -4,7 +4,7 @@ * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/breadcrumbSpec.js b/apps/files/tests/js/breadcrumbSpec.js index 8fa66a1342a..820b0f70569 100644 --- a/apps/files/tests/js/breadcrumbSpec.js +++ b/apps/files/tests/js/breadcrumbSpec.js @@ -6,7 +6,7 @@ * @author Lukas Reschke <lukas@statuscode.ch> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/detailsviewSpec.js b/apps/files/tests/js/detailsviewSpec.js index 8b0ba591a7c..d375c4c9282 100644 --- a/apps/files/tests/js/detailsviewSpec.js +++ b/apps/files/tests/js/detailsviewSpec.js @@ -4,7 +4,7 @@ * @author Daniel Calviño Sánchez <danxuliu@gmail.com> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -249,7 +249,7 @@ describe('OCA.Files.DetailsView tests', function() { var tabs = detailsView.$el.find('.tabHeader').map(function() { return $(this).attr('data-tabid'); - }).toArray(); + }).toArray(); expect(tabs).toEqual(['ghi', 'jkl', 'def', 'abc']); }); diff --git a/apps/files/tests/js/favoritesfilelistspec.js b/apps/files/tests/js/favoritesfilelistspec.js index ec163e0512a..8602288cdde 100644 --- a/apps/files/tests/js/favoritesfilelistspec.js +++ b/apps/files/tests/js/favoritesfilelistspec.js @@ -5,7 +5,7 @@ * @author Jan-Christoph Borchardt <hey@jancborchardt.net> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/favoritespluginspec.js b/apps/files/tests/js/favoritespluginspec.js index fdf7c653fd3..94359e0e706 100644 --- a/apps/files/tests/js/favoritespluginspec.js +++ b/apps/files/tests/js/favoritespluginspec.js @@ -4,7 +4,7 @@ * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/fileUploadSpec.js b/apps/files/tests/js/fileUploadSpec.js index 05aea446fe9..d8bca4a8ca4 100644 --- a/apps/files/tests/js/fileUploadSpec.js +++ b/apps/files/tests/js/fileUploadSpec.js @@ -8,7 +8,7 @@ * @author Tomasz Grobelny <tomasz@grobelny.net> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/fileactionsSpec.js b/apps/files/tests/js/fileactionsSpec.js index 80a5cf95d81..cc12bfc7642 100644 --- a/apps/files/tests/js/fileactionsSpec.js +++ b/apps/files/tests/js/fileactionsSpec.js @@ -9,7 +9,7 @@ * @author Vincent Chan <plus.vincchan@gmail.com> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/fileactionsmenuSpec.js b/apps/files/tests/js/fileactionsmenuSpec.js index a689ca887d9..7549bd9dc85 100644 --- a/apps/files/tests/js/fileactionsmenuSpec.js +++ b/apps/files/tests/js/fileactionsmenuSpec.js @@ -8,7 +8,7 @@ * @author Roland Tapken <roland@bitarbeiter.net> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js index 06dcb0dd469..8f2ef97b782 100644 --- a/apps/files/tests/js/filelistSpec.js +++ b/apps/files/tests/js/filelistSpec.js @@ -29,7 +29,7 @@ * @author Tomasz Grobelny <tomasz@grobelny.net> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/filesSpec.js b/apps/files/tests/js/filesSpec.js index 441cbfb3014..cb215397420 100644 --- a/apps/files/tests/js/filesSpec.js +++ b/apps/files/tests/js/filesSpec.js @@ -5,7 +5,7 @@ * @author Felix Heidecke <felix@heidecke.me> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/filesummarySpec.js b/apps/files/tests/js/filesummarySpec.js index 8fe0ab2241f..8692b8b14aa 100644 --- a/apps/files/tests/js/filesummarySpec.js +++ b/apps/files/tests/js/filesummarySpec.js @@ -6,7 +6,7 @@ * @author Thomas Müller <thomas.mueller@tmit.eu> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/mainfileinfodetailviewSpec.js b/apps/files/tests/js/mainfileinfodetailviewSpec.js index 758191a83a0..5793db8fb98 100644 --- a/apps/files/tests/js/mainfileinfodetailviewSpec.js +++ b/apps/files/tests/js/mainfileinfodetailviewSpec.js @@ -8,7 +8,7 @@ * @author Raghu Nayyar <hey@raghunayyar.com> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/newfilemenuSpec.js b/apps/files/tests/js/newfilemenuSpec.js index 65b002a5449..db85d105709 100644 --- a/apps/files/tests/js/newfilemenuSpec.js +++ b/apps/files/tests/js/newfilemenuSpec.js @@ -4,7 +4,7 @@ * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files/tests/js/tagspluginspec.js b/apps/files/tests/js/tagspluginspec.js index f5c7c418da7..2ac67e64cea 100644 --- a/apps/files/tests/js/tagspluginspec.js +++ b/apps/files/tests/js/tagspluginspec.js @@ -5,7 +5,7 @@ * @author Daniel Calviño Sánchez <danxuliu@gmail.com> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as |