Skip to content

[ORM37] add DoctrineOrderByAttributeSortDirectionRector - #525

Merged
TomasVotruba merged 1 commit into
rectorphp:mainfrom
JohJohan:ORM37
Sep 17, 2026
Merged

TomasVotruba merged 1 commit into
rectorphp:mainfrom
JohJohan:ORM37

Conversation

@JohJohan

@JohJohan JohJohan commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Comment on lines +92 to +94
if ($arrayItem === null) {
continue;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Array_ -> items never be null on php-parser 5.x, this check can be removed:

Suggested change
if ($arrayItem === null) {
continue;
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you for the feedback i removed the check

@TomasVotruba

Copy link
Copy Markdown
Member

Can you also rebase it?

@JohJohan

Copy link
Copy Markdown
Contributor Author

Can you also rebase it?

Done :)

@samsonasik samsonasik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good

@TomasVotruba

Copy link
Copy Markdown
Member

Let's ship it 👌

@TomasVotruba
TomasVotruba merged commit e445644 into rectorphp:main Sep 17, 2026
7 checks passed
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.

3 participants