1396 Commits

Author SHA1 Message Date
Tomas Votruba
d1b5b9743a [PHP 7.3] Add IfToSpaceshipRector 2018-12-31 17:46:34 +01:00
Tomas Votruba
80404600aa [PHPUnit] add test case for is_readable [closes #851] 2018-12-31 13:09:33 +01:00
Tomas Votruba
0b80b862aa update DOCS 2018-12-31 12:53:21 +01:00
Tomas Votruba
e89a0c1b4d [CodeQuality] Add SimplifyIfElseToTernaryRector 2018-12-31 12:52:52 +01:00
Tomas Votruba
823c3c076b [CodeQuality] Add SingleInArrayToCompareRector [closes #858] 2018-12-31 12:22: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
00e25abb89 [CodeQuality] Add SimplifyForeachToArrayFilterRector 2018-12-28 18:03:15 +01:00
Tomas Votruba
80e7546aae move SimplifyMirrorAssignRector to DaedCode 2018-12-28 15:52:59 +01:00
Tomas Votruba
0dd4c133cb add areNodesEqual() to printer 2018-12-25 22:37:17 +01:00
Tomas Votruba
c03b1b1fb3 [DeadCode] Add RemoveUnusedParameterRector 2018-12-25 22:31:48 +01:00
Tomas Votruba
a62c36d319 [DeadCode] Add RemoveDoubleAssignRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
1c093821a3 [CodeQuality] Add SimplifyTautologyTernaryRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
f238f2a310 [DeadCode] Add RemoveUnusedPrivatePropertyRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
e696d65e2d [DeadCode] Add RemoveEmptyClassMethodRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
079dce59b0 remove style apply from CreateRectorCommand, used manually after the body code anyway 2018-12-25 20:44:12 +01:00
Tomas Votruba
ae7b463d3d [DeadCode] Add RemoveParentCallWithoutParentRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
7a2bb9148a [DeadCode] Add RemoveUnusedForeachKeyRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
b09976b828 [DeadCode] Add RemoveDuplicatedArrayKeyRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
44ed981c56 create DeadCode package 2018-12-25 12:38:07 +01:00
Tomas Votruba
2178625375 fix command name in travis 2018-12-25 02:11:24 +01:00
Tomas Votruba
689155cec2 use ContributorCommandInterface instead of explicit command checks 2018-12-23 18:12:32 +01:00
Tomas Votruba
e3ffb69230 move GenerateRectorOverview to GenerateDocs in ContributorTools 2018-12-23 18:12:32 +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
26b83be1f7 [CodingStyle] Add CompleteVarDocTypeConstantRector 2018-12-22 15:22:44 +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
a8ff362447 fix non-local trait 2018-12-20 21:07:20 +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
aeb89aa464 fix printing of empty array 2018-12-20 20:05:59 +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
9d8be88d2f fix printer to keep '(param): ReturnType' spacing 2018-12-17 01:27:38 +01:00
Tomas Votruba
17c441b833 cleanup 2018-12-17 00:00:16 +01:00
Tomáš Votruba
08f13b0b54
Merge pull request #824 from rectorphp/inverse
[CodeQuality] Add SimplifyDeMorganBinaryRector
2018-12-16 22:45:32 +01:00
Tomas Votruba
71ab6b5599 Add DeMorgan simplify Rector + update create command process 2018-12-16 22:37:30 +01:00