Skip to content

Commit

Permalink
Merge pull request #58 from stickeeuk/feat/rules-from-pint
Browse files Browse the repository at this point in the history
feat: rules from pint
  • Loading branch information
stickeepaul authored Dec 11, 2024
2 parents e8bebe3 + c134a5e commit 6456fec
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/RuleSet/StickeeBaseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function rules(): array
'final_internal_class' => true,
'fopen_flag_order' => true,
'fopen_flags' => true,
// 'fully_qualified_strict_types' => true,
'fully_qualified_strict_types' => false,
'function_to_constant' => true,
'general_phpdoc_tag_rename' => true,
'heredoc_indentation' => true,
Expand Down Expand Up @@ -138,6 +138,8 @@ public function rules(): array
'non_printable_character' => ['use_escape_sequences_in_strings' => true],
'normalize_index_brace' => true,
'not_operator_with_successor_space' => true,
'nullable_type_declaration_for_default_null_value' => true,
'nullable_type_declaration' => true,
'object_operator_without_whitespace' => true,
'operator_linebreak' => ['only_booleans' => true],
'ordered_class_elements' => [
Expand All @@ -160,6 +162,8 @@ public function rules(): array
'method_private',
],
],
'ordered_interfaces' => true,
'ordered_traits' => true,
'phpdoc_add_missing_param_annotation' => ['only_untyped' => true],
'phpdoc_align' => ['align' => 'left'],
'phpdoc_indent' => true,
Expand Down Expand Up @@ -187,18 +191,27 @@ public function rules(): array
'psr_autoloading' => true,
'random_api_migration' => true,
'self_accessor' => true,
'self_static_accessor' => true,
'semicolon_after_instruction' => true,
'simple_to_complex_string_variable' => true,
'simplified_null_return' => false,
'single_line_comment_style' => true,
'single_quote' => true,
'single_space_around_construct' => true,
'space_after_semicolon' => true,
'standardize_not_equals' => true,
'ternary_to_null_coalescing' => true,
'trailing_comma_in_multiline' => true,
'trim_array_spaces' => true,
'type_declaration_spaces' => true,
'types_spaces' => true,
'whitespace_after_comma_in_array' => true,
'yoda_style' => [
'always_move_variable' => false,
'equal' => false,
'identical' => false,
'less_and_greater' => false,
],
];
}

Expand Down

0 comments on commit 6456fec

Please sign in to comment.