-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Make workspace/willRenameFiles
working
#2531
Open
przepompownia
wants to merge
70
commits into
phpactor:master
Choose a base branch
from
przepompownia:fix-will-rename
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 58 commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
4e8923a
Make it working first
przepompownia d0e923e
Try to use generator
przepompownia 8ca9325
Merge branch 'master' into fix-will-rename
przepompownia bc83378
Merge branch 'master' into fix-will-rename
przepompownia f5649a1
Fix edits in source file
przepompownia 896a7a2
Merge branch 'master' into fix-will-rename
przepompownia aba4e3b
Merge branch 'master' into fix-will-rename
przepompownia dcca493
Merge branch 'master' into fix-will-rename
przepompownia 0197e9a
Merge branch 'master' into fix-will-rename
przepompownia 772ce0c
Merge branch 'fix-will-rename' into fix-will-rename-with-gen
przepompownia 2f72e79
Fix TestFileRenamer
przepompownia b32e8a0
Remove unused import
przepompownia ca646c7
Fix FileRenamerTest
przepompownia 4d0b4bb
FileRenamerTest: revert intermediate changes
przepompownia c00e8c0
Add default value
przepompownia f7fb8a4
Add missing import
przepompownia b3eab4c
Nullsafe op.
przepompownia f47b15a
Nullsafe op.
przepompownia 455b61e
Null to string
przepompownia 83aa54d
Null to array
przepompownia 85043dc
Update baseline
przepompownia b09fa7f
Remove unused import
przepompownia 897bbca
Merge branch 'master' into fix-will-rename
przepompownia efaf955
Use master fixes of error handling in both rename handlers
przepompownia 9fefcd5
Merge branch 'master' into fix-will-rename
przepompownia 594545b
Rename local variable
przepompownia 41b9a2d
Remove assertion
przepompownia aefac36
Revert "Rename local variable"
przepompownia fd42641
Fix renaming
przepompownia e74770d
Merge branch 'master' into fix-will-rename
przepompownia 970a7e8
Remove unused import
przepompownia 55e2c82
Merge branch 'master' into fix-will-rename
przepompownia 1898cd7
Merge branch 'master' into fix-will-rename
przepompownia 502939e
Merge branch 'master' into fix-will-rename
przepompownia 870c09c
FileRenamer: return Promise<RenameEdit>
przepompownia e484224
Merge branch 'master' into fix-will-rename-new-model
przepompownia 9db0160
Fix FileRenameHandlerTest
przepompownia 0fb5b64
Fix FileRenamerTest
przepompownia 8555bc2
cs-fixer
przepompownia c2b7548
phpstan
przepompownia 6177ce0
RenameEdit: only list
przepompownia 8331057
Merge branch 'master-no-phar' into fix-will-rename-remote
przepompownia b9b2b33
Merge branch 'fix-will-rename-new-model-no-phar' into fix-will-rename…
przepompownia f630090
Update baseline
przepompownia 288b0f9
Yield the result from Adapter
przepompownia e3843eb
Remove unused import
przepompownia f87dd64
Merge branch 'master' into fix-will-rename-remote
przepompownia 8f9ad3d
Merge branch 'master' into fix-will-rename-remote
przepompownia a015161
Merge branch 'master' into fix-will-rename-remote
przepompownia 86d7adf
Rename `RenameEdit` to `WorkspaceRenameEdit`
przepompownia d99b20a
fixup! Rename `RenameEdit` to `WorkspaceRenameEdit`
przepompownia 2871419
Rename `RenameEditConverter` to `WorkspaceRenameEditsConverter`
przepompownia 1bf47bd
Convert variadic arguments to docblock typed array
przepompownia 4fbb24b
Fix type in docblock
przepompownia 4640afd
Update baseline
przepompownia 1dc9c48
Merge branch 'master' into fix-will-rename-remote
przepompownia 502da51
Remove redundant array_filter
przepompownia 35e02db
Merge branch 'master' into fix-will-rename-remote
przepompownia c6880ec
Refactoring:
dantleech 8e7b819
Refactor to make the operation unit the textdocument edits
dantleech d9fa5c8
Update lib/Rename/Adapter/ClassMover/FileRenamer.php
dantleech 90e0cc0
Update lib/Rename/Model/FileRenamer/TestFileRenamer.php
dantleech 0077bb6
Merge pull request #1 from phpactor/fix-will-rename-dan
przepompownia 0af0c08
Rename variable
przepompownia aafe0bc
Clean unused import
przepompownia f3f311b
Fix type
przepompownia 279ad86
Change type assertions after refactor
przepompownia 8267288
Update baseline
przepompownia 2f56e95
Remove unused import
przepompownia 222f576
Add sprintf format
przepompownia File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is
sprintf
missing a format string?%s %s
why do we get the trace from$previous
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied catching
CouldNotRename
fromRenameHandler
to have the same way of error handling and don't know what the trace was needed for in the original place:https://github.com/phpactor/phpactor/blame/a23130918b61c3f45f4a403abe56b5a06be80de9/lib/Extension/LanguageServerRename/Handler/RenameHandler.php#L93