notPath('api/Responder/sdk/OAuthResponder.php') ->notPath('api/Responder/sdk/responder_sdk.php') ->in(__DIR__); return (new PhpCsFixer\Config()) ->setUsingCache(false) ->setIndent(' ') ->setFinder($finder) ->setRules([ '@PSR2' => true, 'align_multiline_comment' => [ 'comment_type' => 'all_multiline' ], 'array_syntax' => [ 'syntax' => 'short' ], 'cast_spaces' => [ 'space' => 'single' ], 'class_attributes_separation' => [ 'elements' => [ 'method' => 'one' ] ], 'concat_space' => [ 'spacing' => 'one' ], 'constant_case' => [ 'case' => 'lower' ], 'declare_equal_normalize' => [ 'space' => 'single' ], 'function_declaration' => [ 'closure_function_spacing' => 'one' ], 'global_namespace_import' => [ 'import_classes' => true, 'import_constants' => true, 'import_functions' => true ], 'increment_style' => [ 'style' => 'post' ], 'list_syntax' => [ 'syntax' => 'long' ], 'multiline_whitespace_before_semicolons' => [ 'strategy' => 'no_multi_line' ], 'no_mixed_echo_print' => [ 'use' => 'echo' ], 'no_spaces_around_offset' => [ 'positions' => ['outside'] ], 'ordered_class_elements' => [ 'order' => [ 'use_trait', 'constant_public', 'constant_protected', 'constant_private', 'property_public', 'property_protected', 'property_private', 'construct', 'destruct', 'magic', 'phpunit', 'method_public', 'method_protected', 'method_private' ], 'sort_algorithm' => 'alpha' ], 'return_type_declaration' => [ 'space_before' => 'one' ], 'single_quote' => [ 'strings_containing_single_quote_chars' => true ], 'space_after_semicolon' => [ 'remove_in_empty_for_expressions' => true ], 'trailing_comma_in_multiline' => false ]);