There are some coding standard issues in module.

Problem/Motivation

FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/css/fix.css
----------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------------------------------------
 2 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 3 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 4 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 5 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 6 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/advanced_shortcodes.module
--------------------------------------------------------------------------
FOUND 84 ERRORS AFFECTING 26 LINES
--------------------------------------------------------------------------
  1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
 24 | ERROR | [x] Short array syntax must be used to define arrays
 25 | ERROR | [x] Short array syntax must be used to define arrays
 26 | ERROR | [x] Short array syntax must be used to define arrays
 28 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 28 | ERROR | [x] Array indentation error, expected 4 spaces but found 3
 28 | ERROR | [x] Short array syntax must be used to define arrays
 29 | ERROR | [x] Array indentation error, expected 5 spaces but found 6
 29 | ERROR | [x] Short array syntax must be used to define arrays
 29 | ERROR | [ ] The array declaration extends to column 103 (the limit is 80). The array content should be split up over multiple lines
 29 | ERROR | [x] Expected one space after the comma, 0 found
 30 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 4
 31 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 31 | ERROR | [x] Array indentation error, expected 4 spaces but found 3
 31 | ERROR | [x] Short array syntax must be used to define arrays
 32 | ERROR | [x] Array indentation error, expected 5 spaces but found 6
 32 | ERROR | [x] Short array syntax must be used to define arrays
 32 | ERROR | [x] Expected one space after the comma, 0 found
 32 | ERROR | [x] Expected 1 space between "'text'" and double arrow; 0 found
 32 | ERROR | [x] Expected 1 space before "=>"; 0 found
 33 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 4
 34 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 34 | ERROR | [x] Array indentation error, expected 4 spaces but found 3
 34 | ERROR | [x] Short array syntax must be used to define arrays
 35 | ERROR | [x] Array indentation error, expected 5 spaces but found 6
 35 | ERROR | [x] Short array syntax must be used to define arrays
 35 | ERROR | [x] Expected one space after the comma, 0 found
 35 | ERROR | [x] Expected 1 space between "'value'" and double arrow; 0 found
 35 | ERROR | [x] Expected 1 space before "=>"; 0 found
 36 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 4
 37 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 37 | ERROR | [x] Array indentation error, expected 4 spaces but found 3
 37 | ERROR | [x] Short array syntax must be used to define arrays
 38 | ERROR | [x] Array indentation error, expected 5 spaces but found 6
 38 | ERROR | [x] Short array syntax must be used to define arrays
 38 | ERROR | [x] Expected one space after the comma, 0 found
 38 | ERROR | [x] Expected 1 space between "'type'" and double arrow; 0 found
 38 | ERROR | [x] Expected 1 space before "=>"; 0 found
 38 | ERROR | [x] Expected one space after the comma, 0 found
 38 | ERROR | [x] Expected 1 space between "'message'" and double arrow; 0 found
 38 | ERROR | [x] Expected 1 space before "=>"; 0 found
 39 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 4
 40 | ERROR | [x] Short array syntax must be used to define arrays
 41 | ERROR | [x] Short array syntax must be used to define arrays
 41 | ERROR | [x] Expected 1 space between "'text'" and double arrow; 0 found
 41 | ERROR | [x] Expected 1 space before "=>"; 0 found
 43 | ERROR | [x] Short array syntax must be used to define arrays
 44 | ERROR | [x] Short array syntax must be used to define arrays
 44 | ERROR | [x] Expected one space after the comma, 0 found
 44 | ERROR | [x] Expected 1 space between "'title'" and double arrow; 0 found
 44 | ERROR | [x] Expected 1 space before "=>"; 0 found
 44 | ERROR | [x] Expected one space after the comma, 0 found
 44 | ERROR | [x] Expected 1 space between "'text'" and double arrow; 0 found
 44 | ERROR | [x] Expected 1 space before "=>"; 0 found
 46 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 46 | ERROR | [x] Array indentation error, expected 4 spaces but found 3
 46 | ERROR | [x] Short array syntax must be used to define arrays
 47 | ERROR | [x] Array indentation error, expected 5 spaces but found 6
 47 | ERROR | [x] Short array syntax must be used to define arrays
 47 | ERROR | [x] Expected one space after the comma, 0 found
 47 | ERROR | [x] Expected 1 space between "'text'" and double arrow; 0 found
 47 | ERROR | [x] Expected 1 space before "=>"; 0 found
 48 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 4
 49 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 49 | ERROR | [x] Array indentation error, expected 4 spaces but found 3
 49 | ERROR | [x] Short array syntax must be used to define arrays
 50 | ERROR | [x] Array indentation error, expected 5 spaces but found 6
 50 | ERROR | [x] Short array syntax must be used to define arrays
 50 | ERROR | [ ] The array declaration extends to column 102 (the limit is 80). The array content should be split up over multiple lines
 50 | ERROR | [x] Expected one space after the comma, 0 found
 50 | ERROR | [x] Expected 1 space between "'text'" and double arrow; 0 found
 50 | ERROR | [x] Expected 1 space before "=>"; 0 found
 50 | ERROR | [x] Expected one space after the comma, 0 found
 50 | ERROR | [x] Expected 1 space between "'id'" and double arrow; 0 found
 50 | ERROR | [x] Expected 1 space between double arrow and "NULL"; 0 found
 50 | ERROR | [x] Expected 1 space before "=>"; 0 found
 50 | ERROR | [x] Expected 1 space after "=>"; 0 found
 50 | ERROR | [x] Expected one space after the comma, 0 found
 50 | ERROR | [x] Expected 1 space between "'icon'" and double arrow; 0 found
 50 | ERROR | [x] Expected 1 space before "=>"; 0 found
 50 | ERROR | [x] Expected one space after the comma, 0 found
 50 | ERROR | [x] Expected 1 space between "'title'" and double arrow; 0 found
 50 | ERROR | [x] Expected 1 space before "=>"; 0 found
 51 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 4
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 82 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/advanced_shortcodes.info.yml
---------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------
 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
