431 Commits

Author SHA1 Message Date
TomasVotruba
9e4558e97d add RemovedAndAddedFilesTrait, improve EventClassNaming 2020-05-29 11:31:31 +02:00
TomasVotruba
f0a67edb7e [Nette Kdyby] Add ReplaceEventManagerWithEventSubscriberRector 2020-05-29 01:36:25 +02:00
TomasVotruba
fa3ab03c12 improve complexity 2020-05-28 21:11:30 +02:00
TomasVotruba
fa5b37b4e1 separate contribute and custom event autocomplete to subscriber methods 2020-05-28 20:49:32 +02:00
TomasVotruba
004759e08e add undescore support in dim_fetch 2020-05-28 20:15:11 +02:00
TomasVotruba
4dfd5e8589 improve VariableNaming for array dim fetch 2020-05-28 16:31:40 +02:00
TomasVotruba
461fdc0357 make sure event param variables are unique 2020-05-28 16:31:40 +02:00
TomasVotruba
3cfb77953f decouple VariableWithType 2020-05-28 16:13:07 +02:00
TomasVotruba
1129c84a9c add type to param based on static type resolution 2020-05-28 15:59:30 +02:00
TomasVotruba
2fec4724ef decouple ParamNaming 2020-05-28 15:59:30 +02:00
TomasVotruba
621816bd1e add type support to CustomEventFactory 2020-05-28 15:12:34 +02:00
TomasVotruba
de4477b0f9 rename class is not needed 2020-05-28 11:00:35 +02:00
TomasVotruba
7fb892b9d1 improve CustomEventFactory 2020-05-28 10:23:23 +02:00
TomasVotruba
cf3198a8f1 fix node print testing 2020-05-28 01:28:37 +02:00
TomasVotruba
24238a26ed various nette fixes 2020-05-28 00:26:21 +02:00
TomasVotruba
0236c289e0 use interface over implementaion 2020-05-27 23:55:00 +02:00
TomasVotruba
a4f33df1f5 fix method call name fetching 2020-05-27 23:50:40 +02:00
TomasVotruba
cabb88fc4e prevent adding file on --dry-run in ReplaceMagicPropertyEventWithEventClassRector 2020-05-27 23:48:00 +02:00
TomasVotruba
29d3d267b5 [NetteKdyby] Add ReplaceMagicEventPropertySubscriberWithEventClassSubscriberRector 2020-05-27 23:16:57 +02:00
TomasVotruba
7286f3448b improve 2020-05-27 09:44:40 +02:00
TomasVotruba
bcc5055d48 [Privatization] Add PrivatizeFinalClassMethodRector 2020-05-27 09:33:56 +02:00
TomasVotruba
0a255f7758 refactor finish extension to event subscriber 2020-05-26 14:59:45 +02:00
TomasVotruba
093f425c4d decouple reporting package 2020-05-26 14:36:11 +02:00
TomasVotruba
13814e0321 decopule Extension package 2020-05-26 14:09:42 +02:00
Tomas Votruba
8c83b60aea
Merge pull request #3415 from rectorphp/coding-style-under 2020-05-25 17:38:33 +02:00
TomasVotruba
e3463b1073 add comments constant to prevent typos 2020-05-25 17:03:48 +02:00
rector-bot
769105c55e fixup! [NetteKdyby] Add ReplaceMagicPropertyEventWithEventClassRector 2020-05-25 11:08:26 +00:00
TomasVotruba
47e163dbe7 [NetteKdyby] Add ReplaceMagicPropertyEventWithEventClassRector 2020-05-25 13:05:22 +02:00
TomasVotruba
e44792bd00 rename args_count 2020-05-25 00:51:33 +02:00
TomasVotruba
ec3b928c7d [CodingStyle] UnderscoreToCamelCaseVariableAndPropertyNameRector 2020-05-25 00:51:08 +02:00
TomasVotruba
7994822d03 skip public properties 2020-05-24 22:32:22 +02:00
TomasVotruba
f63f5b2790 [Privatization] Add property privatization rule 2020-05-24 22:16:53 +02:00
TomasVotruba
a28be28e0d replace Subscriber interface too 2020-05-24 18:52:54 +02:00
TomasVotruba
387ded5ecc [Kdyby to Contributte] Add Subscriber migration 2020-05-24 18:52:54 +02:00
Tomas Votruba
a134615391
Merge pull request #3407 from guilliamxavier/fix-array_search-in_array-strict
Fix SimplifyArraySearchRector w.r.t. "strictness"
2020-05-24 16:18:30 +02:00
Guilliam Xavier
86cd497105 Fix SimplifyArraySearchRector w.r.t. "strictness" 2020-05-24 12:21:45 +02:00
TomasVotruba
081f8dd60b add existing param test case to context nette 2020-05-23 21:34:34 +02:00
Guilliam Xavier
b118a18642
Fix typo in StrStartsWithRector code sample 2020-05-23 15:54:59 +02:00
TomasVotruba
c92b572277 skip recursive call for method call name 2020-05-22 10:53:53 +02:00
TomasVotruba
a33374411c remove interface suffix/prexit for PropertyNaming 2020-05-22 10:14:08 +02:00
TomasVotruba
d0a12afe7d [Nette] Add ContextGetByTypeToConstructorInjectionRector 2020-05-22 09:10:05 +02:00
rector-bot
aa6a408060 fixup! fixup! add ParsedClassConstFetchNodeCollector 2020-05-21 15:05:38 +00:00
rector-bot
730090621f fixup! add ParsedClassConstFetchNodeCollector 2020-05-21 15:04:49 +00:00
TomasVotruba
a00329a4f1 add ParsedClassConstFetchNodeCollector 2020-05-21 17:01:29 +02:00
TomasVotruba
42890d64c5 add Symfony @required 2020-05-21 09:52:04 +02:00
TomasVotruba
678a992a9d [SOLID] add InjectMethodFactory for multi parent abstract rector 2020-05-21 09:50:38 +02:00
TomasVotruba
5bad3274b9 [SOLID] Add MultiParentingToAbstractDependencyRector 2020-05-21 09:15:47 +02:00
Tim Ward
c772ce2f6b
Fix code style 2020-05-20 15:45:12 -04:00
Tim Ward
4899b1217c
Guard against ShouldNotHappenException
See #3391
2020-05-20 15:05:31 -04:00
Carlos C Soto
a8c07e624a Fix RenameAnnotationRector for null phpdoc 2020-05-19 13:56:16 -05:00