WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 6 weeks ago

#33655 closed enhancement (wontfix)

WordPress Coding Standards (top level files)

Reported by: Compute Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4
Component: General Keywords:
Focuses: coding-standards Cc:

Description

WordPress have had coding standards for some time now, but this is not something you can find in its own source code. This does not encourage developers to use the standards.

Some releases ago every hook in WordPress had been documented. Now I say that there should be some updates to the files in regards to coding standards.

As this is really a starter ticket, I would suggest on starting on the top level files (wp-load.php, wp-login.php, etc) as these has not been touched for some time.

Below is the errors from PHP codesniffer on the top level of the source code:

vagrant@vvv:/vagrant/www/wp-core $ phpcs --standard=WordPress-Core .

FILE: /vagrant/www/wp-core/index.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------
 14 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 14 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-activate.php
----------------------------------------------------------------------
FOUND 52 ERRORS AFFECTING 29 LINES
----------------------------------------------------------------------
  12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  16 | ERROR | [x] Expected 1 space after "!"; 0 found
  21 | ERROR | [x] Inline control structures are not allowed
  40 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  41 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  42 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  43 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  44 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  45 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  71 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  71 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  71 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  71 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  73 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  73 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  74 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  74 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  76 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  76 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  80 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  80 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  86 | ERROR | [x] Expected 1 space after "!"; 0 found
  86 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  86 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  88 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found
     |       |     2
  88 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  88 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  89 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found
     |       |     3
  92 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  92 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  96 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  96 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  98 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  98 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 103 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 103 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 111 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 111 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 114 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 114 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 115 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 115 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 118 | ERROR | [ ] Use Yoda Condition checks, you must
 119 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 119 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 120 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
 120 | ERROR | [x] Space between opening control structure and
     |       |     T_COLON is required
 121 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 121 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 121 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 124 | ERROR | [x] Line indented incorrectly; expected 0 tabs, found
     |       |     1
----------------------------------------------------------------------
PHPCBF CAN FIX THE 51 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-blog-header.php
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
  8 | ERROR | [x] Expected 1 space after "!"; 0 found
  8 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  8 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-comments-post.php
----------------------------------------------------------------------
FOUND 51 ERRORS AFFECTING 19 LINES
----------------------------------------------------------------------
   9 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
   9 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  10 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  10 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  11 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  11 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  16 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  16 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  20 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  20 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  22 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  22 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  37 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  37 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  39 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  39 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  92 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  92 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  92 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  92 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  92 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  92 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  93 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  93 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  93 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  93 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  94 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  94 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  94 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  94 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  95 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  95 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  95 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  95 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 100 | ERROR | [x] Inline control structures are not allowed
 101 | ERROR | [x] Expected 1 space before "="; 0 found
 101 | ERROR | [x] Expected 1 space after "="; 0 found
 121 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 121 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 121 | ERROR | [x] Expected 1 space after "!"; 0 found
 133 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 133 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 133 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 133 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 135 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 135 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 139 | ERROR | [x] String "<strong>ERROR</strong>: The comment could
     |       |     not be saved. Please try again later." does not
     |       |     require double quotes; use single quotes instead
 154 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 154 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 154 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 154 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 51 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-config-sample.php
----------------------------------------------------------------------
FOUND 40 ERRORS AFFECTING 18 LINES
----------------------------------------------------------------------
 23 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 23 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 26 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 26 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 29 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 29 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 32 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 32 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 35 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 35 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 38 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 38 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 49 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 49 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 50 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 50 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 51 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 51 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 52 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 52 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 53 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 53 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 54 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 54 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 55 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 55 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 56 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 56 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 80 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 80 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 85 | ERROR | [x] Inline control structures are not allowed
 85 | ERROR | [x] Expected 1 space after "!"; 0 found
 85 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 85 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 86 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 86 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 86 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 86 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 89 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 89 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 40 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-cron.php
