- Issue created by @samit.310@gmail.com
- š®š³India sahilgidwani Jaipur
I will review patch and will update the status once done.
Also, please try to follow the MR workflow for new issues. - Issue was unassigned.
- Status changed to RTBC
almost 2 years ago 12:00pm 25 January 2023 - š®š³India sahilgidwani Jaipur
I have checked and reviewed MR and it works perfectly for me.
Moving it to RTBC. - Assigned to Charchil Khandelwal
- Issue was unassigned.
- š®š³India Charchil Khandelwal
Created MR for this issue.
Please review. - Status changed to Needs work
almost 2 years ago 4:52am 20 February 2023 - š¦šŗAustralia elimw
Rather than calling the class "BrowsersyncConstants", please rename it to "BrowsersyncHelper" and remove the "final" keyword from the class declaration.
- Assigned to AditiVB
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 3:24am 2 March 2023 - š®š³India samit.310@gmail.com
Hi @elimw,
changes has been made. Please review.
- Status changed to Needs work
over 1 year ago 5:07am 2 March 2023 - š®š¹Italy apaderno Brescia, š®š¹
+/**
+ * Block Token Constants.
+ */That does not describe the class. Constants should not be capitalized, since it is not at the begin of a sentence.
I am not sure I would even call those constants Block Token constants, since they are used in the definition of the browsersync_snippet theme function. - š¦šŗAustralia elimw
Please make all changes to "Issue fork browsersync-3335994" rather than the old patch file method.
- First commit to issue fork.
- š®š¹Italy apaderno Brescia, š®š¹
- Status changed to Needs review
8 months ago 10:38am 14 March 2024 - First commit to issue fork.
- š®š³India pray_12
Fixed Line indented incorrectly for browsersync.module.
- šµšPhilippines cleavinjosh
Hi @pray_12,
I applied MR!2 and confirmed that the issues found on the browsersync.module file by the phpcs are fixed.
However, I am still encountering some issues when I run
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
ā browsersync git:(main) ā curl https://git.drupalcode.org/project/browsersync/-/merge_requests/2.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8165 0 8165 0 0 18933 0 --:--:-- --:--:-- --:--:-- 18944 patching file .gitlab-ci.yml patching file browsersync.module patching file src/BrowserSyncConstants.php ā browsersync git:(main) ā .. ā contrib git:(main) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml browsersync FILE: /Users/interns/Demo-site/drupal-orgissue/web/modules/contrib/browsersync/browsersync.info.yml ------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------- 1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically 1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically ------------------------------------------------------------------------------------------------------------- Time: 190ms; Memory: 10MB ā contrib git:(main) ā
I will retain the status to Needs review so that others can confirm as well.
Thank you.
- Status changed to Needs work
6 months ago 3:52am 24 May 2024 - Status changed to RTBC
4 months ago 6:54am 19 July 2024 - šµšPhilippines cleavinjosh
Hi @pray_12,
I apologize for my previous testing. I discovered that the warnings I encountered were because I installed the module via composer.
I reapplied MR!2, it was applied smoothly and fixed the phpcs issues.
ā browsersync git:(3.0.0-beta2) curl https://git.drupalcode.org/project/browsersync/-/merge_requests/2.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8165 0 8165 0 0 27680 0 --:--:-- --:--:-- --:--:-- 27677 patching file .gitlab-ci.yml patching file browsersync.module patching file src/BrowserSyncConstants.php ā browsersync git:(3.0.0-beta2) ā .. ā contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml browsersync ā contrib
Thank you.
- š®š¹Italy apaderno Brescia, š®š¹
There is no need to test a merge request locally, since GitLab CI reports PHP_CodeSniffer errors/warnings.