- Issue created by @samit.310@gmail.com
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 3:07am 13 April 2023 - Status changed to RTBC
about 1 year ago 3:00pm 11 October 2023 - ๐ฉ๐ชGermany yuseferi
Hey Akram,
Thank you for revewing, could you please create a Merge Request?Best
- ๐บ๐ฆUkraine Andrii Momotov
Andrii Momotov โ made their first commit to this issueโs fork.
- Assigned to Andrii Momotov
- Status changed to Needs work
8 months ago 11:12pm 9 March 2024 - Merge request !1Issue #3353876: Fixed the issues reported by phpcs โ (Open) created by Andrii Momotov
- Issue was unassigned.
- Status changed to Needs review
8 months ago 11:16pm 9 March 2024 - ๐บ๐ฆUkraine Andrii Momotov
Created the MR with fixed phpcs errors. Please review.
Thanks! - ๐ต๐ญPhilippines cleavinjosh
Hi @Andrii Momotov,
I applied MR!1 and it applied cleanly.
However, when I ran
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
I encountered an issue:โ delete_book git:(main) โ curl https://git.drupalcode.org/project/delete_book/-/merge_requests/1.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4207 0 4207 0 0 11087 0 --:--:-- --:--:-- --:--:-- 11100 patching file delete_book.info.yml Hunk #1 FAILED at 4. 1 out of 1 hunk FAILED -- saving rejects to file delete_book.info.yml.rej patching file src/Controller/BookController.php patching file src/Form/BookDeleteConfirmationForm.php โ delete_book git:(main) โ .. โ contrib git:(main) โ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml delete_book FILE: /Users/interns/Demo-site/drupal-orgissue/web/modules/contrib/delete_book/delete_book.info.yml ------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------- 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 7 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:" ------------------------------------------------------------------------------------------------------------- Time: 136ms; Memory: 10MB โ contrib git:(main) โ
I will retain the status to Needs review so others can confirm as well.
Thank you.
- Status changed to Needs work
6 months ago 3:54am 24 May 2024 - Status changed to RTBC
4 months ago 6:48am 19 July 2024 - ๐ต๐ญPhilippines cleavinjosh
Hi @Andrii Momotov,
I apologize for my previous testing. I discovered that the warnings I encountered were because I installed the module via composer.
I retested MR!1 and it was applied smoothly and fixed the phpcs issues.
โ delete_book git:(1.0.x) curl https://git.drupalcode.org/project/delete_book/-/merge_requests/1.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4207 0 4207 0 0 6190 0 --:--:-- --:--:-- --:--:-- 6186 patching file delete_book.info.yml patching file src/Controller/BookController.php patching file src/Form/BookDeleteConfirmationForm.php โ delete_book git:(1.0.x) โ .. โ contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml delete_book โ contrib
Thank you.