Skip to content
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

DX: Tokens - do not unregister/register found tokens when collection is not changing #4204

Merged
merged 1 commit into from Feb 10, 2019
Merged

DX: Tokens - do not unregister/register found tokens when collection is not changing #4204

merged 1 commit into from Feb 10, 2019

Conversation

kubawerlos
Copy link
Contributor

This makes sence, right?

Only run unregisterFoundToken/registerFoundToken when changing collection.

@keradus keradus added the status/to verify issue needs to be confirmed or analysed to continue label Jan 4, 2019
@keradus keradus added this to the 2.12.7 milestone Feb 10, 2019
@keradus keradus removed the status/to verify issue needs to be confirmed or analysed to continue label Feb 10, 2019
@keradus
Copy link
Member

keradus commented Feb 10, 2019

Thank you @kubawerlos.

@keradus keradus merged commit 12edc3d into PHP-CS-Fixer:2.12 Feb 10, 2019
keradus added a commit that referenced this pull request Feb 10, 2019
… collection is not changing (kubawerlos)

This PR was merged into the 2.12 branch.

Discussion
----------

DX: Tokens - do not unregister/register found tokens when collection is not changing

This makes sence, right?

Only run `unregisterFoundToken`/`registerFoundToken` when changing collection.

Commits
-------

12edc3d DX: Tokens - do not unregister/register found tokens when it is the same token
@kubawerlos kubawerlos deleted the dx-modify-registered-tokens-only-when-changing branch February 10, 2019 22:22
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.

None yet

3 participants