6828 Commits

Author SHA1 Message Date
TomasVotruba
a7df09e9ed merge ParentTypehintedArgumentRector and AddParamTypeDeclarationRector to AddParamTypeDeclarationRector 2019-12-25 11:15:32 +01:00
Tomáš Votruba
4cf973295b
prevent re-adding id at AddEntityIdByConditionRector (#2479)
prevent re-adding id at AddEntityIdByConditionRector
2019-12-25 11:00:38 +01:00
TomasVotruba
af53da23ad prevent re-adding id at AddEntityIdByConditionRector 2019-12-25 10:49:48 +01:00
Tomáš Votruba
e6ef8b7352
Merge pull request #2478 from staabm/patch-2
Link a few more recent articles
2019-12-24 17:23:00 +01:00
Tomáš Votruba
67c4f76268
Add ScanFatalErrors command (#2476)
Add ScanFatalErrors command
2019-12-24 16:37:35 +01:00
Markus Staab
5f0bddddbf
Link a few more recent articles 2019-12-24 16:16:27 +01:00
TomasVotruba
e9073bc9c6 add scan fatal errors to CI 2019-12-24 16:11:44 +01:00
TomasVotruba
7e4c2887f9 fixup! Add ScanFatalErrors command 2019-12-24 16:10:57 +01:00
TomasVotruba
3742dc4b44 Add ScanFatalErrors command 2019-12-24 16:06:06 +01:00
Tomáš Votruba
03fbc5b0f7
Merge pull request #2475 from gnutix/RemoveEmptyClassMethodRector/add_fixture_private_protected_constructors
[RemoveEmptyClassMethodRector + RemoveDeadConstructorRector] Should not apply on protected/private constructors
2019-12-24 11:52:19 +01:00
Dorian Villet
56aa07c5c2 Abstract logic for named constructors in ClassMethodManipulator (reduces cognitive complexity). 2019-12-24 11:02:10 +01:00
Dorian Villet
6c93d9a0e4 Add more test cases and fix implementations for RemoveDeadConstructorRector and RemoveEmptyClassMethodRector 2019-12-24 10:41:42 +01:00
Dorian Villet
53ff958d61 Add fixtures for protected/private constructors in RemoveEmptyClassMethodRectorTest. 2019-12-24 10:18:58 +01:00
Tomáš Votruba
64adadabde
add symfony5 set (#2472)
add symfony5 set
v0.6.3
2019-12-23 18:28:45 +01:00
TomasVotruba
b71a765483 add symfony5 set 2019-12-23 18:18:50 +01:00
Tomáš Votruba
3735fd15f2
Merge pull request #2470 from rectorphp/argument-merge
merge Rector arguments on import
2019-12-23 14:09:24 +01:00
TomasVotruba
e7fb3376d0 merge Rector arguments on import 2019-12-23 12:16:59 +01:00
Tomáš Votruba
7482efffb1
Merge pull request #2469 from rectorphp/parent-param
add test case for #2451 + remove parameter shfiter
2019-12-23 08:51:36 +01:00
TomasVotruba
6c190e9997 remove confusing RectorServiceParametersShifter 2019-12-23 02:29:02 +01:00
TomasVotruba
bbea98af95 add test case for #2451 2019-12-23 01:19:55 +01:00
Tomáš Votruba
1029cd07e3
fix rename method call (#2467)
fix rename method call
2019-12-22 23:23:53 +01:00
TomasVotruba
5653f96fc0 fix rneame method call 2019-12-22 23:12:30 +01:00
Tomáš Votruba
da32a4044d
[Symfony] fix dot in GetParameterToConstructorInjectionRector (#2466)
[Symfony] fix dot in GetParameterToConstructorInjectionRector
2019-12-22 21:27:28 +01:00
Tomáš Votruba
ebacb2d113
[PHP Deglobalize] Add ChangeGlobalVariablesToPropertiesRector (#2465)
[PHP Deglobalize] Add ChangeGlobalVariablesToPropertiesRector
2019-12-22 21:27:20 +01:00
TomasVotruba
92879b285d fix dot in GetParameterToConstructorInjectionRector 2019-12-22 21:13:59 +01:00
TomasVotruba
4e9ab470de [PHP Deglobalize] Add ChangeGlobalVariablesToPropertiesRector 2019-12-22 21:08:35 +01:00
Tomáš Votruba
f7d3d26a40
[Nette] Control to Symfony Form + Controller (#2464)
[Nette] Control to Symfony Form + Controller
2019-12-22 20:01:44 +01:00
TomasVotruba
fb614b8ed2 update docs 2019-12-22 19:38:09 +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
c12eae9ddf [docs] add Rector recipe 2019-12-22 16:37:17 +01:00
Tomáš Votruba
7040a5cddd
Merge pull request #2461 from lulco/fix-static-type-mapper
Added int to StaticTypeMapper
2019-12-22 13:53:25 +01:00
Tomáš Votruba
a6e5a86186
[Doctrine] Add AddEntityIdByConditionRector (#2463)
[Doctrine] Add AddEntityIdByConditionRector
2019-12-21 13:47:10 +01:00
TomasVotruba
da7e38528f uniquate test classes 2019-12-21 13:23:13 +01:00
TomasVotruba
579f58f2cb [Doctrine] Add AddEntityIdByConditionRector 2019-12-21 13:20:44 +01:00
Michal Lulco
847347a0e1 Added int to StaticTypeMapper 2019-12-20 15:15:08 +01:00
Tomáš Votruba
870e6e72f1
disable imports by default (#2459)
disable imports by default
2019-12-20 07:43:48 +01:00
TomasVotruba
fa7f785285 disable imports by default 2019-12-20 07:41:54 +01:00
Tomáš Votruba
82830e0805
Merge pull request #2458 from rectorphp/skip-double
prevent duplicated added interface
2019-12-19 23:56:16 +01:00
TomasVotruba
c7622ca5e8 prevent duplicated added interface 2019-12-19 23:55:50 +01:00
Tomáš Votruba
33437d4cf0
[Class_] Add AddInterfaceByTraitRector (#2457)
[Class_] Add AddInterfaceByTraitRector
2019-12-19 23:23:33 +01:00
TomasVotruba
7711b0aeba [Class_] Add AddInterfaceByTraitRector 2019-12-19 23:12:25 +01:00
TomasVotruba
9c1dd46bab release v0.6.2 v0.6.2 2019-12-18 19:07:00 +01:00
Tomáš Votruba
4540a918af
Merge pull request #2450 from rectorphp/static-inter
add intersection type support to StaticTypeMapper
2019-12-18 16:44:09 +01:00
TomasVotruba
d9b890db85 add intersection type support to StaticTypeMapper 2019-12-18 14:06:21 +01:00
Tomáš Votruba
a19bdf7350
[PHP 7.0] Add StaticCallOnNonStaticToInstanceCallRector edge ca… (#2448)
[PHP 7.0] Add StaticCallOnNonStaticToInstanceCallRector edge case of property fetch static call
2019-12-18 13:39:48 +01:00
TomasVotruba
7f97c27a36 [PHP 7.0] Add StaticCallOnNonStaticToInstanceCallRector edge case of property fetch static call 2019-12-18 13:29:49 +01:00
Tomáš Votruba
00f055d79b
[TypeDeclaration] Add AddParamTypeDeclarationRector (#2447)
[TypeDeclaration] Add AddParamTypeDeclarationRector
2019-12-18 11:44:07 +01:00
TomasVotruba
0303d9e064 merge configs fix config laod bug 2019-12-18 11:30:44 +01:00
TomasVotruba
9b8a32da6b [Nette 3.0] Add param types 2019-12-18 11:08:12 +01:00