- Issue created by @sidharth_soman
- Issue was unassigned.
- 🇮🇳India sidharth_soman Bangalore
All issues fixed except for the dependency injection and errors involving naming conventions and documentation.
Leaving it in 'Needs Work' for now.
- Status changed to Needs review
over 1 year ago 10:17am 11 July 2023 - 🇮🇳India mrinalini9 New Delhi
Updated patch #2 by fixing the remaining dependency injection and other errors/warnings issues, please review it.
Thanks & Regards,
Mrinalini - Assigned to sidharth_soman
- Status changed to Needs work
over 1 year ago 10:29am 11 July 2023 - 🇮🇳India sidharth_soman Bangalore
Patch #3 all of the errors. However, there are two left regarding the sorting of use statements in alphabetical order in files: yusaopeny_ymca360\src\Form\SettingsForm.php and yusaopeny_ymca360\modules\yusaopeny_ymca360_livestreams\src\Form\SettingsForm.php.
PHPCS Report:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig yusaopeny_ymca360
FILE: C:\xampp\htdocs\backendassignment\web\modules\contrib\yusaopeny_ymca360\modules\yusaopeny_ymca360_livestreams\src\Form\SettingsForm.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityTypeManagerInterface.
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------FILE: C:\xampp\htdocs\backendassignment\web\modules\contrib\yusaopeny_ymca360\src\Form\SettingsForm.php
----------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
13 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityTypeManagerInterface.
----------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------
I'll fix them and provide an MR with all the changes together. - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 10:34am 11 July 2023 - Status changed to Needs work
over 1 year ago 5:24pm 18 July 2023 - 🇵🇭Philippines clarkssquared
Hi sidharth_soman
I applied your MR !6 to my local and I confirmed that your Merge Request fixed all the PHPCS errors/issues. However, there is a whitespace error in your MR !6 please fix the whitespace error and all will be good.
Please look at the screenshot I attached for your reference.
Thank you
- First commit to issue fork.
- 🇮🇳India Shank115
Rebased with the latest changes, and resolved phpcs except the warnings in the screenshot.
- First commit to issue fork.
- Status changed to Needs review
about 1 year ago 2:51pm 27 September 2023 - Status changed to Needs work
10 months ago 5:54pm 19 January 2024 - 🇷🇺Russia zniki.ru
Please update Issue summary, update command and phpcs report.
phpcs --standard=Drupal,DrupalPractice --extensions=php,inc,module,install,info,test,profile,theme
Please remove changes that is not a part of phpcs report.
Please fix conflicts. - First commit to issue fork.
- Status changed to Needs review
9 months ago 7:35am 8 February 2024 - 🇮🇳India pray_12
Hi,
I have reviewed MR!6 and did not find any errors or warnings reported by PHPCS.
Thank you!! - 🇮🇳India __i.am.prashant__
Hi, MR !6 seems to be resolving phpcs issues. I am attaching the screenshot for reference. Please review
Marking this ticket as RTBC!! and thank you - Status changed to RTBC
9 months ago 6:39am 15 February 2024