Permalink
Browse files

New patch generation system

  • Loading branch information...
tomphp committed Dec 30, 2013
1 parent 63a6020 commit 6ba4e9f20e718441d233da94fa8d3a8264639a7a
Showing with 668 additions and 1,159 deletions.
  1. +2 −1 composer.json
  2. +169 −95 composer.lock
  3. +1 −1 features/convert_local_to_instance_variable.feature
  4. +40 −43 features/extract_method.feature
  5. +27 −9 features/fix_class_names.feature
  6. +5 −2 features/optimize_use.feature
  7. +2 −1 features/rename_local_variable.feature
  8. +0 −32 src/main/QafooLabs/Patches/AppendOperation.php
  9. +0 −21 src/main/QafooLabs/Patches/Assertion.php
  10. +0 −31 src/main/QafooLabs/Patches/ChangeOperation.php
  11. +0 −33 src/main/QafooLabs/Patches/ChangeTokenOperation.php
  12. +0 −222 src/main/QafooLabs/Patches/Hunk.php
  13. +0 −26 src/main/QafooLabs/Patches/Operation.php
  14. +0 −236 src/main/QafooLabs/Patches/PatchBuilder.php
  15. +0 −29 src/main/QafooLabs/Patches/RemoveOperation.php
  16. +0 −24 src/main/QafooLabs/Patches/UnknownLineException.php
  17. +1 −1 src/main/QafooLabs/Refactoring/Adapters/{Patches → PatchBuilder}/ApplyPatchCommand.php
  18. +2 −2 src/main/QafooLabs/Refactoring/Adapters/{Patches → PatchBuilder}/PatchBuffer.php
  19. +185 −0 src/main/QafooLabs/Refactoring/Adapters/PatchBuilder/PatchBuilder.php
  20. +2 −2 src/main/QafooLabs/Refactoring/Adapters/{Patches → PatchBuilder}/PatchEditor.php
  21. +1 −1 src/main/QafooLabs/Refactoring/Adapters/Symfony/Commands/ConvertLocalToInstanceVariableCommand.php
  22. +1 −1 src/main/QafooLabs/Refactoring/Adapters/Symfony/Commands/ExtractMethodCommand.php
  23. +1 −1 src/main/QafooLabs/Refactoring/Adapters/Symfony/Commands/FixClassNamesCommand.php
  24. +2 −2 src/main/QafooLabs/Refactoring/Adapters/Symfony/Commands/OptimizeUseCommand.php
  25. +1 −1 src/main/QafooLabs/Refactoring/Adapters/Symfony/Commands/RenameLocalVariableCommand.php
  26. +1 −1 src/main/QafooLabs/Refactoring/Adapters/Symfony/OutputPatchCommand.php
  27. +0 −148 src/test/QafooLabs/Patches/HunkTest.php
  28. +0 −175 src/test/QafooLabs/Patches/PatchBuilderTest.php
  29. +203 −0 src/test/QafooLabs/Refactoring/Adapters/PatchBuilder/PatchBuilderTest.php
  30. +22 −18 src/test/QafooLabs/Refactoring/Application/Service/ExtractMethodTest.php
View
@@ -12,7 +12,8 @@
"beberlei/assert": "@stable",
"andrewsville/php-token-reflection": "@stable",
"symfony/finder": "@stable",
- "symfony/console": "@stable"
+ "symfony/console": "@stable",
+ "tomphp/patch-builder": "dev-master"
},
"require-dev": {
Oops, something went wrong.

0 comments on commit 6ba4e9f

Please sign in to comment.