- ๐ฎ๐ณIndia Vishal Choudhary Dharmshala
Hi, Team I have ported the module Drupal 9 to Drupal 10. And this module requires a Paragraph module and entity_reference_revisions module. So please Review the code and test this patch file which are attached on this comment. I have tested these module in our Loacl setup and It's Working fine.
Thanks. - Status changed to RTBC
over 1 year ago 6:59am 3 April 2023 - ๐ฎ๐ณIndia amietpatial
Patch #4 was applied successfully and this module works as expected in drupal 10. Attaching screenshot.
- ๐ฎ๐ณIndia keshavv India
keshav.k โ made their first commit to this issueโs fork.
- Status changed to Needs work
over 1 year ago 7:11am 3 April 2023 Getting below error use dependency injection.
FILE: /var/www/html/modules/contrib/paragraphs_wizard/css/paragraphswizard.css
------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------
78 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------FILE: /var/www/html/modules/contrib/paragraphs_wizard/src/Plugin/Field/FieldFormatter/ParagraphsWizardFieldFormatter.php
----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AND 11 WARNINGS AFFECTING 15 LINES
----------------------------------------------------------------------------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
6 | WARNING | [x] Unused use statement
11 | WARNING | [x] Unused use statement
28 | ERROR | [x] Expected 1 blank line before function; 0 found
30 | WARNING | [x] A comma should follow the last multiline array item. Found: 'default'
45 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
45 | ERROR | [x] Expected one space after the comma, 0 found
46 | ERROR | [x] Short array syntax must be used to define arrays
48 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
51 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
60 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
69 | ERROR | [x] Expected 1 space after IF keyword; 0 found
93 | ERROR | [ ] Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead
101 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
102 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
104 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
----------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/modules/contrib/paragraphs_wizard/paragraphs_wizard.libraries.yml
-------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------
11 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------FILE: /var/www/html/modules/contrib/paragraphs_wizard/paragraphs_wizard.module
----------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------------------
34 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
37 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------Time: 157ms; Memory: 6MB
- Assigned to shivam_tiwari
- @shivam_tiwari opened merge request.
- Status changed to Needs review
over 1 year ago 11:40am 3 April 2023 - @mukesh88 opened merge request.
- Issue was unassigned.