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

[Rector] Apply Rector: MoveVariableDeclarationNearReferenceRector #4752

Merged

Conversation

samsonasik
Copy link
Member

Move variable declaration near its reference with MoveVariableDeclarationNearReferenceRector rector rule. It needs latest rector 0.11.7. I updated phpstan/phpstan to 0.12.88 as well.

Checklist:

  • Securely signed commits

@samsonasik
Copy link
Member Author

PHPUnit notice seems unrelated:

1) CodeIgniter\Images\ImageMagickHandlerTest::testText
486
CodeIgniter\Images\Exceptions\ImageException: Image processing failed. Please verify that your server supports the chosen protocol and that the path to your image library is correct.

@MGatner
Copy link
Member

MGatner commented May 30, 2021

Something is happening with Image Magick, causing all tests to fail. We'll have to look into that soon.

@samsonasik samsonasik merged commit b0552ba into codeigniter4:develop May 30, 2021
@samsonasik samsonasik deleted the apply-rector-move-variable branch May 30, 2021 06:18
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.

3 participants