Skip to content

Instantly share code, notes, and snippets.

@AlanBreck
Last active March 10, 2020 22:23
Show Gist options
  • Save AlanBreck/296c6a2a9ef388dd23a9d776713d321f to your computer and use it in GitHub Desktop.
Save AlanBreck/296c6a2a9ef388dd23a9d776713d321f to your computer and use it in GitHub Desktop.
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/tmpl/configuration.tmpl.php
--------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AND 1 WARNING AFFECTING 11 LINES
--------------------------------------------------------------------------------------------------------
4 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '$template_enabled'.
6 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '__'.
6 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '$plugin_name'.
8 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '__'.
9 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '$author'.
12 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
18 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '$template_disabled'.
20 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '__'.
20 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '$plugin_name'.
22 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '__'.
23 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '$author'.
26 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/tmpl/notification.tmpl.php
--------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------
8 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$url'.
18 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
25 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$notification['content']'.
--------------------------------------------------------------------------------------------------------
FILE: ...coblamont/Sites/phpsniffer/plugins/autoupdater/tmpl/configuration_form_autoupdater_fields.tmpl.php
--------------------------------------------------------------------------------------------------------
FOUND 40 ERRORS AFFECTING 38 LINES
--------------------------------------------------------------------------------------------------------
6 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
12 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
16 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
19 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
83 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
90 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
91 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
97 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$slug'.
98 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$slug'.
99 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$slug'.
102 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$item['name']'.
102 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$slug'.
161 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
168 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$key'.
168 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$item'.
173 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
179 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
186 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
193 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
198 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
202 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
205 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
211 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
218 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
219 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$author'.
225 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
230 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
234 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
237 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
243 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
248 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
252 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
255 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
261 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
266 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
270 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
273 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
280 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
285 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found 'htmlspecialchars'.
288 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
--------------------------------------------------------------------------------------------------------
FILE: .../jacoblamont/Sites/phpsniffer/plugins/autoupdater/tmpl/configuration_form_advanced_fields.tmpl.php
--------------------------------------------------------------------------------------------------------
FOUND 18 ERRORS AFFECTING 18 LINES
--------------------------------------------------------------------------------------------------------
6 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
11 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$worker_token'.
14 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
21 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
26 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$aes_key'.
29 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
36 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
43 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
48 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
51 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
58 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
65 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
70 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
73 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
80 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
87 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
92 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
95 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/tmpl/configuration_form.tmpl.php
--------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
--------------------------------------------------------------------------------------------------------
7 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found 'admin_url'.
13 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
19 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
32 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
34 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
50 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
55 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
58 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
61 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
64 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/tmpl/offline.tmpl.php
--------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------
4 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
30 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
31 | ERROR | All output should be run through an escaping function (like esc_html_e() or
| | esc_attr_e()), found '_e'.
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/app/Whitelabelling.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------
112 | ERROR | All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '$login_page_text'.
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/app/Admin.php
--------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AND 10 WARNINGS AFFECTING 16 LINES
--------------------------------------------------------------------------------------------------------
302 | ERROR | Detected usage of a non-sanitized input variable: $_POST['notification_emails']
306 | ERROR | Detected usage of a non-sanitized input variable: $_POST['notification_emails']
315 | ERROR | Detected usage of a non-sanitized input variable: $_POST['sitemap_url']
315 | ERROR | Detected usage of a non-sanitized input variable: $_POST['sitemap_url']
324 | ERROR | Detected usage of a non-sanitized input variable: $_POST['excluded_plugins']
326 | ERROR | Detected usage of a non-sanitized input variable: $_POST['excluded_themes']
328 | ERROR | Detected usage of a non-sanitized input variable: $_POST['sitemap_url']
331 | ERROR | Detected usage of a non-sanitized input variable: $_POST['notification_emails']
334 | ERROR | Detected usage of a non-sanitized input variable: $_POST['vrt_css_exclusions']
338 | ERROR | Detected usage of a non-sanitized input variable: $_POST['worker_token']
341 | ERROR | Detected usage of a non-sanitized input variable: $_POST['aes_key']
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/autoupdater.php
--------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------
53 | ERROR | Detected usage of a non-sanitized input variable: $_SERVER['SCRIPT_FILENAME']
91 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '__'.
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Init.php
-------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------
6 | ERROR | Detected usage of a non-sanitized input variable: $_REQUEST['wpe_callback']
-------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Authentication.php
--------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------
33 | ERROR | Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_METHOD']
40 | ERROR | Detected usage of a possibly undefined superglobal array index:
| | $_REQUEST['wpe_signature']. Use isset() or empty() to check the index exists before
| | using it
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Response.php
--------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------
264 | ERROR | All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '$this'.
266 | ERROR | All output should be run through an escaping function (see the Security sections in
| | the WordPress Developer Handbooks), found '$this'.
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Config.php
----------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------
123 | ERROR | Use placeholders and $wpdb->prepare(); found $this
123 | ERROR | Use placeholders and $wpdb->prepare(); found prefix
----------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Request.php
--------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------------
64 | ERROR | Detected usage of a non-sanitized input variable: $_SERVER['HTTP_HOST']
65 | ERROR | Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI']
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Db.php
------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------
50 | ERROR | Use placeholders and $wpdb->prepare(); found $sql
62 | ERROR | Use placeholders and $wpdb->prepare(); found $sql
------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Task/GetEnvironment.php
--------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
20 | ERROR | Detected usage of a non-sanitized input variable: $_SERVER['SERVER_SOFTWARE']
--------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Filemanager.php
--------------------------------------------------------------------------------------------------------
FOUND 13 ERRORS AND 1 WARNING AFFECTING 14 LINES
--------------------------------------------------------------------------------------------------------
10 | ERROR | Visibility must be declared on property "$wp_filesystem"
166 | ERROR | Filesystem writes are forbidden, please do not use chgrp().
170 | ERROR | Filesystem writes are forbidden, please do not use chgrp().
212 | ERROR | Filesystem writes are forbidden, please do not use chmod().
248 | ERROR | Filesystem writes are forbidden, please do not use chown().
252 | ERROR | Filesystem writes are forbidden, please do not use chown().
388 | ERROR | Filesystem writes are forbidden, please do not use rename().
424 | ERROR | Filesystem writes are forbidden, please do not use unlink().
428 | ERROR | Filesystem writes are forbidden, please do not use rmdir().
444 | ERROR | Filesystem writes are forbidden, please do not use rmdir().
528 | ERROR | Filesystem writes are forbidden, please do not use is_writable().
602 | ERROR | Filesystem writes are forbidden, please do not use touch().
771 | ERROR | `opcache_reset` is prohibited on the WordPress VIP platform due to memory corruption.
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Installer.php
-------------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 2 LINES
-------------------------------------------------------------------------------
124 | ERROR | [x] Expected 1 space before opening brace; found 0
-------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Api.php
--------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 8 WARNINGS AFFECTING 9 LINES
--------------------------------------------------------------------------------------------------------
40 | ERROR | Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_METHOD']
61 | ERROR | Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_METHOD']
171 | ERROR | Overriding WordPress globals is prohibited. Found assignment to $pagenow
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/Helper/Version.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------
16 | ERROR | [x] Opening brace must be the last content on the line
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------
FILE: /Users/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/vendor/composer/autoload_static.php
-----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------
9 | ERROR | [x] There must be no space between the "array" keyword and the opening parenthesis
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: ...amont/Sites/phpsniffer/plugins/autoupdater/lib/vendor/paragonie/random_compat/other/build_phar.php
--------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES
--------------------------------------------------------------------------------------------------------
7 | ERROR | Filesystem writes are forbidden, please do not use unlink().
14 | ERROR | Filesystem writes are forbidden, please do not use rename().
19 | ERROR | Filesystem writes are forbidden, please do not use rename().
32 | ERROR | All output should be run through an escaping function (see the Security sections in the
| | WordPress Developer Handbooks), found '$argv[1]'.
--------------------------------------------------------------------------------------------------------
FILE: ...blamont/Sites/phpsniffer/plugins/autoupdater/lib/vendor/paragonie/random_compat/psalm-autoload.php
--------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------------------------------------
3 | ERROR | Absolute include path must be used. Use `get_template_directory()`,
| | `get_stylesheet_directory()` or `plugin_dir_path()`.
4 | ERROR | Absolute include path must be used. Use `get_template_directory()`,
| | `get_stylesheet_directory()` or `plugin_dir_path()`.
5 | ERROR | Absolute include path must be used. Use `get_template_directory()`,
| | `get_stylesheet_directory()` or `plugin_dir_path()`.
6 | ERROR | Absolute include path must be used. Use `get_template_directory()`,
| | `get_stylesheet_directory()` or `plugin_dir_path()`.
7 | ERROR | Absolute include path must be used. Use `get_template_directory()`,
| | `get_stylesheet_directory()` or `plugin_dir_path()`.
--------------------------------------------------------------------------------------------------------
FILE: ...mont/Sites/phpsniffer/plugins/autoupdater/lib/vendor/paragonie/sodium_compat/autoload-pedantic.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
3 | ERROR | Absolute include path must be used. Use `get_template_directory()`,
| | `get_stylesheet_directory()` or `plugin_dir_path()`.
--------------------------------------------------------------------------------------------------------
FILE: ...oblamont/Sites/phpsniffer/plugins/autoupdater/lib/vendor/paragonie/sodium_compat/autoload-fast.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
3 | ERROR | Absolute include path must be used. Use `get_template_directory()`,
| | `get_stylesheet_directory()` or `plugin_dir_path()`.
--------------------------------------------------------------------------------------------------------
FILE: ...lamont/Sites/phpsniffer/plugins/autoupdater/lib/vendor/paragonie/sodium_compat/lib/php72compat.php
--------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------
71 | ERROR | Constant name, as a string, should be used along with `defined()`.
72 | ERROR | Constant name, as a string, should be used along with `define()`.
--------------------------------------------------------------------------------------------------------
FILE: .../Sites/phpsniffer/plugins/autoupdater/lib/vendor/paragonie/sodium_compat/src/Core32/Curve25519.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
247 | ERROR | [x] Expected 1 space between comma and "$h3"; 0 found
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------
FILE: ...ont/Sites/phpsniffer/plugins/autoupdater/lib/vendor/paragonie/sodium_compat/src/Core32/BLAKE2b.php
--------------------------------------------------------------------------------------------------------
FOUND 114 ERRORS AFFECTING 12 LINES
--------------------------------------------------------------------------------------------------------
23 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
32 | ERROR | [x] Expected 0 spaces between "13" and comma; 1 spaces found
33 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 114 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------
FILE: ...nt/Sites/phpsniffer/plugins/autoupdater/lib/vendor/paragonie/sodium_compat/src/Core/Curve25519.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
535 | ERROR | [x] No space found after comma in argument list
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------
FILE: ...amont/Sites/phpsniffer/plugins/autoupdater/lib/vendor/paragonie/sodium_compat/src/Core/BLAKE2b.php
--------------------------------------------------------------------------------------------------------
FOUND 114 ERRORS AFFECTING 12 LINES
--------------------------------------------------------------------------------------------------------
23 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
23 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
24 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
25 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
26 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
27 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
28 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
29 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
30 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
31 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
32 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
32 | ERROR | [x] Expected 0 spaces between "13" and comma; 1 spaces found
33 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
33 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "4"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "8"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "9"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "6"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "1"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "0"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "2"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "7"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "5"; 2 found
34 | ERROR | [x] Expected 1 space between comma and "3"; 2 found
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 114 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------
FILE: ...s/jacoblamont/Sites/phpsniffer/plugins/autoupdater/lib/vendor/paragonie/sodium_compat/src/File.php
--------------------------------------------------------------------------------------------------------
FOUND 13 ERRORS AND 44 WARNINGS AFFECTING 57 LINES
--------------------------------------------------------------------------------------------------------
879 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
887 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
916 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
936 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
993 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
1023 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
1352 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
1360 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
1389 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
1409 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
1463 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
1493 | ERROR | Filesystem writes are forbidden, please do not use fwrite().
--------------------------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment