188 Commits

Author SHA1 Message Date
Tomas Votruba
f238f2a310 [DeadCode] Add RemoveUnusedPrivatePropertyRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
157685642d Add Composer/MonorepoAutoloadEventSubscriber 2018-12-25 20:44:12 +01:00
Tomas Votruba
530b2f1310 Add CallableCollectorPopulator 2018-12-23 18:03:37 +01:00
Tomas Votruba
67647fd16e add external variadic fix + detect root function name only 2018-12-21 20:14:09 +01:00
Tomas Votruba
aeb89aa464 fix printing of empty array 2018-12-20 20:05:59 +01:00
Tomas Votruba
740d0cc820 add previous variable definition 2018-12-16 15:22:46 +01:00
Tomas Votruba
6ed11cc2ef improve SimplifyForeachToCoalescingRector 2018-12-15 21:31:14 +01:00
Tomas Votruba
3376254f77 Add CreateFunctionToAnonymousFunctionRector 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
c10a32a67b remove unreported errors 2018-12-14 20:26:29 +01:00
Tomas Votruba
d376e90319 add Mysql to Mysqli set 2018-12-13 12:16:39 +01:00
Tomas Votruba
17f6e74c04 phpstan: move level to config 2018-12-12 09:58:55 +01:00
Tomas Votruba
e6e8da3747 ErrorAndDiffCollector cleanup 2018-12-08 15:41:55 +01:00
Tomas Votruba
a6d2d52eac temporary changes of AppliedRectorsCollector and re-runners 2018-12-08 13:30:32 +01:00
Tomas Votruba
c01d9bcc7d add Configuration 2018-12-08 13:01:08 +01:00
Tomas Votruba
328e3b1eb4 phpstan - remove unreported errors 2018-12-07 19:01:51 +01:00
Tomas Votruba
880b74cf46 Resolve sprintf pre-assign case for StringToArrayArgumentProcessRector 2018-12-06 15:26:42 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +01:00
Tomas Votruba
36dc29b56d merge Utils package to PhpParser 2018-11-08 13:04:38 +01:00
Tomas Votruba
efc39b394d Add NodeAddingCommander 2018-11-07 21:58:41 +01:00
Tomas Votruba
9283ac30bf make use of AssignAndBinaryMap 2018-11-07 19:59:22 +01:00
Tomas Votruba
d166ff0151 improve CodeQuality 2018-11-07 02:50:22 +01:00
Tomas Votruba
8cce043697 make use of BinaryOpMaintainer 2018-11-07 01:24:44 +01:00
Tomas Votruba
082864b772 fix SimplifyEmptyArrayCheckRector for non-empty cases 2018-11-07 01:07:31 +01:00
Tomas Votruba
7deeab99ec merge ClassLikeMaintainer + ClassDependencyMaintaienr to ClassMaintainer 2018-11-04 20:13:03 +01:00
Tomas Votruba
1d56621757 move Builder under PhpParser\Node namespace 2018-11-04 19:06:27 +01:00
Tomas Votruba
aaf409eed2 move php-parser related code under PhpParser namespace, add Maintainer type for services reading/writing to nodes 2018-11-04 02:17:02 +01:00
Tomas Votruba
058c7d8c56 move PropertyFetchNodeFactory to NodeFactoryTrait 2018-11-03 23:05:29 +01:00
Tomas Votruba
d71d6a1f12 make use of NodeFactoryTrait 2018-11-03 21:53:08 +01:00
Tomas Votruba
075707447a [Symfony] Add FormTypeInstanceToClassConstRector 2018-10-24 12:06:35 +02:00
Tomas Votruba
9374604bc2 Improve MethodNameReplacerRector 2018-10-22 19:40:27 +02:00
Tomas Votruba
09027d06eb resolve phpstan reports 2018-10-22 18:02:36 +02:00
Tomas Votruba
f823f2a50c [Arguments] Refactor to constistent config 2018-10-22 00:16:41 +02:00
Tomas Votruba
486f7f4b64 [PHPUnit] Add SimplifyForeachInstanceOfRector 2018-10-21 13:17:20 +02:00
Tomas Votruba
a2c0fd23b1 fix new phpstan reports 2018-10-21 10:53:32 +02:00
Tomas Votruba
f02c5810ab Add var fallback to JmsInjectAnnotationRector 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
4faa1425c8 [PHP] Add BarewordStringRector 2018-10-17 10:16:32 +02:00
Tomas Votruba
a7afe1fed9 [CodeQuality] Add SimplifyFalseComparisonToNegateRector 2018-10-15 21:47:46 +08:00
Tomas Votruba
5deb94f9ff unite refactor(node) naming to node, to make clear the main argument name 2018-10-15 14:45:34 +08:00
Tomas Votruba
f0fdc8e410 remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
0e33b525fe Remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
9b569f6c44 make use of TypeAnalyzerTrait 2018-10-15 08:14:21 +08:00
Tomas Votruba
dee5c4e427 [ContributorTools] Add CreateRectorCommand 2018-10-14 15:29:56 +08:00
Tomas Votruba
0934960e6d make use of CallAnalyzer to prevent Var string errors with non-string funciton and method call names 2018-10-13 23:13:13 +08:00
Tomas Votruba
0fe2624033 composer: bump phpstan-strict-rules 2018-10-13 00:59:06 +08:00
Tomas Votruba
2b2049c923 [PHP] Add ArrayKeyFirstLastRector 2018-10-11 14:17:41 +08:00
Tomas Votruba
7fd2d119c0 bump to php-parser 4.1 2018-10-10 23:17:55 +08:00
Tomas Votruba
39c9c6982a [PHP] Add EregToPregMatchRector 2018-10-09 13:05:50 +08:00
Tomas Votruba
658cef5fc2 [PHP] Add MultiExceptionCatchRector 2018-10-08 12:52:26 +08:00