---------------------------------------------------------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/README.txt
---------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 19 WARNINGS AFFECTING 19 LINES
---------------------------------------------------------------------------------------------------
  1 | WARNING | [ ] File has mixed line endings; this may cause incorrect results
  1 | WARNING | [ ] File encoding is invalid, expected UTF-8
  1 | ERROR   | [ ] File contains UTF-16 (LE) byte order mark, which may corrupt your application
  3 | WARNING | [ ] Line exceeds 80 characters; contains 112 characters
  5 | WARNING | [ ] Line exceeds 80 characters; contains 158 characters
  6 | WARNING | [ ] Line exceeds 80 characters; contains 156 characters
  7 | WARNING | [ ] Line exceeds 80 characters; contains 154 characters
  8 | WARNING | [ ] Line exceeds 80 characters; contains 158 characters
  9 | WARNING | [ ] Line exceeds 80 characters; contains 150 characters
 10 | WARNING | [ ] Line exceeds 80 characters; contains 152 characters
 12 | WARNING | [ ] Line exceeds 80 characters; contains 150 characters
 13 | WARNING | [ ] Line exceeds 80 characters; contains 148 characters
 14 | WARNING | [ ] Line exceeds 80 characters; contains 154 characters
 15 | WARNING | [ ] Line exceeds 80 characters; contains 154 characters
 16 | WARNING | [ ] Line exceeds 80 characters; contains 156 characters
 17 | WARNING | [ ] Line exceeds 80 characters; contains 150 characters
 18 | WARNING | [ ] Line exceeds 80 characters; contains 160 characters
 25 | WARNING | [ ] Line exceeds 80 characters; contains 128 characters
 30 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
 31 | WARNING | [ ] Line exceeds 80 characters; contains 148 characters
 37 | ERROR   | [x] Expected 1 newline at end of file; 0 found
---------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/src/Plugin/Shortcode/AlertsShortcode.php
----------------------------------------------------------------------
FOUND 15 ERRORS AND 1 WARNING AFFECTING 11 LINES
----------------------------------------------------------------------
  8 | ERROR   | [ ] Missing short description in doc comment
 21 | ERROR   | [x] Whitespace found at end of line
 22 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 22 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 23 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 24 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 25 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 25 | ERROR   | [x] Expected 1 space before "=>"; 0 found
 26 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 26 | ERROR   | [x] Expected 1 space before "=>"; 0 found
 26 | ERROR   | [x] Expected 1 space after "=>"; 0 found
 26 | WARNING | [x] A comma should follow the last multiline array item. Found: $text
 27 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 30 | ERROR   | [x] Whitespace found at end of line
 31 | ERROR   | [x] Missing function doc comment
 32 | ERROR   | [x] Short array syntax must be used to define arrays
----------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/src/Plugin/Shortcode/AccordionsShortcode.php
---------------------------------------------------------------------
FOUND 15 ERRORS AND 1 WARNING AFFECTING 11 LINES
---------------------------------------------------------------------
  3 | ERROR   | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment
 29 | WARNING | [ ] Line exceeds 80 characters; contains 127 characters
 30 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 30 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 30 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
 31 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 31 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 33 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 33 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 34 | ERROR   | [x] Array indentation error, expected 5 spaces but found 6
 35 | ERROR   | [x] Array indentation error, expected 5 spaces but found 6
 36 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 36 | ERROR   | [x] Expected 1 space before "=>"; 0 found
 37 | ERROR   | [x] Array closing indentation error, expected 3 spaces but found 4
 41 | ERROR   | [x] Missing function doc comment
 42 | ERROR   | [x] Short array syntax must be used to define arrays
