4723 Commits

Author SHA1 Message Date
Tomas Votruba
62fb154906 make OutputFormatters specific for DumpRectorsCommand 2019-02-23 00:49:32 +01:00
Tomas Votruba
bfff23fbb2 use AbstractHttpKernelTest case and local Kernel over ContainerFactory 2019-02-23 00:49:32 +01:00
Tomas Votruba
c5ee28cc2d Add "dump-node-help" command 2019-02-23 00:49:32 +01:00
Tomáš Votruba
314ad285e9
Merge pull request #1108 from rectorphp/naming
use node-class based naming
2019-02-22 18:58:33 +01:00
Tomas Votruba
f574c3374f use node-class based naming 2019-02-22 18:34:41 +01:00
Tomas Votruba
878f68d3db include doctrine set 2019-02-22 15:12:02 +01:00
Tomas Votruba
6e1099f82d complete Doctrine and Kdyby migrations to nette-to-symfony set 2019-02-22 15:10:55 +01:00
Tomáš Votruba
c7ce949a16
Merge pull request #1105 from rectorphp/visbility-trait
add VisibilityTrait
2019-02-22 00:09:48 +01:00
Tomas Votruba
26dc927e31 add VisibilityTrait 2019-02-22 00:08:38 +01:00
Tomas Votruba
7beababe25 rename utils/phsptan to utils/PHPStanExtensions v0.4.2 2019-02-21 19:18:09 +01:00
Tomáš Votruba
bd221bb241
Merge pull request #1098 from rectorphp/list-influencers
Show current configuration in "show" command
2019-02-21 06:10:10 -08:00
Tomas Votruba
8084208951 make show command display config as well 2019-02-21 15:06:08 +01:00
Tomas Votruba
2c14252b37 sort services by name in show command 2019-02-21 15:06:08 +01:00
Tomáš Votruba
8371a3285a
Merge pull request #1095 from rectorphp/show
Add Show command to list loaded rectors
2019-02-21 04:06:28 -08:00
Tomas Votruba
fac42ed6bb Add Show command to list loaded rectors 2019-02-21 12:24:20 +01:00
Tomas Votruba
aebb74b071 ecs: use underscore option name for consistent and better readability 2019-02-21 12:08:26 +01:00
Tomas Votruba
c93b2db8d8 improve SensitiveConstantNameRector code 2019-02-21 12:05:20 +01:00
Tomáš Votruba
ef6bd19e70
Merge pull request #1090 from rectorphp/extra-param-fail
Resolve StaticCall::method corretly
2019-02-20 17:28:49 -08:00
Tomas Votruba
a9bedb7c46 add test case for /RemoveExtraParametersRector 2019-02-21 02:10:56 +01:00
Tomáš Votruba
4d0a2f34f0
Merge pull request #1086 from jkuchar/patch-2
SensitiveConstantNameRector: ignore existing contants
2019-02-20 16:21:13 -08:00
Jan Kuchař
fc91cc3ec7
SensitiveConstantNameRector: ignore existing contants
case-sensitivity test of `defined()`: https://3v4l.org/DA23r
2019-02-21 01:03:08 +01:00
Tomas Votruba
aecebd1d5c fix nette-to-symfony config v0.4.1 2019-02-21 00:45:20 +01:00
Tomáš Votruba
ef8f7e886b
Merge pull request #1079 from rectorphp/dead-code-return
[DeadCode] Add RemoveCodeAfterReturnRector
v0.4.0
2019-02-20 06:24:38 -08:00
Tomas Votruba
5ba6417aec [DeadCode] Add RemoveCodeAfterReturnRector 2019-02-20 15:02:07 +01:00
Tomáš Votruba
87a71dc3fd
Merge pull request #1078 from rectorphp/strict-compare
[CodeQuality] Add UseIdenticalOverEqualWithSameTypeRector
2019-02-20 05:41:47 -08:00
Tomas Votruba
c105f3b7ae [CodeQuality] Add UseIdenticalOverEqualWithSameTypeRector 2019-02-20 14:33:50 +01:00
Tomáš Votruba
c6ca92d97e
Merge pull request #1077 from rectorphp/spageti
Add Spageti note
2019-02-20 05:29:59 -08:00
Tomas Votruba
b6c3a88af7 add warning about html + php code mix 2019-02-20 14:21:43 +01:00
Tomas Votruba
d5d0dedcfd Add Spaghetti test [closes #1071] 2019-02-20 14:19:35 +01:00
Tomas Votruba
a88ff23103 remove old rector name from config 2019-02-20 13:53:14 +01:00
Tomáš Votruba
6fdcfcb8fb
Merge pull request #1076 from rectorphp/switch-continue
[PHP] Add ContinueToBreakInSwitchRector
2019-02-20 03:50:04 -08:00
Tomas Votruba
0b31eebd0c [PHP] Add ContinueToBreakInSwitchRector 2019-02-20 12:36:58 +01:00
Tomas Votruba
83231b949e make spagetti proof 2019-02-20 01:18:36 +01:00
Tomáš Votruba
87054bb7c1
Merge pull request #1075 from rectorphp/referen-in-code
[PHP] RemoveReferenceFromCallRector
2019-02-19 16:18:05 -08:00
Tomas Votruba
2c93adc0d9 [PHP] RemoveReferenceFromCallRector 2019-02-20 01:04:27 +01:00
Tomáš Votruba
62c3f3638b
Merge pull request #1074 from rectorphp/not-same
[CodeQuality] Add CommonNotEqualRector
2019-02-19 09:40:28 -08:00
Tomas Votruba
724087521c [CodeQuality] Add CommonNotEqualRector 2019-02-19 18:26:22 +01:00
Tomas Votruba
3b428bf498 add function support to RemoveOverriddenValuesRector [closes #1062] 2019-02-19 18:16:45 +01:00
Tomáš Votruba
4ea85ae44a
Merge pull request #1072 from rectorphp/mysqli
[PHP Mysql to Mysqli] Add ConstantReplacerRector
2019-02-19 08:15:08 -08:00
Tomas Votruba
2b88b06dd4 add mktime deprecation 2019-02-19 17:12:33 +01:00
Tomas Votruba
71c8face3b improve set test casecs 2019-02-19 16:56:41 +01:00
Tomas Votruba
59bba92f5c add define test [closes #1068] 2019-02-19 16:52:08 +01:00
Tomas Votruba
9fdf6c9336 Add SwapFuncCallArgumentsRector 2019-02-19 16:52:08 +01:00
Tomas Votruba
683cb08846 add MysqlPConnectToMysqliConnectRector 2019-02-19 16:52:07 +01:00
Tomas Votruba
5764c81de6 add SetTest 2019-02-19 16:09:53 +01:00
Tomas Votruba
1780e9b44b move mysql-to-mysqli migration to own package 2019-02-19 16:05:34 +01:00
Tomas Votruba
d7038ec3e2 Add ConstantReplacerRector 2019-02-19 15:53:31 +01:00
Tomáš Votruba
5e59d0f76f
Merge pull request #1063 from rectorphp/var
[PHP 5.2] Add var to public property
2019-02-18 23:32:20 -08:00
Tomas Votruba
52608c5575 [PHP 5.2] Add var to public property 2019-02-19 08:22:45 +01:00
Tomáš Votruba
2855665808
Merge pull request #1061 from rectorphp/dead-method
[DeadCode] Add RemoveUnusedPrivateMethodRector
2019-02-18 12:00:52 -08:00