Commit Graph

17912 Commits

Author SHA1 Message Date
TomasVotruba 478ce64138 fix it all 2017-08-08 18:17:40 +02:00
TomasVotruba 102298d49a add NodeTraverserFactory 2017-08-08 17:55:38 +02:00
TomasVotruba 70bb18f099 renaming 2017-08-08 02:30:29 +02:00
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 604d4cb521 add FormCallbackRector 2017-08-08 01:15:01 +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 ef97f993be misc 2017-08-07 15:53:52 +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 5d7c589533 cs fixes 2017-08-06 23:11:50 +02:00
TomasVotruba 92400e8a0d fix cs 2017-08-06 19:52:50 +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 14fe13817a fix travis 2017-08-06 19:30:19 +02:00
TomasVotruba f8420008f3 [NodeVisitor] make ReplaceDeprecatedConstant abstract 2017-08-06 19:26:39 +02:00
TomasVotruba a3dd2d7591 fix composer shortcut 2017-08-06 19:00:25 +02:00
TomasVotruba 2beb152e5f [UpgradeDeprecation] add ReplaceDeprecatedConstantNodeVisitor 2017-08-06 18:51:23 +02:00
TomasVotruba 0ade452fde cs fixes 2017-08-04 08:20:18 +02:00
TomasVotruba e06b661982 fix cs 2017-08-03 19:11:55 +02:00
TomasVotruba 71497ab319 cs fixes 2017-08-03 19:11:32 +02:00
Tomáš Votruba 2b86f6497a Merge pull request #2 from TomasVotruba/new-rector-named-services
[Symfony] New Rector: named services in Symfony => constructor injection
2017-08-03 18:41:47 +02:00
TomasVotruba 9ab6c84629 add StateHolder as hotfix for printer bug 2017-07-20 19:45:25 +02:00
TomasVotruba 5dfa359257 cleanup 2017-07-20 19:20:09 +02:00
TomasVotruba 5120451ee5 cleanup 2017-07-20 19:10:06 +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 deaaa019ad remove unused helper method 2017-07-19 19:08:03 +02:00
TomasVotruba 94daf88807 decouple ServiceFromKernelResolver 2017-07-19 19:02:00 +02:00
TomasVotruba 222557c122 [NamedServicesToContructor] split NodeVisitors to do particular job 2017-07-19 18:52:54 +02:00
TomasVotruba 3e10bdfa84 cleanup 2017-07-19 11:03:15 +02:00
TomasVotruba 8f87dd58d6 cleanup 2017-07-19 00:42:50 +02:00
TomasVotruba ebe7698bae cleanup 2017-07-19 00:15:26 +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 595d0f0c3b upgrade to nikic/php-parser 4.0-dev 2017-07-16 22:43:11 +02:00
TomasVotruba 4fe18bacab NamedServicesReconstructor - add test for double use of one service 2017-07-16 21:15:02 +02:00
TomasVotruba 885a4e4f03 simplify 2017-07-16 21:11:00 +02:00
TomasVotruba 7c2a01a4e5 [Analyzer] decouple ClassAnalyzer 2017-07-16 21:09:58 +02:00
TomasVotruba 34bc21f579 decouple refactoring method for both cases 2017-07-16 20:53:57 +02:00
TomasVotruba 723d3633d1 ecs init 2017-07-16 20:44:05 +02:00
TomasVotruba dbaec745e4 fix phsptan 2017-07-16 20:34:20 +02:00
TomasVotruba 05ae2c05a0 [Reconstructor] add expr check 2017-07-16 20:32:48 +02:00
TomasVotruba aea9c41d3f [Reconstructor] details 2017-07-16 19:54:09 +02:00