656 Commits

Author SHA1 Message Date
TomasVotruba
08823bb449 skip self-class rename in RenameMethodRector 2020-07-14 00:22:31 +02:00
TomasVotruba
d42f34d39e inline single-used classes 2020-07-13 14:58:11 +02:00
TomasVotruba
9a5a8fe081 [Utils] Add RequireStringArgumentInMethodCallRule 2020-07-13 14:53:00 +02:00
TomasVotruba
2023d41061 fix import of already existing param/var/return type or class annotation 2020-07-12 19:38:46 +02:00
TomasVotruba
a619753f73 improve UnusedForeachValueToArrayKeysRector to work with array foreach values 2020-07-07 22:13:09 +02:00
TomasVotruba
3c3c3a9530 remove func call from methods calls 2020-07-06 01:59:41 +02:00
TomasVotruba
836200068b improve template annotation 2020-07-05 21:16:17 +02:00
TomasVotruba
8776345920 decouple createConcat() method 2020-07-04 18:01:55 +02:00
TomasVotruba
3353bc2ed4 update Fixture splitter class name 2020-07-04 17:23:50 +02:00
TomasVotruba
52acc54005 merge PropertyNaming to one class 2020-07-01 23:42:23 +02:00
TomasVotruba
7c62955a53 remove MethodBody to ClassMethod 2020-07-01 01:44:14 +02:00
TomasVotruba
b0250a558c cover return new case 2020-06-30 20:21:24 +02:00
TomasVotruba
547e15099d use explicit xBuilder classes to prevent typos and PHPStan and PHPStorm confussion 2020-06-30 01:34:19 +02:00
TomasVotruba
828d8cf67f prevent remove false template 2020-06-29 13:50:36 +02:00
TomasVotruba
b5981133a9 [Decouple] Add DecoupleClassMethodToOwnClassRector 2020-06-28 14:13:29 +02:00
TomasVotruba
4d3f418638 clean phpstan.neon 2020-06-21 13:34:38 +02:00
TomasVotruba
08bbb789d1 make ParserFactory class unique 2020-06-21 13:34:28 +02:00
TomasVotruba
489531aee7 skip interface 2020-06-19 17:09:59 +02:00
TomasVotruba
715f87aff0 add test case for RenameTesterTestToPHPUnitToTestFileRector 2020-06-19 16:05:13 +02:00
TomasVotruba
f83c6c080e decouple ControlFactoryInterfaceAnalyzer 2020-06-19 15:51:41 +02:00
TomasVotruba
afe189d355 resolve @see annotations in AstractRector childs 2020-06-19 15:37:24 +02:00
TomasVotruba
48bbc835b1 add TokensByFilePathStorage 2020-06-18 21:10:41 +02:00
TomasVotruba
de0dbc6876 add BreakingREmovalGuard, CommentableNodeResolver, and @fixme to un-removable nodes in ini_get/ini_set 2020-06-18 12:07:26 +02:00
TomasVotruba
a593afb017 [PHP 7.4] Add safe_types option 2020-06-16 22:34:52 +02:00
TomasVotruba
aff10cf014 [Autodiscovery] Do not nest already correct name 2020-06-10 19:59:15 +02:00
Ondrej Mirtes
cdc4023d3c
Simplified PHPStan config 2020-06-08 00:19:29 +02:00
TomasVotruba
8c5deddea8 [Restoration] Add MakeTypedPropertyNullableIfCheckedRector 2020-06-07 11:19:28 +02:00
TomasVotruba
7272c0f3d7 refactor to EventAndListenerTree 2020-05-30 14:53:06 +02:00
TomasVotruba
f0a67edb7e [Nette Kdyby] Add ReplaceEventManagerWithEventSubscriberRector 2020-05-29 01:36:25 +02:00
TomasVotruba
3cfb77953f decouple VariableWithType 2020-05-28 16:13:07 +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
TomasVotruba
32caab5376 fix doc FQN importing 2020-05-17 13:33:48 +02:00
TomasVotruba
19e2a9db1a phpstan: skip future compat 2020-05-16 12:28:00 +02:00
TomasVotruba
8a28581ce1 [PSR-4] Add NormalizeNamespaceByPSR4ComposerAutoloadFileSystemRector 2020-05-14 01:42:17 +02:00
TomasVotruba
ffeb6c9f53 [PSR-4] Add test for NormalizeNamespaceByPSR4ComposerAutoloadRector 2020-05-14 00:35:00 +02:00
TomasVotruba
76c62e3445 update PHPStan 2020-05-10 23:10:58 +02:00
TomasVotruba
47f84a3609 static fixes 2020-05-09 20:44:14 +02:00
TomasVotruba
97040249f1 use Symplify SeeAnnotationToTestRule 2020-05-09 20:44:14 +02:00
TomasVotruba
153da89118 add FindFirstInstanceOfReturnTypeExtension 2020-05-09 20:44:14 +02:00
TomasVotruba
c8111834b3 add builder types 2020-05-07 01:32:26 +02:00
TomasVotruba
1795cd538c run phpstan on utils 2020-05-07 01:10:51 +02:00
TomasVotruba
2cd3e9b700 symplify NodeDumper to PHP code test 2020-05-05 21:38:44 +02:00
TomasVotruba
68680a3cdb [Order] Add OrderPublicInterfaceMethodRector 2020-05-04 00:10:46 +02:00
TomasVotruba
c3e82579e4 [Order] Add OrderPrivateMethodsByUseRector 2020-05-03 23:03:03 +02:00
TomasVotruba
ef5501d06c various cs cleanup 2020-05-03 21:33:36 +02:00
TomasVotruba
8e0deaa2b4 handle Symplify 7.3 deprecations in CS 2020-05-03 21:10:05 +02:00
TomasVotruba
a952cac41c complete @see annotation, minor improvements 2020-05-03 16:07:56 +02:00
TomasVotruba
012fe62736 [Naming] Decopule ConflictingNameResolver and ExpectedNameResolver 2020-05-02 23:36:39 +02:00
TomasVotruba
00b3184eb3 [Naming] Add RenamePropertyToMatchTypeRector 2020-05-02 22:36:11 +02:00