Skip to content

[TASK] Use Rector 2.0 #260

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[TASK] Use Rector 2.0 #260

wants to merge 1 commit into from

Conversation

simonschaufi
Copy link
Collaborator

No description provided.

@simonschaufi simonschaufi force-pushed the rector-2 branch 2 times, most recently from 6edfaa7 to 04b0fe3 Compare December 14, 2024 01:31
@simonschaufi simonschaufi force-pushed the rector-2 branch 2 times, most recently from ff8932e to d363dda Compare March 27, 2025 18:18
@@ -13,7 +13,7 @@
interface TypoScriptNodeVisitor
{
/**
* @param list<Statement> $statements
Copy link
Owner

Choose a reason for hiding this comment

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

list<Statement> has different (stronger) semantics than Statement[] – the former is an indexed list, the latter is just an array w/o revealing anything about the keys. Are we sure we want this change here? Or is it PhpStan complaining for some reason?

Comment on lines +20 to +22
ignoreErrors:
- identifier: return.unusedType
- identifier: varTag.nativeType
Copy link
Owner

Choose a reason for hiding this comment

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

Why these ignores? I'm not exactly fond of ignoring whole classes of errors for the whole project…

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