Skip to content

Enhancement: Enable binary_operator_spaces fixer #667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 22, 2022

Conversation

localheinz
Copy link
Contributor

@localheinz localheinz commented Jul 16, 2022

This pull request

  • enables the binary_operator_spaces fixer
  • runs make coding-standards

Follows #559.

πŸ’β€β™‚οΈ For reference, see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v3.4.0/doc/rules/operator/binary_operator_spaces.rst.

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Comment on lines -366 to +376
'id' => $id,
'type' => $tipo,
'start' => $sdato,
'end' => $edato,
'recur' => $recur,
'id' => $id,
'type' => $tipo,
'start' => $sdato,
'end' => $edato,
'recur' => $recur,
'recur_day' => $recur_day,
'sdesc' => $sdesc,
'url' => $url,
'ldesc' => base64_decode($ldesc, false),
'country' => $country,
'category' => $category,
'sdesc' => $sdesc,
'url' => $url,
'ldesc' => base64_decode($ldesc, false),
'country' => $country,
'category' => $category,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like such vertical alignments, but others may, so let's wait a while for possible objections.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@localheinz localheinz force-pushed the feature/binary-operator-spaces branch from b61ef7a to 219a7b8 Compare August 22, 2022 17:01
@localheinz localheinz force-pushed the feature/binary-operator-spaces branch from da7480d to 6a6d550 Compare August 22, 2022 17:05
@cmb69
Copy link
Member

cmb69 commented Aug 22, 2022

No objections, so I'm going to merge. Thank you, @localheinz!

@cmb69 cmb69 merged commit 1ebc2c4 into php:master Aug 22, 2022
@localheinz localheinz deleted the feature/binary-operator-spaces branch August 22, 2022 17:17
@localheinz
Copy link
Contributor Author

Thank you, @cmb69!

Copy link

@Elif2344 Elif2344 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.php-cs-fixer.php

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.

3 participants