---------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/src/Plugin/Shortcode/IconShortcode.php
--------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 10 LINES
--------------------------------------------------------------------
  8 | ERROR | [ ] Missing short description in doc comment
 19 | ERROR | [x] There must be no blank lines after the function comment
 22 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
 23 | ERROR | [x] Array indentation error, expected 5 spaces but found 6
 24 | ERROR | [x] Array indentation error, expected 5 spaces but found 6
 25 | ERROR | [x] Array indentation error, expected 5 spaces but found 6
 26 | ERROR | [x] Array closing indentation error, expected 3 spaces but found 4
 29 | ERROR | [x] Expected 1 blank line after function; 0 found
 30 | ERROR | [x] Missing function doc comment
 31 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/src/Plugin/Shortcode/ColumnShortcode.php
----------------------------------------------------------------------
FOUND 16 ERRORS AFFECTING 8 LINES
----------------------------------------------------------------------
  8 | ERROR | [ ] Missing short description in doc comment
 30 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6
 58 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 58 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
 58 | ERROR | [x] Missing function doc comment
 59 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 59 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
 59 | ERROR | [x] Short array syntax must be used to define arrays
 60 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 60 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
 61 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 61 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
 62 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
 62 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
 62 | ERROR | [x] Expected 1 blank line after function; 0 found
 63 | ERROR | [x] The closing brace for the class must have an empty line before it
----------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/src/Plugin/Shortcode/AccordionShortcode.php
--------------------------------------------------------------------
FOUND 30 ERRORS AND 1 WARNING AFFECTING 16 LINES
--------------------------------------------------------------------
  3 | ERROR   | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment
 20 | ERROR   | [x] Doc comment star missing
 30 | ERROR   | [x] Expected 1 space before "?"; 2 found
 31 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 31 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 31 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
 32 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 32 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 32 | ERROR   | [x] Expected 1 space after ".="; 0 found
 33 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 33 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 34 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 34 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 37 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 37 | ERROR   | [x] Expected 1 space before "=>"; 0 found
 38 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 38 | ERROR   | [x] Expected 1 space before "=>"; 0 found
 38 | ERROR   | [x] Expected 1 space after "=>"; 2 found
 39 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 39 | ERROR   | [x] Expected 1 space before "=>"; 0 found
 39 | ERROR   | [x] Expected 1 space after "=>"; 2 found
 40 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 40 | ERROR   | [x] Expected 1 space before "=>"; 0 found
 40 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
 43 | ERROR   | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
 45 | ERROR   | [x] Expected 1 blank line after function; 0 found
 46 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 46 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 1
 46 | ERROR   | [x] Missing function doc comment
 47 | ERROR   | [x] Short array syntax must be used to define arrays
 50 | ERROR   | [x] Closing brace indented incorrectly; expected 1 spaces, found 2
--------------------------------------------------------------------
PHPCBF CAN FIX THE 31 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/src/Plugin/Shortcode/JumbotronShortcode.php
--------------------------------------------------------------------
FOUND 18 ERRORS AND 1 WARNING AFFECTING 13 LINES
--------------------------------------------------------------------
  8 | ERROR   | [ ] Missing short description in doc comment
 21 | ERROR   | [x] Whitespace found at end of line
 22 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 22 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 23 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 24 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 25 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 25 | ERROR   | [x] Expected 1 space before "=>"; 0 found
 26 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 26 | ERROR   | [x] Expected 1 space before "=>"; 0 found
 26 | ERROR   | [x] Expected 1 space after "=>"; 0 found
 26 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
 26 | ERROR   | [x] Whitespace found at end of line
 27 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 30 | ERROR   | [x] Whitespace found at end of line
 31 | ERROR   | [x] Missing function doc comment
 32 | ERROR   | [x] Short array syntax must be used to define arrays
 35 | ERROR   | [x] Expected 1 blank line after function; 0 found
 36 | ERROR   | [x] The closing brace for the class must have an empty line before it
--------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/src/Plugin/Shortcode/HrShortcode.php
-------------------------------------------------------------------
FOUND 8 ERRORS AND 1 WARNING AFFECTING 8 LINES
-------------------------------------------------------------------
  8 | ERROR   | [ ] Missing short description in doc comment
 19 | ERROR   | [x] There must be no blank lines after the function comment
 20 | ERROR   | [x] Whitespace found at end of line
 22 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 22 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 3
 24 | WARNING | [x] A comma should follow the last multiline array item. Found: $attributes
 28 | ERROR   | [x] Expected 1 blank line after function; 0 found
 29 | ERROR   | [x] Missing function doc comment
 30 | ERROR   | [x] Short array syntax must be used to define arrays
