1604 Commits

Author SHA1 Message Date
Tomas Votruba
436ba84f81 merge NodeTypeAnalyzer and NodeTypeResolver to latter one 2019-03-13 18:22:39 +01:00
Tomas Votruba
801d2e865a [PHPUnit] make Rectors work with self and this as well 2019-03-13 14:48:47 +01:00
Tomas Votruba
c78d415413 [PHPUnit] Improve DelegateExceptionArgumentsRector to work with setExpectedExceptionRegExp() 2019-03-13 14:13:49 +01:00
Tomas Votruba
ca204319b1 [PHPUnit] Add ReplaceAssertArraySubsetRector 2019-03-13 11:14:29 +01:00
Manuel Dalla Lana
9d66c6a45d Check minimum php version before running IsCountableRector and TernaryToSpaceshipRector 2019-03-12 18:05:52 +01:00
Ben Davies
68394f43d8 remove incorrect docs 2019-03-11 22:46:02 +00:00
Tomas Votruba
e1d988da3a update to phpstan 0.11.3 2019-03-11 08:53:02 +00:00
Tomas Votruba
130be71958 fix name type 2019-03-11 00:01:26 +00:00
Tomas Votruba
3048ef0d70 add Request class support 2019-03-10 20:12:31 +00:00
Tomas Votruba
994adbb4c6 add support for input() call 2019-03-10 19:51:13 +00:00
Anton Zdanov
52e2b62f32 test(RequestStaticValidateToInjectRector): add test case for function 2019-03-10 19:51:06 +00:00
Tomas Votruba
399a8ad549 [Laravel] Add request() to injection 2019-03-10 19:50:44 +00:00
Anton Zdanov
a77daa3ede
test(RequestStaticValidateToInjectRector): add alias test case 2019-03-10 19:36:16 +02:00
Tomas Votruba
b22d8921d7 [Laravel] Add HelperFunctionToConstructorInjectionRector 2019-03-10 15:16:55 +00:00
Tomas Votruba
a33fd02ece remove unused public methods 2019-03-09 18:08:38 +00:00
Tomas Votruba
ccf8fccf9f rename ConstantReplacerRector to RenameConstantRector 2019-03-09 13:08:21 +00:00
Tomas Votruba
32bc37f099 [CodingStyle] Add || support for 2 cases with the same output 2019-03-09 12:45:06 +00:00
Tomas Votruba
4a27d61ccd [Laravel] Add Redirect301ToPermanentRedirect 2019-03-08 23:30:29 +00:00
Tomas Votruba
25595b4177 [PHP] Add PregReplaceEModifierRector 2019-03-08 15:42:50 +00:00
Tomas Votruba
708029e7a3 [Laravel] Add RequestStaticValidateToInjectRector 2019-03-04 13:13:31 +01:00
Tomas Votruba
1d8deff30a [PHPUnit 8.0] Add null to assertInternalType conversion 2019-03-04 11:35:02 +01:00
Tomas Votruba
37868819b8 make MinutesToSecondsInCacheRector vendor code independent 2019-03-04 09:41:24 +01:00
Tomas Votruba
2769f7a25d [Laravel] Add MinutesToSecondsInCacheRector 2019-03-04 09:35:40 +01:00
Tomas Votruba
22c833e302 add Laravel 58 set 2019-03-04 00:08:52 +01:00
Tomas Votruba
ca7780dfda [Laravel] Add FacadeStaticCallToConstructorInjectionRector 2019-03-03 23:34:53 +01:00
Tomas Votruba
f5578df9b8 [NodeTypeResolver] Add attribute factory to DocBlockManipulator 2019-03-01 12:59:42 +01:00
Tomas Votruba
c819bb0c26 Add BetterPhpDocParser package 2019-03-01 00:12:44 +01:00
Tomas Votruba
27ccbf34a5 fix missing */ 2019-02-28 00:45:59 +01:00
Tomas Votruba
c9cbf58e19 rename getMethodByName to getMethod 2019-02-28 00:17:37 +01:00
Tomáš Votruba
f80f1ed191
Merge pull request #1131 from rectorphp/naming
rename Analyzer and Maintainer to Manipulator
2019-02-27 23:00:59 +01:00
Tomas Votruba
8208eff75e rename Analyzer and Maintainer to Manipulator 2019-02-27 22:54:39 +01:00
Tomas Votruba
7c6ee5690f [NetteToSymfony] Fix new route for already present annotation above method 2019-02-27 19:45:12 +01:00
Tomas Votruba
3d4f55c172 apply code-quality level 2019-02-27 14:21:11 +01:00
Tomas Votruba
ac45d54145 apply coding-style level on Rector 2019-02-27 14:16:19 +01:00
Tomas Votruba
3d84842545 fix ArrayKeyFirstLastRector min required php 2019-02-27 14:02:28 +01:00
Tomas Votruba
31d1cf253f fix NullableCompareToNullRector for various arrays 2019-02-27 13:14:20 +01:00
Tomas Votruba
962956bda1 [CodingStyle] Improve nullable compare for empty scalars 2019-02-27 12:58:43 +01:00
Tomas Votruba
2a2703a0bc [DeadCode] Add RemoveDeadConstructorRector 2019-02-27 12:35:13 +01:00
Tomas Votruba
3302c21b5f [CodingStyle] Add SymplifyQuoteEscapeRector 2019-02-27 12:23:55 +01:00
Tomas Votruba
4a5b33ed55 [CodeQuality] Add SimplifyBoolIdenticalTrueRector 2019-02-27 00:24:12 +01:00
Tomas Votruba
2ae3f7252a [CodeQuality] Add SimplifyDuplicatedTernaryRector 2019-02-26 18:12:03 +01:00
Tomas Votruba
5a7f89dbef [PHP 7.2] Add StringifyDefineRector 2019-02-26 01:21:59 +01:00
Tomas Votruba
ea599e32be fix used doc alias 2019-02-26 01:12:03 +01:00
Tomas Votruba
b401be37e5 Add PhpVersionProvider 2019-02-24 11:38:22 +01:00
Tomas Votruba
59e76e887b correct Celebrity config 2019-02-23 13:10:45 +01:00
Tomas Votruba
f31071cec2 extend LogicalOrToBooleanOrRector to AND and rename to LogicalToBooleanRector 2019-02-23 12:45:42 +01:00
Tomas Votruba
b951e3e8d0 move LogicalOrToBooleanOrRector to celebrity level 2019-02-23 11:54:57 +01:00
Tomas Votruba
d543be5677 add test case for #1093 2019-02-23 11:36:28 +01:00
Tomas Votruba
f666bbe1de add class test to BinarySwitchToIfElseRector 2019-02-23 10:45:50 +01:00
Tomas Votruba
b7fd6aef6d Fix CreateFunctionToAnonymousFunctionRector for overriden values 2019-02-23 10:35:26 +01:00