diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2024-05-10 10:32:17 +0200 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2024-05-10 11:07:54 +0200 |
commit | 3a161f74fb6710eca56c0b250aadb81db9e9c625 (patch) | |
tree | cc95dd67200e9cb87950dc23e8f8c4526f02264a /build | |
parent | 789dfacc7c4b63968061c05654d035b412c7f744 (diff) | |
download | nextcloud-server-3a161f74fb6710eca56c0b250aadb81db9e9c625.tar.gz nextcloud-server-3a161f74fb6710eca56c0b250aadb81db9e9c625.zip |
fix: move SPDX info of generated files to dep5 definition
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline-ocp.xml | 4 | ||||
-rw-r--r-- | build/psalm-baseline.xml | 4 | ||||
-rw-r--r-- | build/psalm/AppFrameworkTainter.php | 2 | ||||
-rw-r--r-- | build/stubs/IntlChar.php | 5 | ||||
-rw-r--r-- | build/stubs/SensitiveParameter.phpstub | 4 | ||||
-rw-r--r-- | build/stubs/apcu.php | 5 | ||||
-rw-r--r-- | build/stubs/app_api.php | 4 | ||||
-rw-r--r-- | build/stubs/ftp.php | 5 | ||||
-rw-r--r-- | build/stubs/gd.php | 5 | ||||
-rw-r--r-- | build/stubs/imagick.php | 5 | ||||
-rw-r--r-- | build/stubs/intl.php | 5 | ||||
-rw-r--r-- | build/stubs/ldap.php | 5 | ||||
-rw-r--r-- | build/stubs/memcached.php | 5 | ||||
-rw-r--r-- | build/stubs/pcntl.php | 6 | ||||
-rw-r--r-- | build/stubs/psr_container.php | 5 | ||||
-rw-r--r-- | build/stubs/redis.php | 5 | ||||
-rw-r--r-- | build/stubs/redis_cluster.php | 5 | ||||
-rw-r--r-- | build/stubs/sftp.php | 5 | ||||
-rw-r--r-- | build/stubs/ssh2.php | 5 | ||||
-rw-r--r-- | build/stubs/xsl.php | 5 | ||||
-rw-r--r-- | build/stubs/zip.php | 6 |
21 files changed, 19 insertions, 81 deletions
diff --git a/build/psalm-baseline-ocp.xml b/build/psalm-baseline-ocp.xml index eab5257a333..e48e5919468 100644 --- a/build/psalm-baseline-ocp.xml +++ b/build/psalm-baseline-ocp.xml @@ -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> diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 652c076928e..3897f5aa176 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -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> diff --git a/build/psalm/AppFrameworkTainter.php b/build/psalm/AppFrameworkTainter.php index 6119b843c83..448922d25a5 100644 --- a/build/psalm/AppFrameworkTainter.php +++ b/build/psalm/AppFrameworkTainter.php @@ -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; diff --git a/build/stubs/IntlChar.php b/build/stubs/IntlChar.php index 5e277ec1e5f..ea9e1653bd1 100644 --- a/build/stubs/IntlChar.php +++ b/build/stubs/IntlChar.php @@ -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> diff --git a/build/stubs/SensitiveParameter.phpstub b/build/stubs/SensitiveParameter.phpstub index 015ca30f412..95715138927 100644 --- a/build/stubs/SensitiveParameter.phpstub +++ b/build/stubs/SensitiveParameter.phpstub @@ -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 { } diff --git a/build/stubs/apcu.php b/build/stubs/apcu.php index fb0dd855ac6..ec096fb5e25 100644 --- a/build/stubs/apcu.php +++ b/build/stubs/apcu.php @@ -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 */ diff --git a/build/stubs/app_api.php b/build/stubs/app_api.php index 736a5b9ac6b..1ab63499b77 100644 --- a/build/stubs/app_api.php +++ b/build/stubs/app_api.php @@ -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; diff --git a/build/stubs/ftp.php b/build/stubs/ftp.php index b273b53630b..22e97f0f44f 100644 --- a/build/stubs/ftp.php +++ b/build/stubs/ftp.php @@ -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 { diff --git a/build/stubs/gd.php b/build/stubs/gd.php index 2b22b05a743..5b48af23761 100644 --- a/build/stubs/gd.php +++ b/build/stubs/gd.php @@ -1,8 +1,5 @@ <?php -/** - * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors - * SPDX-License-Identifier: AGPL-3.0-or-later - */ + /** @generate-class-entries */ /** diff --git a/build/stubs/imagick.php b/build/stubs/imagick.php index 33a0bfecddc..7fe3ed8246f 100644 --- a/build/stubs/imagick.php +++ b/build/stubs/imagick.php @@ -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 diff --git a/build/stubs/intl.php b/build/stubs/intl.php index 9b4c8fbc4e4..08e0c719338 100644 --- a/build/stubs/intl.php +++ b/build/stubs/intl.php @@ -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 { diff --git a/build/stubs/ldap.php b/build/stubs/ldap.php index ed407cb8793..faa7edda3dc 100644 --- a/build/stubs/ldap.php +++ b/build/stubs/ldap.php @@ -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 { diff --git a/build/stubs/memcached.php b/build/stubs/memcached.php index 32ec1697141..b87387aa1ef 100644 --- a/build/stubs/memcached.php +++ b/build/stubs/memcached.php @@ -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 /** diff --git a/build/stubs/pcntl.php b/build/stubs/pcntl.php index 357af916b26..ff0bde9ed7a 100644 --- a/build/stubs/pcntl.php +++ b/build/stubs/pcntl.php @@ -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); diff --git a/build/stubs/psr_container.php b/build/stubs/psr_container.php index e8aa4c70a58..a87584c6f3a 100644 --- a/build/stubs/psr_container.php +++ b/build/stubs/psr_container.php @@ -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; diff --git a/build/stubs/redis.php b/build/stubs/redis.php index 3f6edb0a615..1a91e942fc4 100644 --- a/build/stubs/redis.php +++ b/build/stubs/redis.php @@ -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; /** diff --git a/build/stubs/redis_cluster.php b/build/stubs/redis_cluster.php index 027d6038959..fdabba76553 100644 --- a/build/stubs/redis_cluster.php +++ b/build/stubs/redis_cluster.php @@ -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) diff --git a/build/stubs/sftp.php b/build/stubs/sftp.php index 9093443cf57..77b9a7c93b7 100644 --- a/build/stubs/sftp.php +++ b/build/stubs/sftp.php @@ -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); diff --git a/build/stubs/ssh2.php b/build/stubs/ssh2.php index 0012bbce139..bf1a4fb87a8 100644 --- a/build/stubs/ssh2.php +++ b/build/stubs/ssh2.php @@ -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); diff --git a/build/stubs/xsl.php b/build/stubs/xsl.php index c1514c4e8ca..5712636d3da 100644 --- a/build/stubs/xsl.php +++ b/build/stubs/xsl.php @@ -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 /** diff --git a/build/stubs/zip.php b/build/stubs/zip.php index 441b4cb9c80..10590aeed50 100644 --- a/build/stubs/zip.php +++ b/build/stubs/zip.php @@ -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 |