----------------------------------------------------------------------
FOUND 33 ERRORS AFFECTING 18 LINES
----------------------------------------------------------------------
  12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  14 | ERROR | [x] Inline control structures are not allowed
  14 | ERROR | [x] Expected 1 space after "!"; 0 found
  14 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  14 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  14 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  14 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  14 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  14 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  22 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  22 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  24 | ERROR | [x] Expected 1 space after "!"; 0 found
  24 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  24 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  51 | ERROR | [x] Inline control structures are not allowed
  58 | ERROR | [x] Inline control structures are not allowed
  64 | ERROR | [x] Inline control structures are not allowed
  64 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  64 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  73 | ERROR | [ ] Array keys must NOT be surrounded by spaces if
     |       |     they only contain a string or an integer.
  75 | ERROR | [x] Inline control structures are not allowed
  80 | ERROR | [ ] Array keys must NOT be surrounded by spaces if
     |       |     they only contain a string or an integer.
  88 | ERROR | [x] Inline control structures are not allowed
  92 | ERROR | [x] Inline control structures are not allowed
 101 | ERROR | [ ] Use Yoda Condition checks, you must
 102 | ERROR | [x] Missing space after array opener.
 102 | ERROR | [x] Missing space before array closer.
 103 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 103 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 117 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
 120 | ERROR | [x] Inline control structures are not allowed
 126 | ERROR | [x] Inline control structures are not allowed
----------------------------------------------------------------------
PHPCBF CAN FIX THE 30 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-links-opml.php
----------------------------------------------------------------------
FOUND 55 ERRORS AND 3 WARNINGS AFFECTING 15 LINES
----------------------------------------------------------------------
 17 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 17 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 17 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 17 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 19 | ERROR   | [x] Expected 1 space after "!"; 0 found
 19 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 19 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 21 | ERROR   | [x] Inline control structures are not allowed
 21 | ERROR   | [x] Expected 1 space after "!"; 0 found
 21 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 21 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 21 | ERROR   | [x] Missing space after array opener.
 21 | ERROR   | [x] Missing space before array closer.
 22 | WARNING | [ ] No space after closing casting parenthesis is
    |         |     prohibited
 22 | ERROR   | [x] A cast statement must be followed by a single
    |         |     space
 22 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 22 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 29 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 29 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 29 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 29 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 29 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 29 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 30 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 30 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 30 | ERROR   | [x] String "D, d M Y H:i:s" does not require double
    |         |     quotes; use single quotes instead
 42 | ERROR   | [x] Inline control structures are not allowed
 42 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 42 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 43 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 43 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 43 | ERROR   | [x] Missing space after array opener.
 43 | ERROR   | [x] Missing space before array closer.
 44 | ERROR   | [x] Inline control structures are not allowed
 44 | ERROR   | [x] Expected 1 space after ELSE keyword; newline
    |         |     found
 45 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 45 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 45 | ERROR   | [x] Missing space after array opener.
 45 | ERROR   | [x] Missing space before array closer.
 47 | WARNING | [ ] No space after closing casting parenthesis is
    |         |     prohibited
 47 | ERROR   | [x] A cast statement must be followed by a single
    |         |     space
 58 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 58 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 60 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 60 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 60 | ERROR   | [x] Missing space after array opener.
 60 | ERROR   | [x] String "category" does not require double quotes;
    |         |     use single quotes instead
 60 | ERROR   | [x] Missing space before array closer.
 61 | ERROR   | [x] Line indented incorrectly; expected 0 tabs, found
    |         |     1
 61 | WARNING | [ ] No space after closing casting parenthesis is
    |         |     prohibited
 61 | ERROR   | [x] A cast statement must be followed by a single
    |         |     space
 71 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 71 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 71 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 71 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 71 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 71 | ERROR   | [x] Expected 1 spaces before closing bracket; 0 found
 71 | ERROR   | [x] Inline control structures are not allowed
----------------------------------------------------------------------
PHPCBF CAN FIX THE 55 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-load.php
----------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
 22 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 22 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 34 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 39 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 39 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 39 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 39 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 42 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 42 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 78 | ERROR | [x] String "Create a Configuration File" does not
    |       |     require double quotes; use single quotes instead
