aboutsummaryrefslogtreecommitdiffstats
path: root/build/files-checker.php
diff options
context:
space:
mode:
Diffstat (limited to 'build/files-checker.php')
-rw-r--r--build/files-checker.php44
1 files changed, 20 insertions, 24 deletions
diff --git a/build/files-checker.php b/build/files-checker.php
index 30927718811..08d9acf2fd8 100644
--- a/build/files-checker.php
+++ b/build/files-checker.php
@@ -1,34 +1,21 @@
<?php
+
+declare(strict_types=1);
/**
- * @copyright Copyright (c) 2017 Morris Jobke <hey@morrisjobke.de>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
$expectedFiles = [
'.',
'..',
- '.codecov.yml',
'.devcontainer',
- '.drone.yml',
'.editorconfig',
+ '.envrc',
'.eslintignore',
'.eslintrc.js',
'.git',
+ '.git-blame-ignore-revs',
'.gitattributes',
'.github',
'.gitignore',
@@ -40,10 +27,11 @@ $expectedFiles = [
'.npmignore',
'.php-cs-fixer.dist.php',
'.pre-commit-config.yaml',
- '.scrutinizer.yml',
'.tag',
'.tx',
'.user.ini',
+ '__mocks__',
+ '__tests__',
'3rdparty',
'AUTHORS',
'CHANGELOG.md',
@@ -53,14 +41,15 @@ $expectedFiles = [
'DESIGN.md',
'Makefile',
'README.md',
+ 'REUSE.toml',
'SECURITY.md',
'apps',
'autotest-checkers.sh',
'autotest-external.sh',
- 'autotest-js.sh',
'autotest.sh',
'babel.config.js',
'build',
+ 'codecov.yml',
'composer.json',
'composer.lock',
'config',
@@ -68,19 +57,24 @@ $expectedFiles = [
'contribute',
'core',
'cron.php',
- 'cypress',
+ 'custom.d.ts',
'cypress.config.ts',
+ 'cypress.d.ts',
+ 'cypress',
'dist',
+ 'flake.lock',
+ 'flake.nix',
'index.html',
'index.php',
- 'jest.config.js',
'lib',
+ 'LICENSES',
'occ',
- 'ocm-provider',
'ocs',
'ocs-provider',
+ 'openapi.json',
'package-lock.json',
'package.json',
+ 'psalm-ncu.xml',
'psalm-ocp.xml',
'psalm.xml',
'public.php',
@@ -88,11 +82,13 @@ $expectedFiles = [
'resources',
'robots.txt',
'status.php',
+ 'stylelint.config.js',
'tests',
'themes',
'tsconfig.json',
'vendor-bin',
'version.php',
+ 'vitest.config.mts',
'webpack.common.js',
'webpack.config.js',
'webpack.modules.js',