Issue Task Closed

#38564Fix CGL violations against Squiz.WhiteSpace.SemicolonSpacing in JS files

Andy Grunwald 07/02/12, 18:32 updated 10/23/17, 22:15

Description

FILE: ...wald/Development/TYPO3/typo3_src-git/t3lib/js/extjs/ux/ext.resizable.js
--------------------------------------------------------------------------------
FOUND 3 ERROR(S) AFFECTING 3 LINE(S)
--------------------------------------------------------------------------------
  968 | ERROR | Space found before semicolon; expected "options;" but found
      |       | "options ;"
 1015 | ERROR | Space found before semicolon; expected "maxHeight;" but found
      |       | "maxHeight ;"
 1019 | ERROR | Space found before semicolon; expected "minHeight;" but found
      |       | "minHeight ;"
--------------------------------------------------------------------------------

FILE: .../Development/TYPO3/typo3_src-git/typo3/js/extjs/backendcontentiframe.js
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
 65 | ERROR | Space found before semicolon; expected "};" but found "}
        ;"
--------------------------------------------------------------------------------

FILE: /Users/andygrunwald/Development/TYPO3/typo3_src-git/typo3/js/tabmenu.js
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
 35 | ERROR | Space found before semicolon; expected "length;" but found
    |       | "length ;"
--------------------------------------------------------------------------------

FILE: ...pment/TYPO3/typo3_src-git/typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js
--------------------------------------------------------------------------------
FOUND 2 ERROR(S) AFFECTING 2 LINE(S)
--------------------------------------------------------------------------------
 2865 | ERROR | Space found before semicolon; expected ");" but found ") ;"
 3401 | ERROR | Space found before semicolon; expected "0;" but found "0 ;"
--------------------------------------------------------------------------------

FILE: ...c-git/typo3/sysext/rtehtmlarea/htmlarea/plugins/CopyPaste/copy-paste.js
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
 399 | ERROR | Space found before semicolon; expected "n;" but found "n ;"
--------------------------------------------------------------------------------

FILE: ...sysext/rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js
--------------------------------------------------------------------------------
FOUND 5 ERROR(S) AFFECTING 5 LINE(S)
--------------------------------------------------------------------------------
 1505 | ERROR | Space found before semicolon; expected "0;" but found "0 ;"
 1533 | ERROR | Space found before semicolon; expected "0;" but found "0 ;"
 1543 | ERROR | Space found before semicolon; expected "0;" but found "0 ;"
 1603 | ERROR | Space found before semicolon; expected "0;" but found "0 ;"
 1610 | ERROR | Space found before semicolon; expected "0;" but found "0 ;"
--------------------------------------------------------------------------------

FILE: ...t/typo3/sysext/t3editor/res/jslib/ts_codecompletion/tscodecompletion.js
--------------------------------------------------------------------------------
FOUND 2 ERROR(S) AFFECTING 2 LINE(S)
--------------------------------------------------------------------------------
 137 | ERROR | Space found before semicolon; expected "length;" but found
     |       | "length ;"
 213 | ERROR | Space found before semicolon; expected "0;" but found "0 ;"
--------------------------------------------------------------------------------

Time: 07:00, Memory: 106.00Mb

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.