You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is.
Code sample
echo"A short code snippet that can be used to reproduce the bug. Do NOT paste screenshots of code!";
Custom ruleset
<?xml version="1.0"?>
<rulesetname="My Custom Standard">
<description>If you are using a custom ruleset, please enter it here.</description>
</ruleset>
To reproduce
Steps to reproduce the behavior:
Create a file called test.php with the code sample above...
Run phpcs test.php ...
See error message displayed
PHPCS output here
Expected behavior
A clear and concise description of what you expected to happen.
Versions (please complete the following information)
Operating System
[e.g., Windows 10, MacOS 10.15]
PHP version
[e.g., 7.2, 7.4]
PHP_CodeSniffer version
[e.g., 3.5.5, master]
Standard
[e.g., PSR2, PSR12, Squiz, custom]
Install type
[e.g. Composer (global/local), PHAR, PEAR, git clone, other (please expand)]
Additional context
Add any other context about the problem here.
Please confirm:
I have searched the issue list and am not opening a duplicate issue.
I confirm that this bug is a bug in PHP_CodeSniffer and not in one of the external standards.
I have verified the issue still exists in the master branch of PHP_CodeSniffer.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
Code sample
Custom ruleset
To reproduce
Steps to reproduce the behavior:
test.php
with the code sample above...phpcs test.php ...
Expected behavior
A clear and concise description of what you expected to happen.
Versions (please complete the following information)
Additional context
Add any other context about the problem here.
Please confirm:
master
branch of PHP_CodeSniffer.The text was updated successfully, but these errors were encountered: