158 Commits

Author SHA1 Message Date
Tomas Votruba
465bd42925 use new PHP CS Fixer sort style for function namespaces 2019-01-02 14:22:25 +01:00
Tomas Votruba
3db8bc5324 Fix missing arguments in StaticCallOnNonStaticToInstanceCallRector [closes #923] 2019-01-02 14:00:55 +01:00
Tomas Votruba
e77ac7c2ea [PHP] Add PreferThisOrSelfMethodCallRector 2018-12-31 20:28:56 +01:00
Tomas Votruba
78b65fe15f extends StaticCallOnNonStaticToInstanceCall 2018-12-31 19:03:31 +01:00
Tomas Votruba
f0be517a16 [PHP] Add ThisCallOnStaticMethodToStaticCallRector 2018-12-31 18:47:30 +01:00
Tomas Votruba
dd5956bd9d [PHP] Add StaticCallOnNonStaticToInstanceCallRector 2018-12-31 18:28:12 +01:00
Tomas Votruba
d6a696196b [PHP 7.3] Add IfToSpaceshipRector 2018-12-31 18:13:43 +01:00
Tomas Votruba
d1b5b9743a [PHP 7.3] Add IfToSpaceshipRector 2018-12-31 17:46:34 +01:00
Tomas Votruba
0b80b862aa update DOCS 2018-12-31 12:53:21 +01:00
Tomas Votruba
d55cd61803 [PHP 7.4] Add MbStrrposEncodingArgumentPositionRector 2018-12-31 10:47:08 +01:00
Tomas Votruba
4b1ab008ef [Php 7.4] Add GetCalledClassToStaticClassRector 2018-12-31 10:25:07 +01:00
Tomas Votruba
d080786248 [PHP 7.4] Add ClassConstantToSelfClassRector 2018-12-31 01:55:45 +01:00
Tomas Votruba
218f4c2a50 [PHP 7.4] Add ExportToReflectionFunctionRector 2018-12-31 01:42:02 +01:00
Tomas Votruba
d016738087 [PHP 7.4] Add FilterVarToAddSlashesRector 2018-12-31 01:35:24 +01:00
Tomas Votruba
2cf31cfd81 [PHP 7.4] Add ArrayKeyExistsOnPropertyRector 2018-12-31 01:25:18 +01:00
Tomas Votruba
530b2f1310 Add CallableCollectorPopulator 2018-12-23 18:03:37 +01:00
Tomas Votruba
d9c6fcf96d add typed array support + callable 2018-12-23 16:00:05 +01:00
Tomas Votruba
80ee432f35 add support for union types to CompleteVarDocTypePropertyRector 2018-12-23 12:07:04 +01:00
Tomas Votruba
a0e4f65e3e fix TypePropertyRector not to remove @var docs, cs should to that [closes #886] 2018-12-22 15:31:55 +01:00
Tomas Votruba
48cb147db4 Add CompleteVarDocTypePropertyRector 2018-12-22 15:20:55 +01:00
Tomas Votruba
421b307965 rename *ScalarTypehint to *TypeDeclaration 2018-12-22 12:32:32 +01:00
Tomas Votruba
96314495df add static type analysis to type declaration complete 2018-12-22 12:05:09 +01:00
Tomas Votruba
67647fd16e add external variadic fix + detect root function name only 2018-12-21 20:14:09 +01:00
Tomas Votruba
e3a860fc46 fix CountOnNullRector for array default property 2018-12-21 18:42:14 +01:00
Tomas Votruba
d7d6372551 do not reflect non-existing function 2018-12-21 15:26:11 +01:00
Tomas Votruba
aa9f7845ba fix PHP4 constructor for expr 2018-12-20 20:59:34 +01:00
Tomas Votruba
9f97544c1d check existing method 2018-12-20 20:51:55 +01:00
Tomas Votruba
8e345870cd fix PHP4ConstructorRector 2018-12-20 20:39:13 +01:00
Tomas Votruba
2c6509279f fix PHP4ConstructorRector 2018-12-20 20:33:05 +01:00
Tomas Votruba
c31dcb18a0 add few create_function cases 2018-12-18 01:02:24 +01:00
Tomas Votruba
65764c4eec shorten indent on test file list 2018-12-17 01:28:51 +01:00
Tomas Votruba
17c441b833 cleanup 2018-12-17 00:00:16 +01:00
Tomas Votruba
15d8b9105a simplify pattern to left and right handed 2018-12-16 21:56:54 +01:00
Tomas Votruba
69622aa7dd add regex constant definition 2018-12-16 16:38:57 +01:00
Tomas Votruba
740d0cc820 add previous variable definition 2018-12-16 15:22:46 +01:00
Tomas Votruba
3f8c9431ea sort methods by their call 2018-12-16 15:22:46 +01:00
Tomas Votruba
558fa593c3 Add RegexDashEscapeRector 2018-12-16 15:22:46 +01:00
Tomas Votruba
3ce2e41a03 remove unused configs 2018-12-16 02:39:26 +01:00
Tomas Votruba
605419a0d4 improve CreateFunctionToAnonymousFunctionRector 2018-12-16 02:05:31 +01:00
Tomas Votruba
6ed11cc2ef improve SimplifyForeachToCoalescingRector 2018-12-15 21:31:14 +01:00
Tomas Votruba
62dd290641 apply code-quality level 2018-12-15 21:08:00 +01:00
Tomas Votruba
2f92e5e111 add FunctionLikeNodeCollector, improve RemoveExtraParametersRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
3376254f77 Add CreateFunctionToAnonymousFunctionRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
daa8f01688 Add StringsAssertNakedRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
8f57b231ba add getValue(), isValue() and areValues() to AbstractRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
8b43393e6a Add TernaryToSpaceshipRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
e7e01659ef Add ParseStrWithResultArgumentRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
f3398e3acb Add ReduceMultipleDefaultSwitchRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
8d783a68bd Add RemoveExtraParametersRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
cac89cbb9a add NullCoalescingOperatorRector 2018-12-14 22:45:07 +01:00