FILE: D:\xampp\htdocs\drupal_10\web\modules\contrib\layout_builder_modal\src\Form\LayoutBuilderModalSettingsForm.php
--------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------------------
66 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
67 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
--------------------------------------------------------------------------------------------------------------------

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

arti_parmar created an issue. See original summary.

arti_parmar’s picture

Assigned: arti_parmar » Unassigned
Status: Active » Needs review
StatusFileSize
new2.26 KB

Kindly review patch.

Status: Needs review » Needs work

The last submitted patch, 2: 3370984-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

urvashi_vora’s picture

Status: Needs work » Needs review
Issue tags: +Dependency Injection (DI)
StatusFileSize
new2.43 KB
new2.75 KB

Providing another patch and an interdiff.

Please review.

Thanks

Status: Needs review » Needs work

The last submitted patch, 4: dependency-injection-fixed.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

mrinalini9’s picture

Status: Needs work » Needs review
StatusFileSize
new3.11 KB
new1.1 KB

Fixing test case failure issues in #4, please review it.

Thanks & Regards,
Mrinalini

Status: Needs review » Needs work

The last submitted patch, 6: dependency-injection-fixed-6.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

chaitanyadessai’s picture

Status: Needs work » Needs review
StatusFileSize
new4.24 KB

Adding patch, Please review.

Status: Needs review » Needs work

The last submitted patch, 8: 3370984-8.patch, failed testing. View results

elber’s picture

Status: Needs work » Needs review
StatusFileSize
new4.24 KB
kushagra.goyal’s picture

StatusFileSize
new81.63 KB
new209.43 KB

Hi @elber, Thanks for patch. I have applied the patch and tested on local it is resolving the issue. Hence +1 RTBC...

elber’s picture

Status: Needs review » Reviewed & tested by the community

Hi moving to RTBC based in the previously comment