----------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-login.php
----------------------------------------------------------------------
FOUND 312 ERRORS AFFECTING 134 LINES
----------------------------------------------------------------------
  12 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  16 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  16 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  39 | ERROR | [x] Inline control structures are not allowed
  42 | ERROR | [x] Inline control structures are not allowed
  42 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  42 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  56 | ERROR | [x] Inline control structures are not allowed
  67 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  67 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  67 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  67 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  68 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  68 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 123 | ERROR | [x] Inline control structures are not allowed
 125 | ERROR | [x] Inline control structures are not allowed
 133 | ERROR | [x] Inline control structures are not allowed
 133 | ERROR | [x] Expected 1 space after "==="; 2 found
 136 | ERROR | [x] Expected 1 space after "="; 0 found
 165 | ERROR | [x] Inline control structures are not allowed
 165 | ERROR | [x] Expected 1 space after "!"; 0 found
 169 | ERROR | [x] Expected 1 space after "!"; 0 found
 170 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 170 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 171 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 171 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 180 | ERROR | [x] Inline control structures are not allowed
 182 | ERROR | [x] Inline control structures are not allowed
 182 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
 218 | ERROR | [x] Expected 1 space after closing parenthesis; found
     |       |     0
 218 | ERROR | [x] Space between opening control structure and
     |       |     T_COLON is required
 224 | ERROR | [x] Expected 1 space after "!"; 0 found
 224 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 224 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 248 | ERROR | [x] Inline control structures are not allowed
 284 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 284 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 284 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 284 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 287 | ERROR | [x] Inline control structures are not allowed
 288 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 288 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 288 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 288 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 290 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 290 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 291 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 291 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 301 | ERROR | [x] Inline control structures are not allowed
 304 | ERROR | [x] Expected 1 space after "!"; 0 found
 305 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 305 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 305 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 305 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 343 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 343 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 369 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 369 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 371 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 371 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 371 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 371 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 372 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 372 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 373 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 373 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 374 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 374 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 374 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 374 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 376 | ERROR | [x] Inline control structures are not allowed
 378 | ERROR | [x] Inline control structures are not allowed
 378 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
 383 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 383 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 383 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 383 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 385 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 385 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 409 | ERROR | [x] Inline control structures are not allowed
 409 | ERROR | [x] Expected 1 space after "!"; 0 found
 410 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 410 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 410 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 410 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 419 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 419 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 422 | ERROR | [x] Inline control structures are not allowed
 422 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 422 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 426 | ERROR | [x] Inline control structures are not allowed
 426 | ERROR | [x] Expected 1 space after "!"; 0 found
 431 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 431 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 431 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 431 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 431 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 431 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 434 | ERROR | [x] Inline control structures are not allowed
 438 | ERROR | [x] Inline control structures are not allowed
 438 | ERROR | [ ] Use Yoda Condition checks, you must
 445 | ERROR | [x] Inline control structures are not allowed
 466 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 466 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 468 | ERROR | [x] No space after opening parenthesis is prohibited
 468 | ERROR | [x] No space before closing parenthesis is prohibited
 470 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found
     |       |     0
 471 | ERROR | [x] Line indented incorrectly; expected at least 2
     |       |     tabs, found 1
 472 | ERROR | [x] Line indented incorrectly; expected at least 2
     |       |     tabs, found 1
 474 | ERROR | [x] Line indented incorrectly; expected at least 2
     |       |     tabs, found 1
 484 | ERROR | [x] Line indented incorrectly; expected at least 2
     |       |     tabs, found 1
 485 | ERROR | [x] Line indented incorrectly; expected at least 2
     |       |     tabs, found 1
 486 | ERROR | [x] Line indented incorrectly; expected at least 2
     |       |     tabs, found 1
 488 | ERROR | [x] Line indented incorrectly; expected at least 2
     |       |     tabs, found 1
 492 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 492 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 523 | ERROR | [x] Expected 1 space after "!"; 0 found
 523 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 523 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 524 | ERROR | [x] Expected 1 space after "!"; 0 found
 555 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 555 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 555 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 555 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 555 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 555 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 557 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 557 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 557 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 557 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 563 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 563 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 564 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 564 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 574 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 574 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 578 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 578 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 590 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 590 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 616 | ERROR | [x] Inline control structures are not allowed
 618 | ERROR | [x] Inline control structures are not allowed
 618 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
 625 | ERROR | [x] Inline control structures are not allowed
 625 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 625 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 638 | ERROR | [x] Expected 1 space after "!"; 0 found
 639 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 639 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 646 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 646 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 647 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 647 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 649 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 649 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 649 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 649 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 649 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 656 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 656 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 665 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 665 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 683 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 683 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 699 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 699 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 715 | ERROR | [x] Expected 1 space after "!"; 0 found
 715 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 715 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 716 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 716 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 725 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 725 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 726 | ERROR | [x] Expected 1 space after "!"; 0 found
 726 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 726 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 727 | ERROR | [x] Expected 1 space after "!"; 0 found
 742 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 742 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 742 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 742 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 742 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 742 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 745 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 745 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 747 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 747 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 748 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 748 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 748 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 748 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 751 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 751 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 765 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 765 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 774 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 774 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 781 | ERROR | [x] Inline control structures are not allowed
 785 | ERROR | [x] Expected 1 space after "!"; 0 found
 785 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 785 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 785 | ERROR | [x] Expected 1 space after "!"; 0 found
 786 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 786 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 787 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 787 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 788 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 788 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 790 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 790 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 798 | ERROR | [x] Inline control structures are not allowed
 798 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 798 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 799 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 799 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 804 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 804 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 811 | ERROR | [x] Multi-line function call not indented correctly;
     |       |     expected 12 spaces but found 16
 815 | ERROR | [x] Multi-line function call not indented correctly;
     |       |     expected 12 spaces but found 16
 831 | ERROR | [x] Expected 1 space after "!"; 0 found
 831 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 831 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 831 | ERROR | [x] Expected 1 space after "!"; 0 found
 833 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 833 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 847 | ERROR | [ ] Use Yoda Condition checks, you must
 847 | ERROR | [ ] Use Yoda Condition checks, you must
 849 | ERROR | [x] Inline control structures are not allowed
 849 | ERROR | [x] Expected 1 space after "!"; 0 found
 849 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 849 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 849 | ERROR | [x] Expected 1 space after "!"; 0 found
 851 | ERROR | [x] Expected 1 space after "!"; 0 found
 851 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 851 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 853 | ERROR | [x] Expected 1 space after "!"; 0 found
 853 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 853 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 854 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 854 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 856 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 856 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 862 | ERROR | [x] Inline control structures are not allowed
 862 | ERROR | [x] Expected 1 space after "!"; 0 found
 862 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 862 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 866 | ERROR | [x] Inline control structures are not allowed
 867 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 867 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 867 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 867 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 870 | ERROR | [x] Inline control structures are not allowed
 870 | ERROR | [x] Expected 1 space after IF keyword; 6 found
 870 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 870 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 871 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 871 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 871 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 871 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 872 | ERROR | [x] Expected 1 space after ELSEIF keyword; 2 found
 872 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 872 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 873 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 873 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 873 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 873 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 874 | ERROR | [x] Expected 1 space after ELSEIF keyword; 2 found
 874 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 874 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 875 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 875 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 875 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 875 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 876 | ERROR | [x] Expected 1 space after ELSEIF keyword; 2 found
 876 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 876 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 877 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 877 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 877 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 877 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 878 | ERROR | [x] Expected 1 space after ELSEIF keyword; 2 found
 878 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 878 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 879 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 879 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 879 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 879 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 881 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 895 | ERROR | [x] Inline control structures are not allowed
 898 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 898 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 898 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 898 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 900 | ERROR | [x] Inline control structures are not allowed
 900 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 900 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 901 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 901 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 901 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 901 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 913 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 913 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 917 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 917 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 928 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 928 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 930 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 930 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 934 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 934 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 978 | ERROR | [x] Expected 1 space after "!"; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 309 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-mail.php
