chore: fix or ignore linter issues

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2026-01-15 23:30:21 +01:00
parent ba0615b33e
commit 752a62133a
No known key found for this signature in database
GPG key ID: 7E849AE05218500F
4 changed files with 11 additions and 5 deletions

View file

@ -3268,6 +3268,12 @@
<code><![CDATA[listen]]></code>
</DeprecatedMethod>
</file>
<file src="core/templates/publicshareauth.php">
<DeprecatedMethod>
<code><![CDATA[provideInitialState]]></code>
<code><![CDATA[provideInitialState]]></code>
</DeprecatedMethod>
</file>
<file src="lib/base.php">
<InvalidArgument>
<code><![CDATA[$restrictions]]></code>

View file

@ -11,4 +11,4 @@ __webpack_nonce__ = getCSPNonce()
const View = Vue.extend(PublicShareAuth)
const app = new View()
app.$mount('#core-public-share-auth')
app.$mount('#core-public-share-auth')

View file

@ -23,7 +23,7 @@ const defaultShareContext: ShareContext = {
*
* @param context The current share context (defaults to `defaultShareContext` if not provided).
* @return The share URL.
* @throws Error if the share context has no URL.
* @throws {Error} if the share context has no URL.
*/
export function getShareUrl(context: ShareContext = defaultShareContext): string {
if (!context.url) {

View file

@ -18,7 +18,7 @@ Cypress.env('baseUrl', url)
/**
* Enable or disable a user
* TODO: standardize in @nextcloud/e2e-test-server
* TODO: standardize in `@nextcloud/e2e-test-server`
*
* @param {User} user the user to dis- / enable
* @param {boolean} enable True if the user should be enable, false to disable
@ -45,7 +45,7 @@ Cypress.Commands.add('enableUser', (user: User, enable = true) => {
/**
* cy.uploadedFile - uploads a file from the fixtures folder
* TODO: standardize in @nextcloud/e2e-test-server
* TODO: standardize in `@nextcloud/e2e-test-server`
*
* @param {User} user the owner of the file, e.g. admin
* @param {string} fixture the fixture file name, e.g. image1.jpg
@ -142,7 +142,7 @@ Cypress.Commands.add('rm', (user: User, target: string) => {
/**
* cy.uploadedContent - uploads a raw content
* TODO: standardize in @nextcloud/e2e-test-server
* TODO: standardize in `@nextcloud/e2e-test-server`
*
* @param {User} user the owner of the file, e.g. admin
* @param {Blob} blob the content to upload