Skip to content
New issue

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

[TASK] Set native $node property type NodeInterface in EscapingNode #783

Merged
merged 1 commit into from
May 13, 2023

Conversation

sbuerk
Copy link
Contributor

@sbuerk sbuerk commented May 12, 2023

Since minimum php version raise we can now use native
typed properties. EscapingNode property $node can
be safely set to NodeInterface.

This is ensured by the two possible ways to set this
property, the constructor and addChildNode().

Used command(s):

vendor/bin/phpstan analyze --no-progress \
  --generate-baseline=phpstan-baseline.neon

Since minimum php version raise we can now use native
typed properties. `EscapingNode` property  `$node` can
be safely set to `NodeInterface`.

This is ensured by the two possible ways to set this
property, the constructor and `addChildNode()`.

Used command(s):

```shell
vendor/bin/phpstan analyze --no-progress \
  --generate-baseline=phpstan-baseline.neon
```
@lolli42 lolli42 merged commit be09373 into main May 13, 2023
@lolli42 lolli42 deleted the stefan-1 branch May 13, 2023 01:33
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.

2 participants