Browse Source

fix: move SPDX info of generated files to dep5 definition

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
pull/45244/head
Andy Scherzinger 3 weeks ago
parent
commit
3a161f74fb
No account linked to committer's email address

+ 16
- 0
.reuse/dep5 View File

@@ -7,6 +7,22 @@ Files: lib/l10n/*.js lib/l10n/*.json core/l10n/*.js core/l10n/*.json apps/admin_
Copyright: 2016 ownCloud, Inc., 2016-2024 Nextcloud translators
License: AGPL-3.0-only OR AGPL-3.0-or-later

Files: build/psalm-baseline-ocp.xml build/psalm-baseline.xml build/stubs/xsl.php build/stubs/gd.php build/stubs/imagick.php build/stubs/intl.php build/stubs/IntlChar.php build/stubs/ldap.php build/stubs/memcached.php build/stubs/redis.php build/stubs/redis_cluster.php build/stubs/sftp.php build/stubs/ssh2.php build/stubs/apcu.php
Copyright: 2020 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later

Files: build/stubs/pcntl.php build/stubs/zip.php
Copyright: 2022 JetBrains
License: Apache-2.0

Files: build/stubs/ftp.php
Copyright: 2022 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later

Files: build/stubs/app_api.php build/stubs/SensitiveParameter.phpstub build/stubs/psr_container.php
Copyright: 2023 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later

Files: apps/cloud_federation_api/l10n/*.js apps/cloud_federation_api/l10n/*.json apps/contactsinteraction/l10n/*.js apps/contactsinteraction/l10n/*.json apps/dashboard/l10n/*.js apps/dashboard/l10n/*.json apps/files_reminders/l10n/*.js apps/files_reminders/l10n/*.json apps/lookup_server_connector/l10n/*.js apps/lookup_server_connector/l10n/*.json apps/oauth2 apps/sharebymail/l10n/*.js apps/oauth2 apps/sharebymail/l10n/*.json apps/theming/l10n/*.js apps/theming/l10n/*.json apps/twofactor_backupcodes/l10n/*.js apps/twofactor_backupcodes/l10n/*.json apps/user_status/l10n/*.js apps/user_status/l10n/*.json apps/weather_status/l10n/*.js apps/weather_status/l10n/*.json apps/workflowengine/l10n/*.js apps/workflowengine/l10n/*.json
Copyright: 2016-2024 Nextcloud translators
License: AGPL-3.0-or-later

+ 0
- 4
build/psalm-baseline-ocp.xml View File

@@ -1,8 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<files psalm-version="5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e">
<file src="lib/private/legacy/OC_Template.php">
<UndefinedClass>

+ 0
- 4
build/psalm-baseline.xml View File

@@ -1,8 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<files psalm-version="5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e">
<file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php">
<MoreSpecificImplementedParamType>

+ 1
- 1
build/psalm/AppFrameworkTainter.php View File

@@ -1,7 +1,7 @@
<?php

/**
* SPDX-FileCopyrightText: 2020 Lukas Reschke <lukas@statuscode.ch>
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: MIT
*/
use Psalm\CodeLocation;

+ 1
- 4
build/stubs/IntlChar.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

/**
* <p>IntlChar provides access to a number of utility methods that can be used to access information about Unicode characters.</p>
* <p>The methods and constants adhere closely to the names and behavior used by the underlying ICU library.</p>

+ 0
- 4
build/stubs/SensitiveParameter.phpstub View File

@@ -1,9 +1,5 @@
<?php

/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#[\Attribute(Attribute::TARGET_PARAMETER)]
class SensitiveParameter {
}

+ 1
- 4
build/stubs/apcu.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

/**
* Stubs for APC (apcu_bc nowadays) extension
*/

+ 0
- 4
build/stubs/app_api.php View File

@@ -1,9 +1,5 @@
<?php

/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AppAPI\Service;

use OCP\IRequest;

+ 1
- 4
build/stubs/ftp.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

/** @generate-class-entries */

namespace FTP {

+ 1
- 4
build/stubs/gd.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

/** @generate-class-entries */

/**

+ 1
- 4
build/stubs/imagick.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

/** @generate-function-entries */

class Imagick

+ 1
- 4
build/stubs/intl.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

// Start of intl v.1.1.0

class Collator {

+ 1
- 4
build/stubs/ldap.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

/** @generate-class-entries */

namespace LDAP {

+ 1
- 4
build/stubs/memcached.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

// Start of memcached v.3.1.5

/**

+ 2
- 4
build/stubs/pcntl.php View File

@@ -1,8 +1,6 @@
<?php
/**
* SPDX-FileCopyrightText: 2022 JetBrains
* SPDX-License-Identifier: Apache-2.0
*/

// Licensed under Apache-2.0
// Copied from https://github.com/JetBrains/phpstorm-stubs/blob/master/pcntl/pcntl.php

define('WNOHANG', 1);

+ 1
- 4
build/stubs/psr_container.php View File

@@ -1,10 +1,7 @@
<?php

declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace Psr\Container;

use Throwable;

+ 1
- 4
build/stubs/redis.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

use JetBrains\PhpStorm\Deprecated;

/**

+ 1
- 4
build/stubs/redis_cluster.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

/**
* Helper autocomplete for php redis cluster extension.
* Based on the phpredis-phpdoc by Max Kamashev (https://github.com/ukko/phpredis-phpdoc)

+ 1
- 4
build/stubs/sftp.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

define('NET_SFTP_INIT', 1);
define('NET_SFTP_VERSION', 2);
define('NET_SFTP_OPEN', 3);

+ 1
- 4
build/stubs/ssh2.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

define('NET_SSH2_MSG_DISCONNECT', 1);
define('NET_SSH2_MSG_IGNORE', 2);
define('NET_SSH2_MSG_UNIMPLEMENTED', 3);

+ 1
- 4
build/stubs/xsl.php View File

@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

// Start of xsl v.0.1

/**

+ 2
- 4
build/stubs/zip.php View File

@@ -1,8 +1,6 @@
<?php
/**
* SPDX-FileCopyrightText: 2022 JetBrains
* SPDX-License-Identifier: Apache-2.0
*/

// Licensed under Apache-2.0
// Copied from https://github.com/JetBrains/phpstorm-stubs/blob/master/zip/zip.php
// Removed attributes


+ 1
- 2
core/css/animations.scss View File

@@ -1,8 +1,7 @@
/*!
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

@-webkit-keyframes rotate {
from {
-webkit-transform: rotate(0deg);

Loading…
Cancel
Save