780 Commits

Author SHA1 Message Date
TomasVotruba
7d5a1250eb rename StateHolder, to TokenSwitcher 2017-08-08 01:59:37 +02:00
TomasVotruba
d8849f04cd add uncommented tests 2017-08-08 01:20:16 +02:00
TomasVotruba
4d931010d0 fix cs 2017-08-08 01:18:55 +02:00
TomasVotruba
ae5f24d677 fixes 2017-08-07 23:12:10 +02:00
TomasVotruba
7b03a0c30e wip 2017-08-07 17:52:18 +02:00
TomasVotruba
23dde903b7 refactor NodeVisitor to Rectors 2017-08-07 17:41:58 +02:00
TomasVotruba
bcc02f678c move NodeVisitor to Rector, add AbstractRector 2017-08-07 17:27:04 +02:00
TomasVotruba
61c7ef9de0 improve tests 2017-08-06 23:37:10 +02:00
TomasVotruba
d818014477 StatementGlue added 2017-08-06 23:24:58 +02:00
TomasVotruba
58f638d104 [NodeTraverser] add ParentClassToTrait refactor 2017-08-06 19:49:19 +02:00
TomasVotruba
63bbfb3efc improve coding standard, add DeprectionInterface 2017-08-06 19:37:55 +02:00
TomasVotruba
f8420008f3 [NodeVisitor] make ReplaceDeprecatedConstant abstract 2017-08-06 19:26:39 +02:00
TomasVotruba
2beb152e5f [UpgradeDeprecation] add ReplaceDeprecatedConstantNodeVisitor 2017-08-06 18:51:23 +02:00
TomasVotruba
71497ab319 cs fixes 2017-08-03 19:11:32 +02:00
TomasVotruba
09c13a11fa [NamedServicesToContrutor] make tests pass 2017-07-20 18:58:34 +02:00
TomasVotruba
80314eb924 decouple ClassPropertyCollector, [NamedServicesToContstructor] change mechanism to add new properties post traverse 2017-07-20 18:37:43 +02:00
TomasVotruba
01a5fd8b41 make test pass 2017-07-20 17:23:10 +02:00
TomasVotruba
82e8858158 namespace typos fix 2017-07-20 16:37:31 +02:00
TomasVotruba
222557c122 [NamedServicesToContructor] split NodeVisitors to do particular job 2017-07-19 18:52:54 +02:00
TomasVotruba
8f87dd58d6 cleanup 2017-07-19 00:42:50 +02:00
TomasVotruba
3a6eee57f3 [NodeTraverser] use it instead of Dispatcher and own solution 2017-07-18 23:59:43 +02:00
TomasVotruba
e32453e2be use format preserving AST Transformation, disable PHPStan, doesn't work with php-parser 4.0-dev 2017-07-16 23:15:41 +02:00
TomasVotruba
4fe18bacab NamedServicesReconstructor - add test for double use of one service 2017-07-16 21:15:02 +02:00
TomasVotruba
7c2a01a4e5 [Analyzer] decouple ClassAnalyzer 2017-07-16 21:09:58 +02:00
TomasVotruba
05ae2c05a0 [Reconstructor] add expr check 2017-07-16 20:32:48 +02:00
TomasVotruba
95d105512a [Reconstructor] NamedServicesToConstructor next 2017-07-16 19:13:21 +02:00
TomasVotruba
e59acf0d18 [Reconstructor] NamedServicesToConstructor init 2017-07-16 14:56:38 +02:00
TomasVotruba
57f291a389 [Reconstructor] add ContructorMethodBuilder, relieve InjectReconstructor 2017-07-16 13:13:24 +02:00
TomasVotruba
7446ce99c6 [tests] move AbstractReconstructorTestCase to src/Testing 2017-07-15 19:03:14 +02:00
TomasVotruba
764ce4bb08 init 2017-07-15 19:01:21 +02:00