Fix issues reported by PHPCS

Created on 20 March 2025, 16 days ago

Problem/Motivation

Running PHPCS shows the warnings/errors in attached file, which should be fixed.

šŸ“Œ Task
Status

Active

Version

2.1

Component

Code

Created by

šŸ‡®šŸ‡³India GGH

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @GGH
  • šŸ‡®šŸ‡³India GGH

    MR Raised

  • Pipeline finished with Success
    16 days ago
    Total: 1037s
    #452826
  • šŸ‡µšŸ‡­Philippines paraderojether

    Hi

    I reviewed MR!198 and confirmed it fixes the PHPCS issue reported by the Gitlab CI. However I found some issues while applying MR!198 on my end, please see below:

    āžœ  layout_paragraphs git:(main) āœ— curl https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/198.diff | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  5814    0  5814    0     0  17900      0 --:--:-- --:--:-- --:--:-- 18225
    patching file 'css/builder.css'
    Reversed (or previously applied) patch detected!  Assume -R? [y] y
    2 out of 3 hunks failed--saving rejects to 'css/builder.css.rej'
    patching file 'templates/layout-paragraphs-builder-formatter.html.twig'
    patching file 'templates/layout-paragraphs-builder-section-menu.html.twig'
    patching file 'templates/layout-paragraphs-builder.html.twig'
    patching file 'tests/modules/layout_paragraphs_translations_test/templates/paragraph--section.html.twig'
    patching file 'tests/modules/layout_paragraphs_translations_test/templates/paragraph--text.html.twig'
    patching file 'tests/src/FunctionalJavascript/BlockFieldTest.php'
    patching file 'tests/src/FunctionalJavascript/FormRenderingTest.php'
    patching file 'tests/src/FunctionalJavascript/NestedSectionsTest.php'
    āžœ  layout_paragraphs git:(main) āœ—

    Will retain the status to "Needs Review" so that others can also check.
    Thank you.

Production build 0.71.5 2024