- Issue created by @Shanu Chouhan
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 1:08pm 9 May 2023 - Status changed to RTBC
over 1 year ago 2:54pm 9 May 2023 - 🇵🇭Philippines clarkssquared
Hi Shanu Chouhan
I cloned the module and applied your patch #2 and confirmed that the phpcs --standard=Drupal issues were fixed.
Please look at the screenshots attached for your reference.
Thank you.
- 🇸🇮Slovenia useernamee Ljubljana
Hello @Shanu Chouhan and @clarkssquared.
Would you care to open an issue fork and merge request for your PR. It'll be easier to add comments there. Since there are a few issues with the patch. For example:
+ /** + * Service description. + */
Well it is not service description but a string with a log file path.
Then next docblock is also wrong, since it exists already, just the commented line has to be removed.
- Status changed to Needs work
over 1 year ago 5:06pm 9 May 2023 - First commit to issue fork.
- Assigned to akshaydalvi212
- 🇮🇳India akshaydalvi212
I will updated the code so as to resolve the reported errors and raise the MR.
- @akshaydalvi212 opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 6:28pm 9 May 2023 - 🇮🇳India akshaydalvi212
Resolved all the Errors and raised the MR.
kindly review the MR. - Status changed to Needs work
over 1 year ago 8:17pm 9 May 2023 - 🇸🇮Slovenia useernamee Ljubljana
Not good. See my MR review: https://git.drupalcode.org/project/hook_profiler/-/merge_requests/1#note...
- Assigned to akshaydalvi212
- 🇮🇳India akshaydalvi212
I will work on the comments added to the MR and update the MR accordingly.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:38am 10 May 2023 - 🇮🇳India akshaydalvi212
Made the suggested changes in the MR.
kindly review the MR. - Status changed to Needs work
over 1 year ago 8:19am 10 May 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
+ /** + * The log path string. + */ protected string $logPath;
The
@var
line must still be present, as per Drupal coding standards.Also, the report shows warnings/errors for a single file, while the MR changes two files. Either the report is not complete (and must be edited to show all the warnings/errors to fix) or the MR is changed to fix only what reported in the issue summary.
- Assigned to imustakim
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 8:17am 11 May 2023 - Status changed to Needs work
over 1 year ago 11:13am 11 May 2023 - 🇸🇮Slovenia useernamee Ljubljana
@imustakim
1. Why did you not add a commit to the MR that's open already?
2. Why are changing README.txt? I don't see any code style issue there?
3.@var
parameter needs a type not a var name - 🇮🇹Italy apaderno Brescia, 🇮🇹
/** - * Service description. + * The module handler service class. */ class HookProfilerModuleHandler extends ModuleHandler {
Since that class is extending ModuleHandler, it cannot simply be described as The module handler. because that will not make clear the difference between that class and its parent class.
+ /** + * The log file path. + * + * @var logPath + */ protected string $logPath;
As the previous comment said,
logPath
is not a PHP type, nor a class name, and it cannot be used with@var
. - Assigned to imustakim
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 12:27pm 11 May 2023 -
useernamee →
committed 72fa6680 on 1.0.x authored by
akshaydalvi212 →
Issue #3359112 by akshaydalvi212, imustakim, Shanu Chouhan,...
-
useernamee →
committed 72fa6680 on 1.0.x authored by
akshaydalvi212 →
- Status changed to Fixed
over 1 year ago 3:41pm 17 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.