----------------------------------------------------------------------
FOUND 232 ERRORS AFFECTING 87 LINES
----------------------------------------------------------------------
  11 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  11 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  11 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  11 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  14 | ERROR | [x] Inline control structures are not allowed
  28 | ERROR | [x] Inline control structures are not allowed
  28 | ERROR | [x] Expected 1 space after "!"; 0 found
  28 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  28 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  29 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  29 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  31 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  31 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  33 | ERROR | [x] Inline control structures are not allowed
  34 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  34 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  34 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  34 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  36 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  36 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  38 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  38 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  44 | ERROR | [x] Inline control structures are not allowed
  44 | ERROR | [x] Expected 1 space after "!"; 0 found
  44 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  44 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  44 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  44 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  44 | ERROR | [x] Expected 1 space after "!"; 0 found
  44 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  44 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  47 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  47 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  49 | ERROR | [x] Inline control structures are not allowed
  49 | ERROR | [x] Expected 1 space after IF keyword; 0 found
  49 | ERROR | [x] Space after opening control structure is required
  52 | ERROR | [x] Expected 1 space after IF keyword; 0 found
  52 | ERROR | [x] Space after opening control structure is required
  52 | ERROR | [x] No space before opening parenthesis is prohibited
  54 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  54 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  59 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  59 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  69 | ERROR | [x] Missing space after array opener.
  69 | ERROR | [x] Missing space before array closer.
  70 | ERROR | [x] No space after opening parenthesis is prohibited
  70 | ERROR | [x] No space before closing parenthesis is prohibited
  72 | ERROR | [x] Inline control structures are not allowed
  72 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  72 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  77 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  77 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  78 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  78 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  79 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  79 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  79 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  79 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  80 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  80 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  82 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  82 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  83 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  83 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  87 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  87 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  88 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  88 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  89 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  89 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  89 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  89 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  90 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  90 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  93 | ERROR | [ ] Use Yoda Condition checks, you must
  93 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  93 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  94 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  94 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  95 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  95 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  98 | ERROR | [x] No space after opening parenthesis is prohibited
  98 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  98 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  98 | ERROR | [x] No space before closing parenthesis is prohibited
  99 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  99 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 100 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 100 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 100 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 100 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 102 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 102 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 103 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 103 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 103 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 103 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 105 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 105 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 107 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 107 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 116 | ERROR | [x] Inline control structures are not allowed
 116 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 116 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 118 | ERROR | [x] Inline control structures are not allowed
 118 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
 119 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 119 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 120 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 120 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 121 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 121 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 122 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 122 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 122 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 122 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 123 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 123 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 131 | ERROR | [x] No space after opening parenthesis is prohibited
 131 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 131 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 131 | ERROR | [x] No space before closing parenthesis is prohibited
 132 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 132 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 133 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 133 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 134 | ERROR | [x] No space after opening parenthesis is prohibited
 134 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 134 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 134 | ERROR | [x] No space before closing parenthesis is prohibited
 135 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 135 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 135 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 135 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 135 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 135 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 135 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 135 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 137 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 137 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 138 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 138 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 148 | ERROR | [ ] Array keys must be surrounded by spaces unless
     |       |     they contain a string or an integer.
 149 | ERROR | [x] Expected 1 space before "+"; 0 found
 149 | ERROR | [x] Expected 1 space after "+"; 0 found
 153 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 153 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 154 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 154 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 156 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 156 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 157 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 157 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 164 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 164 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 165 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 165 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 171 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 171 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 173 | ERROR | [ ] Use Yoda Condition checks, you must
 174 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 174 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 178 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 179 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 179 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 182 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 182 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 184 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 184 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 198 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 198 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 198 | ERROR | [x] String "quoted-printable" does not require double
     |       |     quotes; use single quotes instead
 199 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 199 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 202 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 202 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 203 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 203 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 203 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 203 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 207 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 207 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 210 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 210 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 221 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 221 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 223 | ERROR | [x] Inline control structures are not allowed
 223 | ERROR | [ ] Use Yoda Condition checks, you must
 225 | ERROR | [x] Missing space after array opener.
 225 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 225 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 225 | ERROR | [x] Missing space before array closer.
 227 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 227 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 228 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 228 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 230 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 230 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 231 | ERROR | [x] Inline control structures are not allowed
 235 | ERROR | [x] Inline control structures are not allowed
 247 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 247 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 247 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 247 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 247 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 247 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 248 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 248 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 248 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 248 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 248 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 248 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 250 | ERROR | [x] Expected 1 space after IF keyword; 0 found
 250 | ERROR | [x] Space after opening control structure is required
 250 | ERROR | [x] No space before opening parenthesis is prohibited
 250 | ERROR | [x] No space after opening parenthesis is prohibited
 250 | ERROR | [x] Expected 1 space before "!"; 0 found
 250 | ERROR | [x] Expected 1 space after "!"; 0 found
 250 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 250 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 250 | ERROR | [x] No space before closing parenthesis is prohibited
 251 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 251 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 251 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 251 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 251 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 251 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 255 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 255 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 255 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 255 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 256 | ERROR | [x] Blank line found after control structure
