Conversation
|
Looks like the tests do need to be updated. I would wait until the feedback rounds are done before updating the test to save some work. |
|
You can auto-update the test expectations by temporarily modifying the string compare trait like so: Then running the affected/failing tests, committing and pushing the changes to the tests folder. |
src/Template/Bake/Template/view.ctp
Outdated
|
is there any cakephp 3 bundle for textmate? |
|
@mtkocak I'm not sure, I've not used textmate in years. However, you may be able to find a generic PHP bundle that supports PSR-2 formatting. |
|
I think I did it. I updated all tests manually and tested using phpunit. by the way @markstory what ide do you use? |
|
coverage/coveralls ? @AD7six |
You can ignore that @mtkocak - all the |
|
oh I see. I got coverage problem because I did not fetch 1.1 :P I am going to add new lines too |
|
@mtkocak Just vim with some config/plugins. |
|
@markstory thanks for the advice, I will try that. |
|
Great job @mtkocak 👏 |
There was a problem hiding this comment.
I see that class templateTaskComments was already used earlier but it should be switched to dashed version for consistency.
There was a problem hiding this comment.
Are there ways to do away with the inline classes?
There was a problem hiding this comment.
I don't see how you can do away with classes for column widths.
There was a problem hiding this comment.
By using css (or sass or scss or less).
There was a problem hiding this comment.
Not depending on whatever-framework-was used style.
being able to replace the presentation.
http://alistapart.com/article/separationdilemma
http://alistapart.com/column/no-good-can-come-of-bad-code
In this case the way without a preprocessor would be to copy the class attribute to css as a comment also refering to the franework utilized AND below create the very few selectors and include their properties.
I am very happy with the inprovement though as now it looks good!
|
I am totally lost. |
|
Don't worry. It got merged, it is tons better now. Thank you 👍 for making me love cake bake output visually again! :) |
I think I have to update tests too...