- First commit to issue fork.
- Status changed to Needs work
over 1 year ago 2:17pm 3 March 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, report which command has been used, which arguments have been used, and which report that command shown.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 10:41am 14 March 2023 - ๐ฎ๐ณIndia rajneeshb New Delhi
Reviewed MR !2, attaching screenshots for reference, Looks good to me
- ๐ฎ๐ณIndia dev16.addweb
silvi.addweb โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia dev16.addweb
Fixed the mentioned errors.
FILE: /home/addweb/patches/simple_zoom-2955180/src/Plugin/Field/FieldFormatter/ZoomImageFormatter.php ----------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Form\FormStateInterface. ----------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------- FILE: /home/addweb/patches/simple_zoom-2955180/simple_zoom.module -------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Utility\Unicode. -------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------- FILE: /home/addweb/patches/simple_zoom-2955180/zoom_inline/src/Plugin/CKEditorPlugin/DrupalInlineImageZoom.php --------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\ckeditor\CKEditorPluginInterface. --------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------- FILE: /home/addweb/patches/simple_zoom-2955180/zoom_inline/zoom_inline.module ----------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Form\FormStateInterface. ----------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -----------------------------------------------------------------------------------------------------------------------------
- Status changed to Needs work
4 months ago 5:18am 18 July 2024 - ๐ต๐ญPhilippines cleavinjosh
Hi @silvi.addweb,
I applied MR!2 and it was applied smoothly. These are the issues remaining after I ran
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
.โ simple_zoom git:(heads/8.x-2.x) curl https://git.drupalcode.org/project/simple_zoom/-/merge_requests/2.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6026 0 6026 0 0 14089 0 --:--:-- --:--:-- --:--:-- 14112 patching file README.txt patching file css/zoom.css patching file simple_zoom.module patching file src/Plugin/Field/FieldFormatter/ZoomImageFormatter.php patching file zoom_inline/src/Plugin/CKEditorPlugin/DrupalInlineImageZoom.php patching file zoom_inline/zoom_inline.info.yml patching file zoom_inline/zoom_inline.module โ simple_zoom git:(heads/8.x-2.x) โ .. โ contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml simple_zoom FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/simple_zoom/simple_zoom.info.yml ----------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------- 1 | WARNING | "core_version_requirement" property is missing in the info.yml file ----------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/simple_zoom/zoom_inline/zoom_inline.info.yml ----------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------- 1 | WARNING | "core_version_requirement" property is missing in the info.yml file ----------------------------------------------------------------------------------------------------------------- Time: 174ms; Memory: 10MB โ contrib
Thank you.
- Status changed to Needs review
4 months ago 3:12pm 18 July 2024 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
- Merge request !3Enabled GitLab CI on an issue fork without other changes to get the list of warnings/errors to fix โ (Open) created by apaderno
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
apaderno โ changed the visibility of the branch 2955180-gitlab-ci-reports to hidden.
- Status changed to Needs work
4 months ago 5:51am 19 July 2024 - ๐ต๐ญPhilippines cleavinjosh
Hi @apaderno,
I applied MR!2 and it was applied smoothly. However, I still encountered some issues after I ran
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
.โ simple_zoom git:(heads/8.x-2.x) curl https://git.drupalcode.org/project/simple_zoom/-/merge_requests/2.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 7846 0 7846 0 0 12755 0 --:--:-- --:--:-- --:--:-- 12778 patching file .gitlab-ci.yml patching file README.txt patching file css/zoom.css patching file simple_zoom.module patching file src/Plugin/Field/FieldFormatter/ZoomImageFormatter.php patching file zoom_inline/src/Plugin/CKEditorPlugin/DrupalInlineImageZoom.php patching file zoom_inline/zoom_inline.info.yml patching file zoom_inline/zoom_inline.module โ simple_zoom git:(heads/8.x-2.x) โ .. โ contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml simple_zoom FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/simple_zoom/simple_zoom.info.yml ----------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------- 1 | WARNING | "core_version_requirement" property is missing in the info.yml file ----------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/simple_zoom/zoom_inline/zoom_inline.info.yml ----------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------- 1 | WARNING | "core_version_requirement" property is missing in the info.yml file ----------------------------------------------------------------------------------------------------------------- Time: 424ms; Memory: 10MB
Please check and advise.
Thank you. - Status changed to Needs review
4 months ago 7:51am 19 July 2024 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
There is no need to test a merge request locally: GitLab CI shows PHP_CodeSniffer errors/warnings, if they are not all resolved.
In this case, MR! 2 fixed all the PHP_CodeSniffer errors/warnings reported by PHP_CodeSniffer.