3740 Commits

Author SHA1 Message Date
Tomas Votruba
c81aa78da8 Add support for case insensitive const renaming 2018-10-22 19:40:27 +02:00
Tomas Votruba
5393711450 Add support for case insensitive func renaming 2018-10-22 19:40:27 +02:00
Tomas Votruba
224c7a0e2c simplify PropertyNameReplacerRector 2018-10-22 19:40:27 +02:00
Tomas Votruba
44c0febb6a Add support for case insensitive property renaming 2018-10-22 19:40:27 +02:00
Tomas Votruba
064aceba39 Add i-case-sensitivity to MethodNameReplacerRector 2018-10-22 19:40:27 +02:00
Tomas Votruba
9374604bc2 Improve MethodNameReplacerRector 2018-10-22 19:40:27 +02:00
Tomas Votruba
3aef267709 [Class] Add case sensitive test for Class Replace 2018-10-22 19:40:27 +02:00
Tomáš Votruba
f4287984b5
Merge pull request #725 from rectorphp/sensitive
Static analysis cleanup + add RemovingNodeVisitor
2018-10-22 18:29:02 +02:00
Tomas Votruba
7f582d37d4 Add RemovingTrait, RemovingNodeVisitor and RemovedNodesCollector 2018-10-22 18:28:36 +02:00
Tomas Votruba
09027d06eb resolve phpstan reports 2018-10-22 18:02:36 +02:00
Tomas Votruba
944bb9f5c1 cleanup 2018-10-22 14:15:20 +02:00
Tomáš Votruba
b154d904f0
Merge pull request #724 from rectorphp/symfony-cascade-validation
[Symfony] Add ArrayAnalyzer and CascadeValidationFormBuilderRector
2018-10-22 14:14:58 +02:00
Tomas Votruba
a9ce1c8e4c Add ArrayAnalyzer and CascadeValidationFormBuilderRector 2018-10-22 14:12:53 +02:00
Tomas Votruba
68d365eaf8 update docs 2018-10-22 00:26:45 +02:00
Tomáš Votruba
f497e4837a
Merge pull request #723 from rectorphp/normalize
Normalize Argument Rectors
2018-10-22 00:25:10 +02:00
Tomas Votruba
f823f2a50c [Arguments] Refactor to constistent config 2018-10-22 00:16:41 +02:00
Tomas Votruba
82eedd4078 Add AutoloadWrongCasesEventSubscriber to simplify composer.json 2018-10-21 23:25:06 +02:00
Tomas Votruba
85b1fed683 add wrong cases autoload 2018-10-21 19:42:02 +02:00
Tomas Votruba
fedb932115 add missing @see references to Rector tests 2018-10-21 19:39:54 +02:00
Tomas Votruba
c2a900518c ArgumentRectors - use standard descendent configuration 2018-10-21 19:39:45 +02:00
Tomáš Votruba
5e554281b3
Merge pull request #722 from rectorphp/options-attr-array
[Symfony] Add ReadOnlyOptionToAttributeRector
2018-10-21 19:30:44 +02:00
Tomas Votruba
661c13342f remove CurrentNodeProvider, not really needed 2018-10-21 19:27:19 +02:00
Tomas Votruba
ade5c0145d add to symfony30 set 2018-10-21 19:19:15 +02:00
Tomas Votruba
d2bde9f3d4 [Symfony] Add /ReadOnlyOptionToAttributeRector [closes #595] 2018-10-21 19:19:15 +02:00
Tomáš Votruba
4f6c7a320a
Merge pull request #721 from rectorphp/bugfix/assert-compare-rector
[PHPUnit] Fix AssertCompareToSpecificMethodRector false positives
2018-10-21 19:18:31 +02:00
Tomáš Votruba
8eca092dad
Merge pull request #720 from rectorphp/options-attr
[Symfony] Refactor OptionNameRector to typed checks
2018-10-21 19:18:02 +02:00
Gabriel Caruso
5d304b3aee
[PHPUnit] Fix AssertCompareToSpecificMethodRector false positives
When a property, method or variable has one of the names to be
refactored, e.g. `count`, it gets wrong refactored
2018-10-21 14:00:00 -03:00
Tomas Votruba
a65faf7597 [Symfony] Refactor OptionNameRector to typed checks 2018-10-21 18:50:52 +02:00
Tomáš Votruba
9e7396496a
Merge pull request #718 from rectorphp/property-dups
Fix duplicated property naming
2018-10-21 16:03:30 +02:00
Tomas Votruba
4cee626ee4 Remove MethodArgumentAnalyzer 2018-10-21 15:38:21 +02:00
Tomas Votruba
79910b73c6 make GetRequest use unique names [closes #610] 2018-10-21 14:27:50 +02:00
Tomas Votruba
6fa1d53b1c add isNull() to ConstFetchAnalyzer 2018-10-21 14:10:19 +02:00
Tomas Votruba
2723f5ab8a Fix false positive on missed false constant 2018-10-21 14:03:20 +02:00
Tomas Votruba
7dcde279f9 make use of NameResolver in Rector 2018-10-21 14:03:20 +02:00
Tomáš Votruba
91797daad2
Merge pull request #717 from rectorphp/func-rename
Fix inlining ofr changed FuncCall args [closes #624]
2018-10-21 13:37:45 +02:00
Tomas Votruba
738d5ed3e7 Fix inlining ofr changed FuncCall args [closes #624] 2018-10-21 13:32:42 +02:00
Tomáš Votruba
c85a623f8b
Merge pull request #716 from rectorphp/php-unit-foreach-instance
[PHPUnit] Foreach instanceof to simple
2018-10-21 13:21:03 +02:00
Tomas Votruba
486f7f4b64 [PHPUnit] Add SimplifyForeachInstanceOfRector 2018-10-21 13:17:20 +02:00
Tomas Votruba
f330c5e9c2 make return null consistent on no change 2018-10-21 13:06:28 +02:00
Tomas Votruba
985d38e267 Add AfterRectorCodingStyle 2018-10-21 13:06:28 +02:00
Tomas Votruba
161c3cd6fa apply --with-style on create-rector 2018-10-21 11:44:51 +02:00
Tomas Votruba
2f60888e0e Add docs imports ecs --with-style to make consistent with code 2018-10-21 11:44:39 +02:00
Tomas Votruba
af4bbe0da0 cleanup 2018-10-21 11:35:28 +02:00
Tomas Votruba
631040dda9 return commented tests 2018-10-21 11:27:40 +02:00
Tomas Votruba
feb0496a26 make use of Strings::after() 2018-10-21 11:22:45 +02:00
Tomas Votruba
847c5fe520 [ContributorTools] Make CreateRectorCommand smarter about category and missing _ in node names 2018-10-21 11:16:08 +02:00
Tomas Votruba
0b2db17de5 README: spacing 2018-10-21 11:00:39 +02:00
Tomas Votruba
b8bb40cdbd README: add PHP [closes #669] 2018-10-21 11:00:07 +02:00
Tomas Votruba
a2c0fd23b1 fix new phpstan reports v0.3.14 2018-10-21 10:53:32 +02:00
Tomáš Votruba
a7f3edd816
Merge pull request #715 from rectorphp/705-pull-request
Make ConstructorMethodBuilder respect parent + child constructor
2018-10-21 01:21:40 +02:00