Skip to content

[PSR4] Skip NormalizeNamespaceByPSR4ComposerAutoloadRector on has inline HTML - #420

Merged
TomasVotruba merged 2 commits into
mainfrom
skip-normalize-namespace-inline-htlm
Jul 10, 2021
Merged

[PSR4] Skip NormalizeNamespaceByPSR4ComposerAutoloadRector on has inline HTML#420
TomasVotruba merged 2 commits into
mainfrom
skip-normalize-namespace-inline-htlm

Conversation

@samsonasik

Copy link
Copy Markdown
Member

Given the following content,

 <h1> {{ content }} </h1>

it currently generate invalid content:

+namespace Rector\Tests\PSR4\Rector\FileWithoutNamespace\NormalizeNamespaceByPSR4ComposerAutoloadRector\Fixture;
+
+?>
 <h1> {{ content }} </h1>
+<?php

This PR patched it to skip it.

@samsonasik samsonasik changed the title Skip normalize namespace inline htlm [PSR4] Skip NormalizeNamespaceByPSR4ComposerAutoloadRector on has inline HTML Jul 10, 2021
@samsonasik

Copy link
Copy Markdown
Member Author

All checks have passed 🎉 @TomasVotruba it is ready for review.

@TomasVotruba
TomasVotruba merged commit 4a7325f into main Jul 10, 2021
@TomasVotruba
TomasVotruba deleted the skip-normalize-namespace-inline-htlm branch July 10, 2021 19:11
@TomasVotruba

Copy link
Copy Markdown
Member

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants