Skip to content

Conversation

@nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Jul 10, 2024

1.2.2 - 2024-08-23

Added

  • cast_spaces: A single space between cast and variable
  • lowercase_cast: Cast should be written in lower case
  • method_chaining_indentation: Use the same indentation when changing methods
  • no_short_bool_cast: Short cast bool using double exclamation mark should not be used
  • phpdoc_align: All items of the given PHPDoc tags must be left-aligned
  • phpdoc_single_line_var_spacing: Single line @var PHPDoc should have proper spacing
  • phpdoc_var_annotation_correct_order: Enforce the correct order for phpdoc annotations
  • short_scalar_cast: (boolean) => (bool), (integer) => (int), ...
  • single_quote: Use single quotes for simple strings
  • types_spaces: No spaces around union and intersection type operators

kesselb
kesselb previously approved these changes Jul 10, 2024
@kesselb
Copy link
Contributor

kesselb commented Jul 10, 2024

FYI: I'm considering adding more rules for phpdoc (e.g https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/930dc93a1b90eb991d13e2766a340aa6922d4a2c/doc/rules/phpdoc/no_superfluous_phpdoc_tags.rst), but didn't have the opportunity to dive into.

@nickvergessen
Copy link
Member Author

K then let's wait for that

@juliusknorr juliusknorr removed their request for review August 16, 2024 18:10
ChristophWurst
ChristophWurst previously approved these changes Aug 23, 2024
Signed-off-by: Joas Schilling <coding@schilljs.com>
@kesselb kesselb merged commit 81fec49 into master Aug 23, 2024
@kesselb kesselb deleted the changelog/1.2.2 branch August 23, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants