Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions tests1/myfile1.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

echo $_POST[ 'phpcs should catch this problem' ];

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Detected usage of a non-sanitized input variable: $_POST['phpcs should catch this problem'] (WordPress.Security.ValidatedSanitizedInput.InputNotSanitized).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_POST['phpcs should catch this problem']' (WordPress.Security.EscapeOutput.OutputNotEscaped).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Processing form data without nonce verification (WordPress.Security.NonceVerification.Missing).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Detected usage of a possibly undefined superglobal array index: $_POST['phpcs should catch this problem']. Use isset() or empty() to check the index exists before using it (WordPress.Security.ValidatedSanitizedInput.InputNotValidated).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Detected usage of a non-sanitized input variable: $_POST['phpcs should catch this problem'] (WordPress.Security.ValidatedSanitizedInput.InputNotSanitized).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_POST['phpcs should catch this problem']' (WordPress.Security.EscapeOutput.OutputNotEscaped).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Processing form data without nonce verification (WordPress.Security.NonceVerification.Missing).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Detected usage of a possibly undefined superglobal array index: $_POST['phpcs should catch this problem']. Use isset() or empty() to check the index exists before using it (WordPress.Security.ValidatedSanitizedInput.InputNotValidated).





echo 'add one line';








echo 'linter will catch this fatal;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: PHP syntax error: syntax error, unexpected ''linter will catch this fatal;' (T_ENCAPSED_AND_WHITESPACE) (Generic.PHP.Syntax.PHPSyntax).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: PHP syntax error: syntax error, unexpected ''linter will catch this fatal;' (T_ENCAPSED_AND_WHITESPACE) (Generic.PHP.Syntax.PHPSyntax).

8 changes: 8 additions & 0 deletions tests1/myfile2.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

echo $_POST[ 'phpcs should catch this problem' ];

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Detected usage of a non-sanitized input variable: $_POST['phpcs should catch this problem'] (WordPress.Security.ValidatedSanitizedInput.InputNotSanitized).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_POST['phpcs should catch this problem']' (WordPress.Security.EscapeOutput.OutputNotEscaped).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Processing form data without nonce verification (WordPress.Security.NonceVerification.Missing).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Detected usage of a possibly undefined superglobal array index: $_POST['phpcs should catch this problem']. Use isset() or empty() to check the index exists before using it (WordPress.Security.ValidatedSanitizedInput.InputNotValidated).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Detected usage of a non-sanitized input variable: $_POST['phpcs should catch this problem'] (WordPress.Security.ValidatedSanitizedInput.InputNotSanitized).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_POST['phpcs should catch this problem']' (WordPress.Security.EscapeOutput.OutputNotEscaped).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Processing form data without nonce verification (WordPress.Security.NonceVerification.Missing).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Detected usage of a possibly undefined superglobal array index: $_POST['phpcs should catch this problem']. Use isset() or empty() to check the index exists before using it (WordPress.Security.ValidatedSanitizedInput.InputNotValidated).





echo 'add one line';