----------------------------------------------------------------------
PHPCBF CAN FIX THE 228 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-settings.php
----------------------------------------------------------------------
FOUND 13 ERRORS AND 3 WARNINGS AFFECTING 13 LINES
----------------------------------------------------------------------
  39 | WARNING | [ ] Silencing errors is discouraged
  40 | WARNING | [ ] Silencing errors is discouraged
  64 | ERROR   | [x] Inline control structures are not allowed
  65 | WARNING | [ ] Silencing errors is discouraged
 102 | ERROR   | [x] Inline control structures are not allowed
 191 | ERROR   | [x] Inline control structures are not allowed
 192 | ERROR   | [x] Expected 1 spaces after opening bracket; 2 found
 192 | ERROR   | [x] Expected 1 spaces before closing bracket; 2
     |         |     found
 226 | ERROR   | [x] Inline control structures are not allowed
 302 | ERROR   | [x] Expected 1 spaces after opening bracket; 2 found
 302 | ERROR   | [x] Expected 1 spaces before closing bracket; 2
     |         |     found
 309 | ERROR   | [x] Inline control structures are not allowed
 325 | ERROR   | [x] Inline control structures are not allowed
 327 | ERROR   | [x] Inline control structures are not allowed
 360 | ERROR   | [x] Expected 1 spaces after opening bracket; 0 found
 360 | ERROR   | [x] Expected 1 spaces before closing bracket; 0
     |         |     found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-signup.php
