Skip to content

Fix virtual property#2101

Merged
TomasVotruba merged 2 commits intomasterfrom
fix-virtual-property
Oct 4, 2019
Merged

Fix virtual property#2101
TomasVotruba merged 2 commits intomasterfrom
fix-virtual-property

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

Closes #2086

public function getDefinition(): RectorDefinition
{
return new RectorDefinition('The /e modifier is no longer supported, use preg_replace_callback instead ', [
return new RectorDefinition('The /e modifier is no longer supported, use preg_replace_callback instead', [
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This finally fixes these repreated spaces in docs dump

$this->nodeInfoResult->addNodeInfo($category, new NodeInfo(
$nodeClass,
$this->betterStandardPrinter->print($node),
trim($this->betterStandardPrinter->print($node)),
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This finally fixes these repreated spaces in docs dump

@TomasVotruba TomasVotruba merged commit 9c222ac into master Oct 4, 2019
@TomasVotruba TomasVotruba deleted the fix-virtual-property branch October 4, 2019 18:05
TomasVotruba added a commit that referenced this pull request Apr 20, 2022
rectorphp/rector-src@3986087 [DX] Extract ContainerConfiguratorImportsMerger (#2101)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BetterPhpDocParser] SerializerTypePhpDocNodeFactory doesn't count with virtual props

1 participant