Skip to content

Commit 648615d

Browse files
committed
Cleanup other package unused tools
1 parent 8f153d6 commit 648615d

12 files changed

Lines changed: 8 additions & 376 deletions

File tree

.editorconfig

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/Build.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/PHPStan.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.php-cs-fixer.php

Lines changed: 8 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -7,104 +7,20 @@
77
@license https://github.com/userfrosting/framework/blob/master/LICENSE.md (MIT License)';
88

99
$rules = [
10-
'@PSR2' => true,
11-
'array_syntax' => ['syntax' => 'short'],
12-
'binary_operator_spaces' => ['operators' => ['=>' => 'align', '=' => 'single_space']],
13-
'blank_line_after_namespace' => true,
14-
'blank_line_after_opening_tag' => true,
15-
'blank_line_before_statement' => ['statements' => ['return']],
16-
'braces' => true,
17-
'cast_spaces' => true,
18-
'class_definition' => true,
19-
'declare_equal_normalize' => true,
20-
'elseif' => true,
21-
'encoding' => true,
22-
'full_opening_tag' => true,
23-
'function_declaration' => true,
24-
'function_typehint_space' => true,
25-
'single_line_comment_style' => ['comment_types' => ['hash']],
26-
'heredoc_to_nowdoc' => true,
27-
'include' => true,
28-
'indentation_type' => true,
29-
'line_ending' => true,
30-
'lowercase_cast' => true,
31-
'constant_case' => ['case' => 'lower'],
32-
'lowercase_keywords' => true,
33-
'method_argument_space' => true,
34-
'multiline_whitespace_before_semicolons' => true,
35-
'native_function_casing' => true,
36-
'new_with_braces' => true,
37-
'no_blank_lines_after_class_opening' => true,
38-
'no_blank_lines_after_phpdoc' => true,
39-
'no_break_comment' => true,
40-
'no_closing_tag' => true,
41-
'no_empty_phpdoc' => true,
42-
'no_empty_statement' => true,
43-
'no_extra_blank_lines' => true,
44-
'no_leading_import_slash' => true,
45-
'no_leading_namespace_whitespace' => true,
46-
'no_mixed_echo_print' => ['use' => 'echo'],
47-
'no_multiline_whitespace_around_double_arrow' => true,
48-
'no_short_bool_cast' => true,
49-
'no_singleline_whitespace_before_semicolons' => true,
50-
'no_spaces_after_function_name' => true,
51-
'no_spaces_around_offset' => true,
52-
'no_spaces_inside_parenthesis' => true,
53-
'no_trailing_comma_in_list_call' => true,
54-
'no_trailing_comma_in_singleline_array' => true,
55-
'no_trailing_whitespace' => true,
56-
'no_trailing_whitespace_in_comment' => true,
57-
'no_unneeded_control_parentheses' => true,
58-
'no_unreachable_default_argument_value' => true,
59-
'no_unused_imports' => true,
60-
'no_useless_return' => true,
61-
'no_whitespace_before_comma_in_array' => true,
62-
'no_whitespace_in_blank_line' => true,
63-
'normalize_index_brace' => true,
64-
'object_operator_without_whitespace' => true,
65-
'ordered_imports' => ['sort_algorithm' => 'alpha'],
66-
'phpdoc_align' => true,
67-
'phpdoc_indent' => true,
68-
'general_phpdoc_tag_rename' => true,
69-
'phpdoc_inline_tag_normalizer' => true,
70-
'phpdoc_tag_type' => ['tags' => ['inheritdoc' => 'inline']],
71-
'phpdoc_no_empty_return' => true,
72-
'phpdoc_no_access' => true,
73-
'phpdoc_no_package' => true,
74-
'phpdoc_order' => true,
75-
'phpdoc_scalar' => true,
76-
'phpdoc_single_line_var_spacing' => true,
77-
'phpdoc_trim' => true,
78-
'phpdoc_types' => true,
79-
'psr_autoloading' => true,
80-
'short_scalar_cast' => true,
81-
'simplified_null_return' => true,
82-
'single_blank_line_at_eof' => true,
83-
'single_blank_line_before_namespace' => true,
84-
'single_class_element_per_statement' => true,
85-
'single_import_per_statement' => true,
86-
'single_line_after_imports' => true,
87-
'single_quote' => true,
88-
'space_after_semicolon' => true,
89-
'standardize_not_equals' => true,
90-
'switch_case_semicolon_to_colon' => true,
91-
'switch_case_space' => true,
92-
'ternary_operator_spaces' => true,
93-
'trim_array_spaces' => true,
94-
'unary_operator_spaces' => true,
95-
'visibility_required' => true,
96-
'whitespace_after_comma_in_array' => true,
97-
9810
'header_comment' => [
9911
'header' => $header,
10012
]
10113
];
102-
10314
$finder = PhpCsFixer\Finder::create()
104-
->in([__DIR__ . '/src', __DIR__ . '/tests']);
105-
15+
->in([
16+
__DIR__ . '/src',
17+
__DIR__ . '/tests'
18+
]);
10619
$config = new PhpCsFixer\Config();
107-
return $config->setRules($rules)
20+
21+
return $config
22+
->setRules($rules)
10823
->setFinder($finder)
10924
->setUsingCache(true)
25+
->setCacheFile(__DIR__ . '/.php_cs.cache')
11026
->setRiskyAllowed(true);

.styleci.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

.vscode/tasks.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

RUNNING_TESTS.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)