diff
diff copied to clipboard
Diff implementation
Hey, It would be great to have an ability to change header on the go. My usecase is that I'm looping through posts in database and after doing some changes...
- [X] Level 1 - [X] Level 2 - [x] Level 3 - [x] Level 4 - [x] Level 5 - [ ] Level 6 - [ ] Level 7...
As I understand there is no such feature. For long files it would be useful. I came to this library because php unit did not show line numbers but turns...
There are some noticeable performance issues when generating a diff for specific files. This [Drupal yaml file in particular](https://git.drupalcode.org/project/search_api_solr/-/blob/4.x/config/optional/search_api_solr.solr_field_type.text_en_6_0_0.yml) took about 70-80 seconds to generate a diff for. There's some...
When a file contains new files, diff chunks contain a line with patch contents (`new file mode 100644`), not the actual file contents. Example patch: ```patch diff --git a/file1.txt b/file1.txt...
Also reproducible with real diffs in this repo, e.g. ``` git checkout 9aff9b4 git diff eb238060a950f2031ce51019f909b8ece35bccfb .github > tests/fixtures/test.patch ```
I have a unit test that sometimes fails Our code is: ``` $differ = new Differ(); $msg = $differ->diff($oldData, $newData); ``` if I do: print_r($parser->parse($msg)); I get: ``` array (...