Skip to content

[PasswordHasher] Fix: Run 'php-cs-fixer fix' #40182

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 1 commit into from
Feb 14, 2021

Conversation

localheinz
Copy link
Contributor

Q A
Branch? 5.5
Bug fix? yes
New feature? no
Deprecations? no
Tickets n/a
License MIT
Doc PR n/a

This pull request

  • runs php-cs-fixer fix in src/Symfony/Component/PasswordHasher

💁‍♂️ I do not know who or what enforces coding standard issues in this repository, but after opening a few pull requests in this repository, I noticed that fabbot.io repeatedly reports coding standard violations that are unrelated to the proposed changes. As an experiment I ran

$ php-cs-fixer fix

on the entire repository and found a lot of issues. Not sure, would you not prefer to have these fixed?

Since the PasswordHasher component was only recently extracted, I assume it is safe to propose to run php-cs-fixer fix at least on this newly introduced component.

@chalasr
Copy link
Member

chalasr commented Feb 14, 2021

@localheinz Can you please rebase on the current 5.x branch? That should fix the remaining fabbot issues

@localheinz
Copy link
Contributor Author

@chalasr

What is the usual policy here in regard to coding standard issues?

Looks like fabbot.io

  • does not report all issues that can be observed when running php-cs-fixer locally
  • reports additional issues that can not be observed when running php-cs-fixer locally

@chalasr
Copy link
Member

chalasr commented Feb 14, 2021

Honestly, I'm not sure to know how it works exactly :/
I guess fabbot does more than just running php-cs-fixer (or adds some additional custom logic/rules).
Only @fabpot can answer here :)

@chalasr
Copy link
Member

chalasr commented Feb 14, 2021

Thank you again Andreas!

@chalasr chalasr merged commit 2132a83 into symfony:5.x Feb 14, 2021
@localheinz localheinz deleted the fix/php-cs-fixer branch February 14, 2021 14:26
@localheinz
Copy link
Contributor Author

Thank you, @chalasr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants