Skip to content

minor: Deprecate BracesFixer#4885

Merged
keradus merged 2 commits intoPHP-CS-Fixer:masterfrom
julienfalque:split-braces-fixer-master
Mar 31, 2023
Merged

minor: Deprecate BracesFixer#4885
keradus merged 2 commits intoPHP-CS-Fixer:masterfrom
julienfalque:split-braces-fixer-master

Conversation

@julienfalque
Copy link
Copy Markdown
Member

@julienfalque julienfalque commented Mar 16, 2020

TODO

@julienfalque
Copy link
Copy Markdown
Member Author

julienfalque commented Mar 18, 2020

Current Travis failure seems to be a bug in PHP. I have submitted a bug report on PHP tracker.

@coveralls
Copy link
Copy Markdown

coveralls commented May 6, 2021

Coverage Status

Coverage decreased (-0.005%) to 92.84% when pulling e3c91a7 on julienfalque:split-braces-fixer-master into e59005d on FriendsOfPHP:master.

@salarmehr
Copy link
Copy Markdown

Any update about this PR?

@kubawerlos
Copy link
Copy Markdown
Member

@salarmehr Julien extracted 1st fixer to #5751 - do not hesitate and make a proper review there.

@julienfalque julienfalque force-pushed the split-braces-fixer-master branch 2 times, most recently from 93697e3 to 9056eb6 Compare September 5, 2021 12:31
@julienfalque julienfalque force-pushed the split-braces-fixer-master branch from 9056eb6 to 8a8acf1 Compare August 6, 2022 15:39
@julienfalque julienfalque changed the title Deprecate BracesFixer minor: Deprecate BracesFixer Aug 6, 2022
@keradus
Copy link
Copy Markdown
Member

keradus commented Aug 17, 2022

@julienfalque , please go ahead with this one! :) all else got merged!

@jrmajor
Copy link
Copy Markdown
Contributor

jrmajor commented Aug 18, 2022

Deprecate SingleSpaceAfterConstructFixer in favor of a new SingleSpaceAroundConstructFixer that would also fix space before the use keyword for anonymous functions.

If SingleSpaceAroundConstructFixer also handled spacing around the fn and => in arrow functions, it would be useful for #6547.

@julienfalque julienfalque force-pushed the split-braces-fixer-master branch from 8a8acf1 to e3c91a7 Compare August 19, 2022 16:44
@keradus
Copy link
Copy Markdown
Member

keradus commented Oct 12, 2022

@julienfalque , do you think we can finalise this PR?
I would love to see it merged!

@julienfalque
Copy link
Copy Markdown
Member Author

It's still WIP on my laptop, have to find some time to 🙂

@keradus
Copy link
Copy Markdown
Member

keradus commented Oct 27, 2022

eager to see that happening ! take your time ;)

@keradus
Copy link
Copy Markdown
Member

keradus commented Mar 31, 2023

I know that this PR looks small and simple, but only because most of work to make this happen got extracted to smaller, independent PRs [for easier review and faster merge].

Kudos for making all of that happen, @julienfalque ! that was one of the biggest effort we had in whole Fixer project!

@kubawerlos
Copy link
Copy Markdown
Member

Go away, you evil fixer 🍾

@keradus
Copy link
Copy Markdown
Member

keradus commented Apr 2, 2023

I think that was one of the oldest fixer we ever had.

and one of first ones that I created. #472

it took ages to have it in shape that was allowing to merge it. so many things learnt during that. time for retire indeed

@julienfalque julienfalque deleted the split-braces-fixer-master branch April 3, 2023 06:51
@julienfalque
Copy link
Copy Markdown
Member Author

Thank you @keradus for finishing this!

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.

7 participants