- Issue created by @roshni27
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 9:59am 10 July 2023 - Status changed to Needs work
over 1 year ago 6:47am 13 July 2023 - 🇵🇭Philippines paraderojether
Hi
I reviewed patch #2, and still getting issues reported by phpcs shown below:
FILE: /Users/studenttrainees/Drupal/drupalorg-issues-site/docroot/modules/contrib/layout_builder_iframe_modal/js/iframe.js -------------------------------------------------------------------------------------------------------------------------- FOUND 4 ERRORS AFFECTING 4 LINES -------------------------------------------------------------------------------------------------------------------------- 35 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found 53 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 59 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 74 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found -------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------- FILE: /Users/studenttrainees/Drupal/drupalorg-issues-site/docroot/modules/contrib/layout_builder_iframe_modal/layout_builder_iframe_modal.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 -------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/studenttrainees/Drupal/drupalorg-issues-site/docroot/modules/contrib/layout_builder_iframe_modal/layout_builder_iframe_modal.module ------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------ 126 | WARNING | Line exceeds 80 characters; contains 82 characters ------------------------------------------------------------------------------------------------------------------------------------------------ Time: 289ms; Memory: 10MB
Please check.
Thank You. - Status changed to Needs review
over 1 year ago 7:00am 13 July 2023 - 🇮🇳India Ashutosh Ahirwal India
Hi have fixed all the issue and providing patch for it.
- 🇮🇳India rudrakumar188
Hello, I reviewed the patch #4
by running
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig layout_builder_iframe_modal/was able to reproduce the errors and after applying patch I was getting 1 error only and few warnings.
FILE: ...Documents/drupal10/modules/contrib/layout_builder_iframe_modal/PATCHES.txt -------------------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES -------------------------------------------------------------------------------- 1 | WARNING | [ ] Line exceeds 80 characters; contains 104 characters 5 | ERROR | [x] Expected 1 newline at end of file; 3 found -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: ...s/contrib/layout_builder_iframe_modal/layout_builder_iframe_modal.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: 133ms; Memory: 12MB