-
Notifications
You must be signed in to change notification settings - Fork 45
Skip search and replace on objects that can't deserialize safely #192
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
aff9a8f
skip deserialization of S&R objects that return TypeErrors
MarkBerube 4ef93f7
Update SearchReplacer.php based off PHP CS
MarkBerube fde70ec
Update SearchReplacer.php with changes from PHPCS
MarkBerube 2d7ce67
adding skip on phpcs incompat as testing shows its safe for PHP5.6 & …
MarkBerube 9c46168
fixing small typo in behat scenario
MarkBerube afa1d7b
removing unncessary comment
MarkBerube 7c373b4
removing unncessary comments
MarkBerube 8f338d9
Update features/search-replace.feature scenario description
MarkBerube f6e1a3e
skip over replacements if TypeError is executed.
MarkBerube 57cb6eb
converting obj to array to avoid errors with funky/blank objects on d…
MarkBerube 6ff1d6b
adding safe object to search & replace over in test
MarkBerube d6437f2
removing array cast & testing serialized, safe object to confirm seri…
MarkBerube ac1ae3b
catch errors in unsafe php objects as they are iterated on
MarkBerube 8889a18
Fix PHPCS issue
schlessera 9404019
Include reason in error messages
schlessera 251042b
Avoid casting objects to string
schlessera b3a1734
Split into two separate tests per PHP version
schlessera 42ef6c2
Fully form forwarded exception
schlessera d6430f9
Be precise about PHPCS ignore
schlessera 586522b
Add clarifying comment about type error
schlessera 4509c7d
Add another clarifying comment
schlessera 9c12684
Adapt warning for PHP < 8.0
schlessera e915dd8
Fix warning text in test
schlessera 813403e
Fix bad anntotation
schlessera 43abfb5
Add safeguard for partial processing to not be counted as a success
schlessera da1acc7
Skip broken SQLite testing for now
schlessera File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update features/search-replace.feature scenario description
Co-authored-by: Daniel Bachhuber <daniel@bachhuber.co>
- Loading branch information
commit 8f338d93ad8603299d74bcece6cccb4e799d165c
There are no files selected for viewing
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.