3712 Commits

Author SHA1 Message Date
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
Tomas Votruba
3233316053 Make ConstructorMethodBuilder respect parent constructor 2018-10-20 09:38:49 +02:00
Tomas Votruba
aafb1d742b rename PropertyAddingNodeVisitor to ConstructorInjectionNodeVisitor 2018-10-19 16:29:40 +02:00
Ben Davies
4cfd1a6752 add tests for property to constructor injection when class is in inheritance chain 2018-10-19 16:29:39 +02:00
Tomas Votruba
f702fff33b composer: lock to stable deps 2018-10-19 16:29:22 +02:00
Tomas Votruba
e0a368524e make tests produce not messy output 2018-10-19 14:52:25 +02:00
Tomáš Votruba
3378b4c552
Merge pull request #712 from rectorphp/ano-ctor-jms
[JMS] Add JmsInjectAnnotationRector
2018-10-19 14:29:35 +02:00
Tomas Votruba
26d7a570e6 Add property-name case 2018-10-19 14:26:14 +02:00
Tomas Votruba
ca271747ea add test case with bool types, for sure 2018-10-19 10:45:45 +02:00
Tomas Votruba
84051fbcde add missing ctor to example 2018-10-19 10:39:41 +02:00
Tomas Votruba
6a9a04053d make use helper methods 2018-10-19 10:36:34 +02:00
Tomas Votruba
9f4159356b skip parameters 2018-10-19 10:29:09 +02:00
Tomas Votruba
581a840d85 add ErrorCollector 2018-10-19 10:11:19 +02:00
Tomas Votruba
46be74dfcc add jms-decouple level 2018-10-19 08:12:33 +02:00
Tomas Votruba
30f687274b remove unused methods 2018-10-19 08:04:16 +02:00
Tomas Votruba
f02c5810ab Add var fallback to JmsInjectAnnotationRector 2018-10-19 08:04:16 +02:00
Tomas Votruba
4a8f9cd17d use fixed BetterPhpDocParser 2018-10-19 08:04:16 +02:00
Tomas Votruba
c5970494c3 phpstan: disable reporting of old errors 2018-10-19 08:04:16 +02:00
Tomas Votruba
fff361fc4d simplify NameResolver 2018-10-19 08:04:16 +02:00
Tomas Votruba
70ea05352d [JMS] Add JmsInjectAnnotationRector 2018-10-19 08:04:16 +02:00
Tomas Votruba
4b1e61ed58 Fix create-rector for ambiguous suffixes 2018-10-18 17:31:32 +02:00
Tomas Votruba
c1901ba9c0 Add ClassPropertyCollectorTrait 2018-10-18 17:31:32 +02:00
Tomáš Votruba
b38020c9b9
Merge pull request #714 from rectorphp/function-replace
[PHP] Add function renames
2018-10-18 17:31:17 +02:00
Tomas Votruba
9de4468d31 [PHP] Add function renames 2018-10-18 17:29:17 +02:00
Tomas Votruba
46d6d9d77e Fix Expr as name in NameResolver 2018-10-18 06:54:02 +02:00
Tomáš Votruba
a0abe82c6d
Merge pull request #713 from rectorphp/todo
Various improvements
2018-10-17 20:02:14 +02:00
Tomas Votruba
87a5a1b824 big question 2018-10-17 19:47:09 +02:00
Tomas Votruba
e0aa23a47a fix namespaces of BarewordStringREctor and SensistiveHereNowDocRector 2018-10-17 19:47:09 +02:00
Tomas Votruba
0de721e350 AbstractRector: change returnNode property to method to make remove process more intuitive 2018-10-17 19:47:09 +02:00