Skip to content

Revert "use NewOptimizedDirectorySourceLocator"#4845

Merged
samsonasik merged 3 commits intomainfrom
revert-4844-remove-unused-patches
Aug 24, 2023
Merged

Revert "use NewOptimizedDirectorySourceLocator"#4845
samsonasik merged 3 commits intomainfrom
revert-4844-remove-unused-patches

Conversation

@samsonasik
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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

Development

Successfully merging this pull request may close these issues.

1 participant