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

Revert "use NewOptimizedDirectorySourceLocator" #4845

Merged
merged 3 commits into from
Aug 24, 2023

Conversation

samsonasik
Copy link
Member

Reverts #4844

…ectory and use NewOptimizedDirectorySourceLocator (#4844)"

This reverts commit a480c51.
Comment on lines +610 to +614
# todo: to be updated to use NewOptimizedDirectorySourceLocator later
# currently changing to NewOptimizedDirectorySourceLocator cause error, @see https://github.com/rectorphp/rector-src/actions/runs/5965685296/job/16183665877#step:10:19
-
message: '#Instantiation of deprecated class PHPStan\\Reflection\\BetterReflection\\SourceLocator\\OptimizedDirectorySourceLocator#'
path: packages/NodeTypeResolver/Reflection/BetterReflection/SourceLocatorProvider/DynamicSourceLocatorProvider.php
Copy link
Member Author

Choose a reason for hiding this comment

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

this new NewOptimizedDirectorySourceLocator is a todo later as currently cause error when applied, noted above.

Copy link
Member Author

Choose a reason for hiding this comment

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

@TomasVotruba ok, it seems the error stil exists, so the issue is not because of NewOptimizedDirectorySourceLocator

https://github.com/rectorphp/rector-src/actions/runs/5965825544/job/16184110293#step:10:19

Copy link
Member Author

Choose a reason for hiding this comment

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

@TomasVotruba let's revert the revert, I will look into the fix :)

Copy link
Member Author

Choose a reason for hiding this comment

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

@samsonasik samsonasik enabled auto-merge (squash) August 24, 2023 15:33
@samsonasik samsonasik merged commit 07e36e3 into main Aug 24, 2023
39 checks passed
@samsonasik samsonasik deleted the revert-4844-remove-unused-patches branch August 24, 2023 15:33
samsonasik added a commit that referenced this pull request Aug 24, 2023
samsonasik added a commit that referenced this pull request Aug 24, 2023
samsonasik added a commit that referenced this pull request Aug 24, 2023
* Revert "Revert "use NewOptimizedDirectorySourceLocator" (#4845)"

This reverts commit 07e36e3.

* wrap Expression

* Revert "wrap Expression"

This reverts commit f54fa71.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant