3692 Commits

Author SHA1 Message Date
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
Tomas Votruba
3c1c431684 [DomainDrivenDesign] Move coupled location to rest of Rector in standalone package 2018-10-17 19:47:09 +02:00
Tomas Votruba
395dc9b2e9 [CodeQuality] Move coupled location to rest of Rector in standalone package 2018-10-17 19:47:09 +02:00
Tomas Votruba
ea185f9629 improve annotaiton content matchign 2018-10-17 19:47:09 +02:00
Tomas Votruba
0f6c024e8b misc 2018-10-17 19:47:09 +02:00
Tomas Votruba
ab22d2c6a8 Add ConstFetchAnalyzerTrait 2018-10-17 19:47:09 +02:00
Tomas Votruba
835199c6f2 move Property name resolving to NameResolver 2018-10-17 19:47:09 +02:00
Tomas Votruba
bacb2bba81 Improve example in ClassReplacerRector 2018-10-17 19:47:09 +02:00
Tomas Votruba
1f51866acf early return + resolve todo 2018-10-17 12:25:56 +02:00
Tomas Votruba
1e28eb853b merge NodeTypeAnalyzer to TypeAnalyzerTrait 2018-10-17 12:24:00 +02:00
Tomas Votruba
966882e489 GetToConstructorInjectionRector - merge type args 2018-10-17 12:19:11 +02:00
Tomas Votruba
86eb966904 resolve todo 2018-10-17 12:14:42 +02:00
Tomáš Votruba
bcd20fa20e
Merge pull request #711 from rectorphp/php-trailin-func-args
[PHP] Add TrailingCommaArgumentsRector
2018-10-17 16:35:04 +08:00
Tomas Votruba
6daa618ab3 [PHP] Add TrailingCommaArgumentsRector 2018-10-17 10:29:27 +02:00
Tomáš Votruba
b0cf3cf747
Merge pull request #710 from rectorphp/php-string-const
[PHP] Add BarewordStringRector
2018-10-17 16:26:58 +08:00
Tomas Votruba
4faa1425c8 [PHP] Add BarewordStringRector 2018-10-17 10:16:32 +02:00
Tomáš Votruba
ee61b7ed28
Merge pull request #708 from rectorphp/php-json-exceptionize
[PHP] Add JsonThrowOnErrorRector
2018-10-17 16:14:02 +08:00
Tomas Votruba
bdc72fe7be [PHP] Add JsonThrowOnErrorRector 2018-10-17 10:13:04 +02:00
Tomáš Votruba
2af98f1a86
Merge pull request #709 from rectorphp/php-non-string-needles
[PHP] Add StringifyStrNeedlesRector
2018-10-17 16:12:22 +08:00
Tomas Votruba
379ea93553 [PHP] Add StringifyStrNeedlesRector 2018-10-17 10:12:06 +02:00
Tomáš Votruba
c845d372aa
Merge pull request #707 from rectorphp/php-herenow-doc
[PHP] Add SensitiveHereNowDocRector - mbereg function renames
2018-10-17 15:59:30 +08:00