----------------------------------------------------------------------
FOUND 182 ERRORS AFFECTING 88 LINES
----------------------------------------------------------------------
   4 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
   4 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  10 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  10 | ERROR | [ ] Array keys must NOT be surrounded by spaces if
     |       |     they only contain a string or an integer.
  10 | ERROR | [ ] Array keys must NOT be surrounded by spaces if
     |       |     they only contain a string or an integer.
  30 | ERROR | [x] Expected 1 space after "!"; 0 found
  31 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  31 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  35 | ERROR | [x] Expected 1 space after "!"; 0 found
  93 | ERROR | [x] Inline control structures are not allowed
  93 | ERROR | [x] Expected 1 space after "!"; 0 found
  94 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  94 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  95 | ERROR | [x] Inline control structures are not allowed
  95 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
  96 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  96 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  98 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  98 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 102 | ERROR | [x] Inline control structures are not allowed
 102 | ERROR | [x] Expected 1 space after "!"; 0 found
 103 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 103 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 104 | ERROR | [x] Inline control structures are not allowed
 104 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
 105 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 105 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 107 | ERROR | [x] Expected 1 space after "!"; 0 found
 108 | ERROR | [x] Inline control structures are not allowed
 108 | ERROR | [x] Expected 1 space after "!"; 0 found
 110 | ERROR | [x] Inline control structures are not allowed
 110 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
 112 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 112 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 117 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 117 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 118 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 118 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 121 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 121 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 126 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 126 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 130 | ERROR | [x] Expected 1 space after "!"; 0 found
 130 | ERROR | [ ] Use Yoda Condition checks, you must
 134 | ERROR | [ ] Use Yoda Condition checks, you must
 160 | ERROR | [x] Inline control structures are not allowed
 163 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 163 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 177 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 177 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 178 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 178 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 181 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 181 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 186 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 186 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 189 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 189 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 189 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 189 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 191 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 191 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 212 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 212 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 227 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 227 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 234 | ERROR | [x] Each line in an array declaration must end in a
     |       |     comma
 265 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 265 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 266 | ERROR | [x] Expected 1 space after "!"; 0 found
 266 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 266 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 273 | ERROR | [x] Line indented incorrectly; expected 0 tabs, found
     |       |     4
 291 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 291 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 322 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 322 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 330 | ERROR | [x] Each line in an array declaration must end in a
     |       |     comma
 357 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 357 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 376 | ERROR | [x] String "http://" does not require double quotes;
     |       |     use single quotes instead
 376 | ERROR | [x] String "wp-login.php" does not require double
     |       |     quotes; use single quotes instead
 399 | ERROR | [x] Inline control structures are not allowed
 399 | ERROR | [x] Expected 1 space after "!"; 0 found
 399 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 399 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 402 | ERROR | [ ] Array keys must NOT be surrounded by spaces if
     |       |     they only contain a string or an integer.
 402 | ERROR | [ ] Array keys must NOT be surrounded by spaces if
     |       |     they only contain a string or an integer.
 437 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 437 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 440 | ERROR | [ ] Use Yoda Condition checks, you must
 442 | ERROR | [ ] Use Yoda Condition checks, you must
 446 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 446 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 449 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 449 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 453 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 453 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 472 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 472 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 477 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 477 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 484 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 484 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 498 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 519 | ERROR | [x] Inline control structures are not allowed
 519 | ERROR | [x] Expected 1 space after "!"; 0 found
 519 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 519 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 527 | ERROR | [x] Each line in an array declaration must end in a
     |       |     comma
 553 | ERROR | [x] Inline control structures are not allowed
 553 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 553 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 558 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 558 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 559 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 559 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 564 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 564 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 565 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 565 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 597 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 597 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 602 | ERROR | [x] There must be no space between the "array" keyword
     |       |     and the opening parenthesis
 602 | ERROR | [x] Missing space after array opener.
 602 | ERROR | [x] Missing space before array closer.
 607 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 607 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 608 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 608 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 629 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 658 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 658 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 659 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 659 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 660 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 660 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 661 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 661 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 663 | ERROR | [x] Inline control structures are not allowed
 664 | ERROR | [ ] Array keys must be surrounded by spaces unless
     |       |     they contain a string or an integer.
 666 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 666 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 666 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 666 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 666 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 666 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 669 | ERROR | [ ] Use Yoda Condition checks, you must
 671 | ERROR | [ ] Use Yoda Condition checks, you must
 671 | ERROR | [x] Expected 1 space after "!"; 0 found
 678 | ERROR | [x] Inline control structures are not allowed
 678 | ERROR | [ ] Use Yoda Condition checks, you must
 678 | ERROR | [ ] Array keys must NOT be surrounded by spaces if
     |       |     they only contain a string or an integer.
 678 | ERROR | [ ] Use Yoda Condition checks, you must
 678 | ERROR | [ ] Use Yoda Condition checks, you must
 678 | ERROR | [ ] Array keys must NOT be surrounded by spaces if
     |       |     they only contain a string or an integer.
 678 | ERROR | [ ] Use Yoda Condition checks, you must
 678 | ERROR | [ ] Use Yoda Condition checks, you must
 680 | ERROR | [x] Inline control structures are not allowed
 680 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
 684 | ERROR | [x] Inline control structures are not allowed
 684 | ERROR | [ ] Use Yoda Condition checks, you must
 684 | ERROR | [ ] Use Yoda Condition checks, you must
 686 | ERROR | [x] Inline control structures are not allowed
 686 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
 694 | ERROR | [ ] Array keys must NOT be surrounded by spaces if
     |       |     they only contain a string or an integer.
 694 | ERROR | [ ] Array keys must NOT be surrounded by spaces if
     |       |     they only contain a string or an integer.
 701 | ERROR | [x] Inline control structures are not allowed
 701 | ERROR | [ ] Use Yoda Condition checks, you must
 701 | ERROR | [ ] Use Yoda Condition checks, you must
 702 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 702 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 703 | ERROR | [ ] Use Yoda Condition checks, you must
 703 | ERROR | [ ] Use Yoda Condition checks, you must
 705 | ERROR | [ ] Use Yoda Condition checks, you must
 707 | ERROR | [x] Inline control structures are not allowed
 707 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
 713 | ERROR | [x] Inline control structures are not allowed
 713 | ERROR | [ ] Use Yoda Condition checks, you must
 713 | ERROR | [ ] Use Yoda Condition checks, you must
 715 | ERROR | [x] Inline control structures are not allowed
 715 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 153 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/wp-trackback.php