-------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/src/Plugin/Shortcode/RowShortcode.php
-------------------------------------------------------------------
FOUND 15 ERRORS AND 1 WARNING AFFECTING 8 LINES
-------------------------------------------------------------------
 28 | WARNING | [x] A comma should follow the last multiline array item. Found: $text
 31 | ERROR   | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
 35 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 35 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 1
 35 | ERROR   | [x] Missing function doc comment
 36 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 36 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
 36 | ERROR   | [x] Short array syntax must be used to define arrays
 37 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 37 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
 38 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 38 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
 39 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 39 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 1
 39 | ERROR   | [x] Expected 1 blank line after function; 0 found
 40 | ERROR   | [x] The closing brace for the class must have an empty line before it
-------------------------------------------------------------------
PHPCBF CAN FIX THE 16 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------


FILE: ~/projects/drupal-d10/modules/contrib/advanced_shortcodes/src/Plugin/Shortcode/ProgressShortcode.php
-------------------------------------------------------------------
FOUND 15 ERRORS AND 1 WARNING AFFECTING 12 LINES
-------------------------------------------------------------------
  8 | ERROR   | [ ] Missing short description in doc comment
 21 | ERROR   | [x] Whitespace found at end of line
 23 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 23 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 2
 24 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 25 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 26 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 26 | ERROR   | [x] Expected 1 space before "=>"; 0 found
 26 | WARNING | [x] A comma should follow the last multiline array item. Found: $percent
 26 | ERROR   | [x] Whitespace found at end of line
 27 | ERROR   | [x] Spaces must be used to indent lines; tabs are not allowed
 29 | ERROR   | [x] Expected 1 blank line after function; 0 found
 30 | ERROR   | [x] Missing function doc comment
 31 | ERROR   | [x] Short array syntax must be used to define arrays
 34 | ERROR   | [x] Expected 1 blank line after function; 0 found
 35 | ERROR   | [x] The closing brace for the class must have an empty line before it
-------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------

Time: 116ms; Memory: 10MB

Steps to reproduce

phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml advanced_shortcodes 

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

    jayesh.makwana created an issue. See original summary.

    jayesh.makwana’s picture

    We create a patch for solving coding standard issues for this module. Please check and apply it.

    jayesh.makwana’s picture

    Status: Active » Needs review
    dipesh_goswami’s picture

    Hi,
    I am revieing your patch.
    Thanks

    dipesh_goswami’s picture

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

    Hi,
    Your patch applied cleanly.
    Only one issue left " 2 | ERROR | [x] Expected 1 newline at end of file; 0 found" :

    FILE: ...ibution-project\web\modules\contrib\advanced_shortcodes-2888504\README.txt
    --------------------------------------------------------------------------------
    FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------------
     1 | WARNING | [ ] File has mixed line endings; this may cause incorrect
       |         |     results
     1 | WARNING | [ ] File encoding is invalid, expected UTF-8
     1 | ERROR   | [ ] File contains UTF-16 (LE) byte order mark, which may corrupt
       |         |     your application
     2 | ERROR   | [x] Expected 1 newline at end of file; 0 found
    

    So, moving it to needs work.
    Thanks for your patch.

    nitin_lama’s picture

    This project is "Unsupported: Not supported (i.e. abandoned), and no longer being developed."
    See https://www.drupal.org/project/advanced_shortcodes

    yang_yi_cn’s picture

    I'm taking over this module and released a new version.
    I haven't run coding standard checks on it though. If someone can re-roll a patch against new version I'd be happy to apply it.

    yang_yi_cn’s picture

    Version: 8.x-1.0 » 2.0.x-dev
    kunalgautam’s picture

    StatusFileSize
    new15.05 KB

    patch for version 2.0.x-dev

    avpaderno’s picture

    The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, show which command has been used, which arguments have been used, and which report that command shown.

    avpaderno’s picture

    Title: Coding Standard issues » Fix the issues reported by phpcs
    rassoni’s picture

    Issue summary: View changes
    rassoni’s picture

    I am working on this

    avpaderno’s picture

    rassoni’s picture

    StatusFileSize
    new744.62 KB

    #9 path is failing on 2.0.x branch. Please check the screenshots for reference .

    rassoni’s picture

    Status: Needs work » Needs review
    StatusFileSize
    new15.42 KB
    new6.38 KB

    Fixed Failing patch. Please review.

    • 333052c6 committed on 2.0.x
      Issue #2888504 by rassoni: Fix the issues reported by phpcs
      
    yang_yi_cn’s picture

    yang_yi_cn’s picture

    Status: Needs review » Fixed
    yang_yi_cn’s picture

    Status: Fixed » Closed (fixed)