4493 Commits

Author SHA1 Message Date
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
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
Tomas Votruba
4bb41138f0 fix for anonymous classes 2019-02-18 20:30:28 +01:00
Tomas Votruba
3a2a754c2a [DeadCode] Add RemoveUnusedPrivateMethodRector 2019-02-18 20:30:28 +01:00
Tomáš Votruba
9f871d83be
Merge pull request #1060 from rectorphp/dead-constant
[DeadCode] Add RemoveUnusedPrivateConstantRector
2019-02-18 09:55:13 -08:00
Tomas Votruba
1e8443b4ab [DeadCode] Add RemoveUnusedPrivateConstantRector 2019-02-18 18:46:36 +01:00
Tomáš Votruba
be19ba3e89
Merge pull request #1057 from rectorphp/dead-reasign
[DeadCode] Remove overriden assign
v0.3.44
2019-02-18 09:07:48 -08:00
Tomas Votruba
07967d0273 update docs 2019-02-18 17:02:57 +01:00
Tomas Votruba
2bdbbe0527 [DeadCode] Add RemoveOverridenValuesRector 2019-02-18 17:02:57 +01:00
Tomáš Votruba
ca13548999
Merge pull request #1056 from rectorphp/specific-bool
[CodeQuality] Add ExplicitBoolCompareRector
2019-02-17 15:47:46 -08:00
Tomas Votruba
3175a8857a apply specific bool on code 2019-02-18 00:36:58 +01:00
Tomas Votruba
8515839d8f [CodeQuality] Add ExplicitBoolCompareRector 2019-02-18 00:23:57 +01:00
Tomas Votruba
64a901fa40 split configs to more 2019-02-17 02:24:38 +01:00
Tomáš Votruba
01a72bcfc4
Merge pull request #1055 from rectorphp/coal
[CodeQuality] Add SimplifyIfIssetToNullCoalescingRector
2019-02-16 17:23:48 -08:00
Tomas Votruba
f94ddfcd5f [CodeQuality] Add SimplifyIfIssetToNullCoalescingRector 2019-02-17 02:13:29 +01:00
Tomáš Votruba
04cb54463f
Merge pull request #1054 from rectorphp/nts-placeholder
[NTS] Add trans() param wrapper
2019-02-16 16:56:18 -08:00
Tomas Votruba
5a801624dc [NTS] Add trans() param wrapper 2019-02-17 01:24:39 +01:00
Tomáš Votruba
a62d6a4213
Merge pull request #1053 from rectorphp/cake-config
fix CakePHP 3.4 with config method
2019-02-16 16:03:51 -08:00
Tomas Votruba
9a17cb95be fix CakePHP 3.4 with config method 2019-02-17 00:48:27 +01:00
Tomáš Votruba
4386d50c39
Merge pull request #1052 from rectorphp/null-coala
Use official coala assign
2019-02-16 15:01:40 -08:00
Tomas Votruba
cdebbc8ae7 use ??= from php-parser 2019-02-16 23:51:11 +01:00
Tomáš Votruba
2d6c5e044c
Validate used import statement + replace docs blocks of method in ClassReplacerRector (#1036)
Validate used import statement + replace docs blocks of method in ClassReplacerRector
2019-02-16 14:50:58 -08:00
Tomas Votruba
40a11938c7 cleanup 2019-02-16 23:34:45 +01:00
Tomas Votruba
d39f45c951 use stable symplify 2019-02-16 23:25:49 +01:00
Tomas Votruba
e8677446be bump to php-parser with coala equal 2019-02-16 23:25:12 +01:00
Tomas Votruba
84846d685a add test case to keep namespace imported, make use of new type detection 2019-02-16 22:18:05 +01:00
Tomas Votruba
140a397ecc ignore test case in static analysis 2019-02-16 13:11:04 +01:00
Tomas Votruba
4c67d7d6f9 fix symfony42 config 2019-02-16 13:10:48 +01:00
Tomas Votruba
68ea5d8b76 add validation for nullable attribute 2019-02-16 13:10:29 +01:00
Tomas Votruba
aed52c2484 simplify phpstan scripts 2019-02-16 13:10:20 +01:00
Tomas Votruba
1723104705 add parent class re-write test case 2019-02-16 13:10:07 +01:00
Tomas Votruba
cf121eb5a7 travis: remove platform reqs, not needed anymore 2019-02-16 13:09:44 +01:00