----------------------------------------------------------------------
FOUND 110 ERRORS AFFECTING 39 LINES
----------------------------------------------------------------------
  11 | ERROR | [x] No space after opening parenthesis is prohibited
  11 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  11 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  11 | ERROR | [x] No space before closing parenthesis is prohibited
  28 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  28 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  28 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  29 | ERROR | [x] No space after opening parenthesis is prohibited
  29 | ERROR | [x] No space before closing parenthesis is prohibited
  34 | ERROR | [x] String "</response>" does not require double
     |       |     quotes; use single quotes instead
  40 | ERROR | [x] String "</response>" does not require double
     |       |     quotes; use single quotes instead
  47 | ERROR | [x] Expected 1 space after "!"; 0 found
  47 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  47 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  47 | ERROR | [x] Expected 1 space after "!"; 0 found
  48 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  48 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  49 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  49 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  52 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  52 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  53 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  53 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  56 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  56 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  56 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  56 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  57 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  57 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  57 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  57 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  58 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  58 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  58 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  58 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  60 | ERROR | [x] Inline control structures are not allowed
  61 | ERROR | [x] Missing space after array opener.
  61 | ERROR | [x] Missing space before array closer.
  61 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  61 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  62 | ERROR | [x] Inline control structures are not allowed
  62 | ERROR | [x] Expected 1 space after ELSE keyword; newline found
  66 | ERROR | [x] Inline control structures are not allowed
  66 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  66 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  70 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  70 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  71 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  71 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  71 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  71 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  72 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  72 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  72 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  72 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  73 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  73 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  73 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  73 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  77 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  77 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  78 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  78 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  79 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  79 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  81 | ERROR | [x] Inline control structures are not allowed
  84 | ERROR | [x] Inline control structures are not allowed
  84 | ERROR | [x] Expected 1 space after "!"; 0 found
  84 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  84 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  84 | ERROR | [x] Expected 1 space after "!"; 0 found
  85 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  85 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  87 | ERROR | [x] No space after opening parenthesis is prohibited
  87 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  87 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  87 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  87 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  87 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  87 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  87 | ERROR | [x] No space before closing parenthesis is prohibited
  89 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  89 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  89 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  89 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  93 | ERROR | [x] Expected 1 space after "!"; 0 found
  93 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  93 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  93 | ERROR | [x] Expected 1 space after "!"; 0 found
  93 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  93 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  94 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  94 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  94 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  96 | ERROR | [x] Inline control structures are not allowed
  96 | ERROR | [x] Expected 1 space after "!"; 0 found
  96 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  96 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  97 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  97 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  99 | ERROR | [x] Expected 1 space after "="; 2 found
 109 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 109 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 110 | ERROR | [x] Inline control structures are not allowed
 111 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 111 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 113 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 113 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
 115 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
 115 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 110 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /vagrant/www/wp-core/xmlrpc.php
