We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Good afternoon. I am encountering an incorrect error in PhpStorm. When using HTML inside JS files, I get the following PHPCS error:

"Expected at least 1 space after '<'; 0 found."
When I try to fix it, I get the following result:
return ( < div > < h1 > Data Table < / h1 > < table border = "1" > < thead > < tr > < th > < / th > < th > < / th > < th > Planned Shipment Date < / th > < / tr > < / thead > < tbody > {data.map((item) => ( < tr key = {item.id} > < td > {item.serial_number} < / td > < td > {new Date(item.deadline).toLocaleString()} < / td > < td > {item.productionItemPartStages ? .length || 0} < / td > < / tr > ))} < / tbody > < / table > < / div > );
Could you please help me resolve this issue?
The text was updated successfully, but these errors were encountered:
Please don't open issues in this repo anymore. This repo is abandoned and https://github.com/PHPCSStandards/PHP_CodeSniffer is its successor. See: #3932
As for your issue above: sounds like you have a parse error in your file.
Sorry, something went wrong.
Superseded by: PHPCSStandards/PHP_CodeSniffer#839
No branches or pull requests
Good afternoon. I am encountering an incorrect error in PhpStorm. When using HTML inside JS files, I get the following PHPCS error:
"Expected at least 1 space after '<'; 0 found."
When I try to fix it, I get the following result:
Could you please help me resolve this issue?
The text was updated successfully, but these errors were encountered: