$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml trinion_backend/

FILE: C:\xampp\htdocs\contribution\web\themes\contrib\trinion_backend\css\custom.css
------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------
1 | ERROR | [x] Additional whitespace found at start of file
------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\contribution\web\themes\contrib\trinion_backend\css\styles.css
------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------
2742 | ERROR | Style definitions must end with a semicolon
------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\contribution\web\themes\contrib\trinion_backend\trinion_backend.theme
-------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
-------------------------------------------------------------------------------------------
81 | WARNING | Line exceeds 80 characters; contains 123 characters
82 | WARNING | Line exceeds 80 characters; contains 97 characters
82 | ERROR | Comment indentation error, expected only 1 spaces
85 | WARNING | Line exceeds 80 characters; contains 92 characters
85 | ERROR | Comment indentation error, expected only 4 spaces
88 | WARNING | Line exceeds 80 characters; contains 85 characters
88 | ERROR | Comment indentation error, expected only 4 spaces
-------------------------------------------------------------------------------------------

Time: 7.77 secs; Memory: 156MB

Issue fork 3283271-3291041

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

    Rakhi Soni created an issue. See original summary.

    rakhi soni’s picture

    Assigned: rakhi soni » Unassigned
    Status: Active » Needs review
    StatusFileSize
    new216.75 KB

    I have created a patch to fix this issue,,

    indrapatil’s picture

    Status: Needs review » Needs work
    StatusFileSize
    new228.13 KB

    Hi,
    Patch didn't apply,
    Moving needs work.
    Thanks.

    indrapatil’s picture

    Assigned: Unassigned » indrapatil
    indrapatil’s picture

    Assigned: indrapatil » Unassigned
    StatusFileSize
    new208.14 KB
    new9.83 KB

    Hi ,
    I have resloved some of issue still some are there so keeping in Needs work.
    Please review the patch and also providing the interdiff.

    alexanderj’s picture

    Assigned: Unassigned » alexanderj
    Status: Needs work » Needs review

    I will review it

    alexanderj’s picture

    Assigned: alexanderj » Unassigned
    Status: Needs review » Needs work

    Hi, i'm try to apply your patch #5, but when i went to test it. It unexpectedly failed.

    Checking patch assets/fonts/metropolis/SIL Open Font License.txt...
    error: assets/fonts/metropolis/SIL Open Font License.txt: No such file or directory
    Checking css/custom.css patch...
    error: css/custom.css: No such file or directory
    Checking css/styles.css patch...
    error: css/styles.css: No such file or directory
    Checking patch templates/menu/menu-levels--level-1.html.twig...
    error: templates/menu/menu-levels--level-1.html.twig: No such file or directory
    Checking patch trinion_backend.libraries.yml...
    error: while searching for:
      dependencies:
        - core/jquery
        - core/jquery.once
    
    
    error: patch failed: trinion_backend.libraries.yml:12
    error: trinion_backend.libraries.yml: patch does not apply
    Checking patch trinion_backend.theme...
    error: while searching for:
    <?php
    
    /**
     * Implements hook_preprocess_html().
     */
    function trinion_backend_preprocess_html(&$variables) {
      $variables['html_attributes'] = FALSE;
    }
    
    error: patch failed: trinion_backend.theme:1
    error: trinion_backend.theme: patch does not apply
    

    Please look at this. Thanks!

    jsricardo’s picture

    Assigned: Unassigned » jsricardo

    I will Work on this

    jsricardo’s picture

    Assigned: jsricardo » Unassigned
    StatusFileSize
    new353.17 KB
    new26.15 KB

    I couldn't solve this error

    FILE: contrib/3283271-3291041/css/styles.css
    ----------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------
    2833 | ERROR | Style definitions must end with a semicolon
    ----------------------------------------------------------------------

    Time: 9.49 secs; Memory: 150.01MB

    ramonvasconcelos’s picture

    Assigned: Unassigned » ramonvasconcelos

    I'll take a look.

    ramonvasconcelos’s picture

    Assigned: ramonvasconcelos » Unassigned
    Status: Needs work » Reviewed & tested by the community

    Hi @jsricardo i was able to apply the patch and it fixed all standard errors except the one you mentioned.
    I think its a bug from the sniffer since the semicolon is there

    Project: » Lost & found issues

    This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 3283271)