-
Notifications
You must be signed in to change notification settings - Fork 51
Conversation
@@ -0,0 +1,35 @@ | |||
<?php | |||
|
|||
namespace Knp\Bundle\KnpBundlesBundle\EventDispatcher; |
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.
it should be Event
to be consistent with Symfony
@Palleas you should update your PR so that github sees that the first commits are merged now (it won't change the diff if the PR is untouched) |
…e consistent with Symfony
@stof I think I've fixed everything now, thanks for your review :) |
|
||
/** | ||
* | ||
*/ |
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.
broken indentation
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.
and same for all other created by copy-paste
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.
Fixed, thanks!
|
||
class BundleEvent extends Event | ||
{ | ||
|
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 have an extra line here
merged |
(This should be easier to merge when this PR is merged)
This is a new "approach" for the scoring algorithm, using the event dispatcher to make it more easy to maintain and less coupled to the whole update process.
Let me know what you think! :)