Skip to content

Commit

Permalink
fix: move SPDX info of generated files to dep5 definition
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
  • Loading branch information
AndyScherzinger committed May 10, 2024
1 parent 789dfac commit 3a161f7
Show file tree
Hide file tree
Showing 23 changed files with 36 additions and 83 deletions.
16 changes: 16 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions build/psalm-baseline-ocp.xml
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
4 changes: 0 additions & 4 deletions build/psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
2 changes: 1 addition & 1 deletion build/psalm/AppFrameworkTainter.php
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/IntlChar.php
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
4 changes: 0 additions & 4 deletions build/stubs/SensitiveParameter.phpstub
Original file line number Diff line number Diff line change
@@ -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 {
}
5 changes: 1 addition & 4 deletions build/stubs/apcu.php
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
4 changes: 0 additions & 4 deletions build/stubs/app_api.php
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/ftp.php
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/gd.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

/** @generate-class-entries */

/**
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/imagick.php
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/intl.php
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/ldap.php
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/memcached.php
Original file line number Diff line number Diff line change
@@ -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

/**
Expand Down
6 changes: 2 additions & 4 deletions build/stubs/pcntl.php
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/psr_container.php
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/redis.php
Original file line number Diff line number Diff line change
@@ -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;

/**
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/redis_cluster.php
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/sftp.php
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/ssh2.php
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
5 changes: 1 addition & 4 deletions build/stubs/xsl.php
Original file line number Diff line number Diff line change
@@ -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

/**
Expand Down
6 changes: 2 additions & 4 deletions build/stubs/zip.php
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 1 addition & 2 deletions core/css/animations.scss
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit 3a161f7

Please sign in to comment.