Category now has second description attribute that is displayed on the product list page above the product list #8
Conversation
Miroslav-Stopka
commented
Jul 31, 2018
•
edited by boris-brtan
edited by boris-brtan
Q | A |
---|---|
Description, reason for the PR | Category: added second description attribute |
New feature | Yes |
BC breaks | No |
Fixes issues | #5 |
Standards and tests pass | Yes/No (waiting for split) |
Have you read and signed our License Agreement for contributions? | Yes |
a62840b
to
983f9df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, hope you enjoyed the enhancements.
@@ -0,0 +1,77 @@ | |||
<?php | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
automatically generated docblocks of PHPstorm are useless
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done :)
use Shopsys\FrameworkBundle\Form\Admin\Category\CategoryFormType; | ||
use Shopsys\FrameworkBundle\Form\FormRenderingConfigurationExtension; | ||
use Shopsys\FrameworkBundle\Form\GroupType; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, wonder whether this blank line between use statements passes the standards
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, I have removed this empty line
@@ -37,3 +37,11 @@ services: | |||
- { name: doctrine.event_subscriber, priority: -10 } | |||
|
|||
League\Flysystem\FilesystemInterface: '@main_filesystem' | |||
|
|||
Shopsys\FrameworkBundle\Model\Category\CategoryFactoryInterface: '@Shopsys\ShopBundle\Model\Category\CategoryFactory' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, consider to implement it the same way as Shopsys\FrameworkBundle\Model\Product\ProductFactoryInterface:
alias: Shopsys\ShopBundle\Model\Product\ProductFactory
since it is already merged into master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considered and applied
Shopsys\FrameworkBundle\Model\Product\Product: Shopsys\ShopBundle\Model\Product\Product | ||
Shopsys\FrameworkBundle\Model\Category\Category: Shopsys\ShopBundle\Model\Category\Category | ||
Shopsys\FrameworkBundle\Model\Category\CategoryDomain: Shopsys\ShopBundle\Model\Category\CategoryDomain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry but this has got problem with missing blank line at the end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
983f9df
to
adaff04
Compare
Hi @boris-brtan thank you for this review :) Please inform me about tests results. |
|
||
### Changed | ||
- [#1 - Basic changes in docs, readme etc. after copying from project-base](https://github.com/shopsys/demoshop/pull/1) : [@LukasHeinz] | ||
|
||
### Fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no "Fixed" entry to changelog, I see entry in "Added" part and it is enough, isn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided to add a note to the fixed section because of this commit 03a30c0
13a85fe
to
03a30c0
Compare
…of those from framework
- PHPUnit 7.2 and Codeception 2.4 are incompatible, see Codeception/Codeception#5092