Skip to content

Commit 7d9268e

Browse files
authored
Merge pull request #3 from HanashiDev/importer
Import für Link-Datenbank
2 parents 91a3253 + a83ecc8 commit 7d9268e

18 files changed

Lines changed: 1555 additions & 13 deletions

.php-cs-fixer.dist.php

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
$finder = PhpCsFixer\Finder::create()
3-
->in(__DIR__.'/files/')
4-
->notPath('lib/system/api');
3+
->in(__DIR__.'/files/');
54

65
return (new PhpCsFixer\Config())
76
->setRiskyAllowed(true)
@@ -63,7 +62,7 @@
6362
'return_type_declaration' => true,
6463
'static_lambda' => true,
6564

66-
'fully_qualified_strict_types' => true,
65+
'fully_qualified_strict_types' => ['leading_backslash_in_global_namespace' => true],
6766
'no_leading_import_slash' => true,
6867
'no_unused_imports' => true,
6968
'ordered_imports' => true,
@@ -116,14 +115,5 @@
116115
'method_chaining_indentation' => true,
117116
'no_extra_blank_lines' => ['tokens' => ['case', 'continue', 'curly_brace_block', 'default', 'extra', 'parenthesis_brace_block', 'square_brace_block', 'switch', 'throw', 'use']],
118117
'no_spaces_around_offset' => true,
119-
120-
'global_namespace_import' => [
121-
'import_classes' => true,
122-
'import_constants' => false,
123-
'import_functions' => false,
124-
],
125-
'ordered_imports' => [
126-
'imports_order' => ['class', 'function', 'const'],
127-
],
128118
])
129119
->setFinder($finder);

files/lib/system/wsdb/database/preset/LinkPreset.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function getListingTemplateName(): string
6969
#[Override]
7070
public function getShowTeaserInListing(): bool
7171
{
72-
return true;
72+
return false;
7373
}
7474

7575
#[Override]

0 commit comments

Comments
 (0)