----------------------------------------------------------------------
FOUND 47 ERRORS AFFECTING 27 LINES
----------------------------------------------------------------------
  13 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  13 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  20 | ERROR | [x] Expected 1 space after "!"; 0 found
  25 | ERROR | [x] Inline control structures are not allowed
  25 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  25 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  26 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  26 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  32 | ERROR | [x] Line indented incorrectly; expected at least 1
     |       |     tabs, found 0
  32 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  32 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  32 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  32 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  34 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  34 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  39 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  39 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  41 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  41 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  42 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  42 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  43 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  43 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  44 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  44 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  45 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found
     |       |     1
  46 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  46 | ERROR | [x] Line indented incorrectly; expected at least 2
     |       |     tabs, found 1
  47 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  48 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  49 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  51 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  52 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  53 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  53 | ERROR | [x] Line indented incorrectly; expected at least 2
     |       |     tabs, found 1
  54 | ERROR | [x] Tabs must be used to indent lines; spaces are not
     |       |     allowed
  54 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found
     |       |     1
  62 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  62 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  63 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  63 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  64 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found
  64 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found
  71 | ERROR | [x] String "" does not require double quotes; use
     |       |     single quotes instead
  97 | ERROR | [ ] Function name "logIO" is in camel caps format, try
     |       |     'log_i_o'
  99 | ERROR | [x] Inline control structures are not allowed
 101 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------

Change History (3)

#1 @DrewAPicture
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Hi @Compute,

As a matter of core philosophy, we don't refactor for the sake of refactoring, even if means to only bring code in line with our coding standards.

I don't know that I would consider the hook documentation effort to be a valid parallel as we essentially introduced a great deal of new documentation – for which we actually introduced a php inline documentation standard. It's a lot easier to do these things from the very beginning, unfortunately.

There's a very informative post about core philosophy on refactoring on the core development blog that's worth a read: https://make.wordpress.org/core/2011/03/23/code-refactoring/

Thanks for the suggestion.

#2 @grapplerulrich
13 months ago

Related to this #34694

#3 @GaryJ
6 weeks ago

  • Focuses coding-standards added
Note: See TracTickets for help on using tickets.