[ticket/15069] Refactor template class#4688
Conversation
PHPBB3-15069
cea231b to
2a026a4
Compare
Eliminate check for empty loop insertion, keep for backward compatibility PHPBB3-15069
Do not leave block if empty insertion PHPBB3-15069
Do not traverse empty loops PHPBB3-15069
Do not traverse empty loops. Do not leave empty blocks. General code improvements. PHPBB3-15069
hanakin
left a comment
There was a problem hiding this comment.
This is probably to verbose and will most likely need broken up into smaller chunks
|
Ok, I am all for improving the code, but @hanakin what exactly are you suggesting to break, and what is too verbose? Sorry I don't understand your comment precisely. Please, elaborate. |
|
Ill let the dev team comment, but you rewrote the entire files and there is a lot of docblock making it hard to make sense of whats getting changed on here for me, its just not a very clean diff is all |
|
Of course, it is a major rewrite, and it adds significant functionality. The diff does not give you enough information. Maybe looking at the new file alone makes more sense. That is for context, template and base are much clearer. |
Add the possibility to retrieve complete blocks. PHPBB3-15069
Fix wrong merge conflict resolution. PHPBB3-15069
Fix wrong merge conflict resolution in base.php. PHPBB3-15069
|
The failure seems a totally different problem, unrelated to this PR. |
|
Confirmed, the test failure is coming from here bdc3126#diff-80a55b47f049e3e27edb4d6bfd8e7a1dR93 And uncovered by #4622 |
|
Fix proposed: #4731 |
|
The latest error seems to be coming from the "Merge commit" not having the comment correctly formatted. |
|
@javiexin just hard rest with keep changes, stash all, change branches, then re-apply stash and re-commit |
|
@hanakin thanks a lot, but I am not confident with this, and I do not want to mess around with the phpbb repository. Maybe close this request and reopen a new one? |
|
First I recommend using a tool like git Tower, makes working with git alot simpler To not have to use git you could
|
|
Ok, I have now created the new PR against master, following your detailed guide (thanks a lot!!). But I now still get merge conflicts, that I must resolve, that will result in a commit with an incorrect commit message... What do I do?? The new PR: #4735 |
PHPBB3-15069
For reference and details, see https://area51.phpbb.com/phpBB/viewtopic.php?f=81&t=50881
Checklist:
Tracker ticket:
https://tracker.phpbb.com/browse/PHPBB3-15069