Skip to content

Commit

Permalink
Update to PHP-CS-Fixer ^3.16
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed Apr 5, 2023
1 parent 7cb5cb3 commit 70a8259
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace SlamCsFixer;

use PhpCsFixer\Config as PhpCsFixerConfig;
use PhpCsFixer\Fixer as MainFixer;

final class Config extends PhpCsFixerConfig
{
Expand All @@ -19,22 +18,17 @@ final class Config extends PhpCsFixerConfig
'Slam/final_abstract_public' => true,
'Slam/final_internal_class' => true,
'Slam/function_reference_space' => true,
'Slam/php_only_braces' => true,
'Slam/php_only_slam_inline_comment_spacer' => true,
'Slam/utf8' => true,
'align_multiline_comment' => ['comment_type' => 'all_multiline'],
'binary_operator_spaces' => ['default' => 'align_single_space'],
'braces' => false, // See Slam/php_only_braces
'combine_consecutive_issets' => false,
'combine_consecutive_unsets' => false,
'comment_to_phpdoc' => false,
'concat_space' => ['spacing' => 'one'],
'control_structure_braces' => true,
'control_structure_continuation_position' => true,
'curly_braces_position' => true,
'date_time_create_from_format_call' => true,
'date_time_immutable' => false,
'declare_parentheses' => true,
'error_suppression' => false,
'final_class' => false,
'final_internal_class' => false,
Expand All @@ -50,7 +44,6 @@ final class Config extends PhpCsFixerConfig
'native_function_invocation' => ['include' => ['@internal']],
'no_blank_lines_before_namespace' => false,
'no_multiline_whitespace_around_double_arrow' => false,
'no_multiple_statements_per_line' => true,
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
'not_operator_with_space' => false,
'not_operator_with_successor_space' => true,
Expand Down Expand Up @@ -78,7 +71,6 @@ final class Config extends PhpCsFixerConfig
'simplified_null_return' => false,
'single_line_throw' => false,
'space_after_semicolon' => true,
'statement_indentation' => true,
'static_lambda' => false,
'unary_operator_spaces' => false,
'use_arrow_functions' => false,
Expand All @@ -96,7 +88,6 @@ public function __construct(array $overriddenRules = [])
new FinalInternalClassFixer(),
new FunctionReferenceSpaceFixer(),
new PhpFileOnlyProxyFixer(new InlineCommentSpacerFixer()),
new PhpFileOnlyProxyFixer(new MainFixer\Basic\BracesFixer()),
new Utf8Fixer(),
]);

Expand Down

0 comments on commit 70a8259

Please sign in to comment.