Completed
Push — master ( 535253...10d17d )
by
unknown
21:14 queued 14s
created
build/files-checker.php 1 patch
Indentation   +91 added lines, -91 removed lines patch added patch discarded remove patch
@@ -7,94 +7,94 @@  discard block
 block discarded – undo
7 7
  */
8 8
 
9 9
 $expectedFiles = [
10
-	'.',
11
-	'..',
12
-	'.devcontainer',
13
-	'.editorconfig',
14
-	'.eslintignore',
15
-	'.eslintrc.js',
16
-	'.git',
17
-	'.git-blame-ignore-revs',
18
-	'.gitattributes',
19
-	'.github',
20
-	'.gitignore',
21
-	'.gitmodules',
22
-	'.htaccess',
23
-	'.idea',
24
-	'.jshintrc',
25
-	'.mailmap',
26
-	'.npmignore',
27
-	'.php-cs-fixer.dist.php',
28
-	'.pre-commit-config.yaml',
29
-	'.reuse',
30
-	'.tag',
31
-	'.tx',
32
-	'.user.ini',
33
-	'__mocks__',
34
-	'__tests__',
35
-	'3rdparty',
36
-	'AUTHORS',
37
-	'CHANGELOG.md',
38
-	'CODE_OF_CONDUCT.md',
39
-	'COPYING',
40
-	'COPYING-README',
41
-	'DESIGN.md',
42
-	'Makefile',
43
-	'README.md',
44
-	'SECURITY.md',
45
-	'apps',
46
-	'autotest-checkers.sh',
47
-	'autotest-external.sh',
48
-	'autotest.sh',
49
-	'babel.config.js',
50
-	'build',
51
-	'codecov.yml',
52
-	'composer.json',
53
-	'composer.lock',
54
-	'config',
55
-	'console.php',
56
-	'contribute',
57
-	'core',
58
-	'cron.php',
59
-	'custom.d.ts',
60
-	'cypress.config.ts',
61
-	'cypress.d.ts',
62
-	'cypress',
63
-	'dist',
64
-	'index.html',
65
-	'index.php',
66
-	'lib',
67
-	'LICENSES',
68
-	'occ',
69
-	'ocs',
70
-	'ocs-provider',
71
-	'openapi.json',
72
-	'package-lock.json',
73
-	'package.json',
74
-	'psalm-ncu.xml',
75
-	'psalm-ocp.xml',
76
-	'psalm.xml',
77
-	'public.php',
78
-	'remote.php',
79
-	'resources',
80
-	'robots.txt',
81
-	'status.php',
82
-	'stylelint.config.js',
83
-	'tests',
84
-	'themes',
85
-	'tsconfig.json',
86
-	'vendor-bin',
87
-	'version.php',
88
-	'vitest.config.mts',
89
-	'webpack.common.js',
90
-	'webpack.config.js',
91
-	'webpack.modules.js',
10
+    '.',
11
+    '..',
12
+    '.devcontainer',
13
+    '.editorconfig',
14
+    '.eslintignore',
15
+    '.eslintrc.js',
16
+    '.git',
17
+    '.git-blame-ignore-revs',
18
+    '.gitattributes',
19
+    '.github',
20
+    '.gitignore',
21
+    '.gitmodules',
22
+    '.htaccess',
23
+    '.idea',
24
+    '.jshintrc',
25
+    '.mailmap',
26
+    '.npmignore',
27
+    '.php-cs-fixer.dist.php',
28
+    '.pre-commit-config.yaml',
29
+    '.reuse',
30
+    '.tag',
31
+    '.tx',
32
+    '.user.ini',
33
+    '__mocks__',
34
+    '__tests__',
35
+    '3rdparty',
36
+    'AUTHORS',
37
+    'CHANGELOG.md',
38
+    'CODE_OF_CONDUCT.md',
39
+    'COPYING',
40
+    'COPYING-README',
41
+    'DESIGN.md',
42
+    'Makefile',
43
+    'README.md',
44
+    'SECURITY.md',
45
+    'apps',
46
+    'autotest-checkers.sh',
47
+    'autotest-external.sh',
48
+    'autotest.sh',
49
+    'babel.config.js',
50
+    'build',
51
+    'codecov.yml',
52
+    'composer.json',
53
+    'composer.lock',
54
+    'config',
55
+    'console.php',
56
+    'contribute',
57
+    'core',
58
+    'cron.php',
59
+    'custom.d.ts',
60
+    'cypress.config.ts',
61
+    'cypress.d.ts',
62
+    'cypress',
63
+    'dist',
64
+    'index.html',
65
+    'index.php',
66
+    'lib',
67
+    'LICENSES',
68
+    'occ',
69
+    'ocs',
70
+    'ocs-provider',
71
+    'openapi.json',
72
+    'package-lock.json',
73
+    'package.json',
74
+    'psalm-ncu.xml',
75
+    'psalm-ocp.xml',
76
+    'psalm.xml',
77
+    'public.php',
78
+    'remote.php',
79
+    'resources',
80
+    'robots.txt',
81
+    'status.php',
82
+    'stylelint.config.js',
83
+    'tests',
84
+    'themes',
85
+    'tsconfig.json',
86
+    'vendor-bin',
87
+    'version.php',
88
+    'vitest.config.mts',
89
+    'webpack.common.js',
90
+    'webpack.config.js',
91
+    'webpack.modules.js',
92 92
 ];
93 93
 $actualFiles = [];
94 94
 
95 95
 $files = new \DirectoryIterator(__DIR__ . '/..');
96 96
 foreach ($files as $file) {
97
-	$actualFiles[] = $file->getFilename();
97
+    $actualFiles[] = $file->getFilename();
98 98
 }
99 99
 
100 100
 $additionalFiles = array_diff($actualFiles, $expectedFiles);
@@ -102,19 +102,19 @@  discard block
 block discarded – undo
102 102
 
103 103
 $failed = false;
104 104
 if (count($additionalFiles) > 0) {
105
-	echo sprintf('ERROR: There were %d additional files:', count($additionalFiles)) . PHP_EOL;
106
-	echo implode(PHP_EOL, $additionalFiles) . PHP_EOL;
107
-	$failed = true;
105
+    echo sprintf('ERROR: There were %d additional files:', count($additionalFiles)) . PHP_EOL;
106
+    echo implode(PHP_EOL, $additionalFiles) . PHP_EOL;
107
+    $failed = true;
108 108
 }
109 109
 if (count($missingFiles) > 0) {
110
-	echo sprintf('ERROR: There were %d missing files:', count($missingFiles)) . PHP_EOL;
111
-	echo implode(PHP_EOL, $missingFiles) . PHP_EOL;
112
-	$failed = true;
110
+    echo sprintf('ERROR: There were %d missing files:', count($missingFiles)) . PHP_EOL;
111
+    echo implode(PHP_EOL, $missingFiles) . PHP_EOL;
112
+    $failed = true;
113 113
 }
114 114
 
115 115
 if ($failed) {
116
-	echo 'ERROR: Please remove or add those files again or inform the release team about those now files to be included or excluded from the release tar ball.' . PHP_EOL;
117
-	exit(1);
116
+    echo 'ERROR: Please remove or add those files again or inform the release team about those now files to be included or excluded from the release tar ball.' . PHP_EOL;
117
+    exit(1);
118 118
 }
119 119
 
120 120
 echo 'OK: all expected files are present and no additional files are there.' . PHP_EOL;
Please login to merge, or discard this patch.