92 Commits

Author SHA1 Message Date
TomasVotruba
2f1e204364 misc 2020-01-21 16:46:59 +01:00
TomasVotruba
205ff17ec6 fix nette compat 2020-01-06 16:05:40 +01:00
TomasVotruba
22898a23cc add hasByType() method to PhpDocInfo 2019-12-27 13:48:50 +01:00
TomasVotruba
d4849b1cf3 add Translatable Behavior Rector 2019-12-27 13:25:14 +01:00
TomasVotruba
d61a911e6a [NetteCodeQuality] Add TemplateMagicAssignToExplicitVariableArrayRector 2019-12-26 19:04:56 +01:00
TomasVotruba
c7656e7951 [NetteToSymfony] Add FormControlToControllerAndFormTypeRector 2019-12-22 19:37:46 +01:00
TomasVotruba
556ba63347 [NetteToSymfony] Replace getPresenter()->getSession() with proper property call 2019-12-22 16:37:17 +01:00
TomasVotruba
9075363fef bump to PHPStan 0.12 2019-12-09 00:57:53 +01:00
TomasVotruba
290d0b4ee5 fixup! Merge pull request #2409 from rectorphp/phalcon-round-2 2019-12-08 18:01:29 +01:00
TomasVotruba
f2260c1d52 add support for assign cleanup 2019-11-25 01:12:01 +01:00
TomasVotruba
5bddbbebad [NetteToSymfony] Add DeleteFactoryInterfaceRector 2019-11-25 01:12:01 +01:00
TomasVotruba
a3693df310 use exclude as list 2019-11-22 20:10:39 +01:00
Tomas Votruba
2d30233a47 init DynamicTypeAnalysis 2019-11-11 17:35:34 +01:00
Tomas Votruba
8d57420bd6 use yieldFilesFromDirectory() in tests instead of explicid fixture naming 2019-11-05 18:02:26 +01:00
Tomas Votruba
40c49710e9 [cs] reoder private methods by call order 2019-10-30 10:49:07 +01:00
Tomas Votruba
8d1b732d0f use ->name on method call 2019-10-24 11:54:47 +02:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
8c259c8d92 add stubs over mirror class names in tests 2019-09-30 09:12:25 +02:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
598f228c6d decouple php doc ast node to factories 2019-09-27 14:40:09 +02:00
Tomas Votruba
3b151c8130 [Symfony] Add MergeMethodAnnotationToRouteAnnotationRector 2019-09-24 20:17:50 +02:00
Tomas Votruba
417ee5c749 decouple 2019-09-21 21:18:24 +02:00
Tomas Votruba
3f6fddee71 make DocBlockManipulator protected in AbstractRector + add ColumnGenerator annotatoin parsing 2019-09-19 17:30:31 +02:00
Tomas Votruba
407c3dc7b3 add UseImportsRemover 2019-09-19 11:25:47 +02:00
Tomas Votruba
3846725313 moving SymfonyRoute tag to tag value node 2019-09-19 11:21:01 +02:00
Tomas Votruba
69cb7ade6c fix spacing for printed nested orm annotations 2019-09-19 10:15:41 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +02:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
622b6c1460 migrate TypeInferers to PHPStan object types 2019-09-10 20:40:43 +02:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
9cc1c9909a remove CallableCollectorPopulator 2019-09-04 13:26:23 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
Tomas Votruba
ac08e7c320 cleanup type resolving 2019-09-02 12:50:38 +02:00
Tomas Votruba
2e97a3d315 make use of getProperties() 2019-09-01 21:45:26 +02:00
Tomas Votruba
f0d5b5af76 merge isName and isNameInsensitive 2019-08-25 13:02:19 +02:00
Tomas Votruba
201a8f31fa update getName() 2019-08-04 20:41:51 +02:00
Tomas Votruba
b6eddb6ac2 use constant over string for class name 2019-06-05 17:48:40 +02:00
Tomas Votruba
f4cefb18d3 add CallableNodeTraverserTrait 2019-06-04 23:39:57 +03:00
Tomas Votruba
bc4da3b79a fix incompatibilites 2019-05-28 20:11:19 +02:00
Tomas Votruba
a0bb1ed604 cs: fix array indent 2019-05-28 20:11:19 +02:00
Tomas Votruba
83d2219ca7 [TypeDeclaration] Add AddFunctionReturnTypeRector 2019-05-10 14:55:55 +02:00
Tomas Votruba
1fe23d12c8 merge getRectorClass() and getRectorConfiguration() 2019-04-29 07:36:22 +02:00
Tomas Votruba
71f1af830c [tests] Refactor tests to use container just once, if not enforced config 2019-04-29 00:36:52 +02:00
Tomas Votruba
30536957e0 merge collected nodes to ParsedNodesByType 2019-04-14 00:20:05 +02:00
Tomas Votruba
7c9df2cefe rename Attribute to AttributeKey to prevent duplicated names with similar classes in 3rd party project 2019-04-13 14:21:36 +02:00
Tomas Votruba
2edfb75319 make use of createMethodCall() 2019-04-01 13:40:09 +02:00
Tomas Votruba
acec585d2d [DeadCode] Make RemoveDoubleAssignRector ignore array dim fetch, keep only variable and property 2019-03-31 15:43:56 +02:00
Tomas Votruba
f4fa2c90fc [PhpSpecToPHPUnit] Add no-let method 2019-03-27 00:37:42 +01:00
Tomas Votruba
9e2d065d80 [NetteToSymfony] Add NetteControlToSymfonyControllerRector 2019-03-17 12:50:43 +01:00
Tomas Votruba
84ff9c3641 [NetteToSymfony] Add NetteFormToSymfonyFormRector 2019-03-17 12:50:43 +01:00