1717 Commits

Author SHA1 Message Date
Tomas Votruba
4f5c7e7b80 merge PhpDocModifier and DocBlockManipulator to latter one 2019-03-16 01:26:35 +01:00
Tomas Votruba
5a32647110 remove duplicated switch run 2019-03-15 20:14:41 +01:00
Tomas Votruba
f1918f9e28 remove uneeded identifier checks 2019-03-15 20:10:50 +01:00
Tomas Votruba
8e6c58e2c4 fix cs 2019-03-15 20:05:58 +01:00
Tomas Votruba
f3b296dfcc add mask support to isName(), remove matchName() 2019-03-15 20:05:51 +01:00
Tomáš Votruba
ec5b50e590
Merge pull request #1207 from bendavies/RemoveUnusedPrivateMethodRector-bug
add failing test for RemoveUnusedPrivateMethodRector
2019-03-15 17:28:30 +01:00
Tomáš Votruba
bd75cbae62
Merge pull request #1213 from shyim/enlight_response
Add rector to transform EnlightResponse to SymfonyResponse
2019-03-15 17:27:26 +01:00
Soner Sayakci
336e027dd8
Add rector to transform EnlightResponse to SymfonyResponse 2019-03-15 16:36:00 +01:00
Ben Davies
c00d5db8fb skip all methods starting in __ 2019-03-15 15:09:14 +00:00
Ben Davies
e2cd3a2805 do not remove abstract methods 2019-03-15 14:22:26 +00:00
Ben Davies
b8e4638865 add failing test for RemoveEmptyClassMethodRectorTest 2019-03-15 13:40:43 +00:00
Tomas Votruba
4fc9be383d [PhpSpecToPHPUnit] Init new package 2019-03-15 13:42:28 +01:00
Tomas Votruba
b8971dd69d add AbstractFileSystemRector 2019-03-14 16:28:16 +01:00
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