- 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
- Status changed to Needs work
3 days ago 7:36am 16 December 2024 - ๐ง๐ชBelgium svendecabooter Gent
Patch does no longer apply to latest codebase in 1.0.x
dhruv.mittal โ made their first commit to this issueโs fork.
- Merge request !18Issue-3373530:Fixed phpcs,styleint and eslint errors. โ (Open) created by dhruv.mittal
I have resolved phpstan, stylelint,phpcs and some eslint error. there are phpunit and some eslint yet to resolve.
I don't have much knowledge about phpunit tests. I would love to help if someone guide me how to do them.
Thank you