-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove malfunctions #111
remove malfunctions #111
Conversation
Additional correction because there was a change omission
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #111 +/- ##
========================================
Coverage 5.06% 5.06%
Complexity 158 158
========================================
Files 31 31
Lines 948 948
========================================
Hits 48 48
Misses 900 900 ☔ View full report in Codecov by Sentry. |
I have multiple alerts like this, what should I do?
Did I do something wrong? |
I'm preparing the next change (Bootstrap update), but I can't move forward if this is stuck. |
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 would only give these arrays some space for better readability
array('di'=>null)
→
array('di' => null)
You can install PHP CodeSniffer to your IDE for these.
PM or mention me to approve next PR.
@Jeckerson please approve this PR, thanks. |
@@ -49,7 +49,7 @@ public function searchAction(): void | |||
$this->request->getPost() | |||
); | |||
|
|||
$this->persistent->searchParams = $query->getParams(); | |||
$this->persistent->searchParams = array('di'=>null) + $query->getParams(); |
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.
Can you use the newer syntax (short) for the array please and also run it through codesniffer (spaces needed before and after =>
)
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 have corrected it as requested.
@@ -54,7 +54,7 @@ public function searchAction(): void | |||
$this->request->getPost() | |||
); | |||
|
|||
$this->persistent->searchParams = $query->getParams(); | |||
$this->persistent->searchParams = array('di'=>null) + $query->getParams(); |
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.
Same here
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 have also modified this as per your request.
ProductsController also had the same part, so I modified that as well.
Don't worry about that. |
Responding to change requests
Thank you @s-ohnishi |
I'm the one who should be thanking you. |
I forgot to do some of the multiple changes.
I also removed unnecessary comments and aligned quotes.