DX: Make AbstractFixerTestCase::getTestFile() final#7116
Conversation
getTestFile() methodgetTestFile() method
|
The question is: should @kayw-geek anyway, if your fix is correct, we need test case for that 🙂. |
I didn't pass the file parameter to the My current idea is the same as yours, whether it should be changed to a final method to avoid others and myself from doing the same. @Wirone I changed the method to final, could you please review the changes again? |
193ea12 to
1e35d95
Compare
getTestFile() methodgetTestFile() method
1e35d95 to
e32a8fe
Compare
Wirone
left a comment
There was a problem hiding this comment.
It would be a breaking change if class wasn't @internal 😉. But this makes sense 👍.
getTestFile() methodAbstractFixerTestCase::getTestFile() final
|
Thanks @kayw-geek and welcome into Fixer collaborators team 🍻! By mistake posted it into squash commit's message 😂 🤦 . |
#6860 This PR mark the
getTestFile()method to static, but it still be useself::called in this class.This will result in the overridden
getTestFile()method by the user not being called correctly.