2917 Commits

Author SHA1 Message Date
TomasVotruba
08567c2f6a add c alias for create command, fix html input for code samples 2020-01-20 00:09:56 +01:00
TomasVotruba
a74b6617bc fix cs 2020-01-19 22:35:03 +01:00
Jeroen Smit
8cecdb8a1a Run rector on self including some manual formatting 2020-01-19 20:45:01 +01:00
Jeroen Smit
c4085edccf Merge branch 'RemoveUnusedAliasBug' into rector-ci 2020-01-19 20:19:40 +01:00
Jeroen Smit
9847503e5c Preserve docblock in CombineIfRector 2020-01-19 20:16:57 +01:00
Jeroen Smit
5e8db85760 Fix breaking docblocks with union type 2020-01-19 20:08:03 +01:00
Tomas Votruba
c66836a23d
Merge pull request #2710 from jeroensmit/splitIfs
Added more logic for if statement splitting
2020-01-19 10:32:25 +01:00
Jeroen Smit
4d986dd23c Added more logic for if statement splitting 2020-01-19 10:11:17 +01:00
TomasVotruba
81531b2669 [CakePHPToSymfony] Add CakePHPControllerRenderToSymfonyRector 2020-01-19 02:21:07 +01:00
TomasVotruba
37c342b654 [CakePHPToSymfony] Add CakePHPControllerRenderToSymfonyRector 2020-01-18 23:09:01 +01:00
TomasVotruba
0b3a468dfa [CakePHPToSymfony] Add CakePHPControllerRedirectToSymfonyRector 2020-01-18 21:58:00 +01:00
TomasVotruba
aef86dda2f add this->view override support 2020-01-18 19:48:16 +01:00
TomasVotruba
a60e526722 [CakePHPToSymfony] Add CakePHPControllerComponentToSymfonyRector 2020-01-18 18:50:03 +01:00
TomasVotruba
22cbd150e8 [CakePHPToSymfony] Add CakePHPControllerHelperToSymfonyRector 2020-01-18 18:50:03 +01:00
TomasVotruba
95b5486747 [CakePHPToSymfony] Add CakePHPControllerActionToSymfonyControllerActionRector 2020-01-18 18:50:03 +01:00
TomasVotruba
a550868574 [CakePHPToSymfony] Add CakePHPControllerToSymfonyControllerRector 2020-01-18 18:50:03 +01:00
Tomas Votruba
e945600b14
Merge pull request #2708 from rectorphp/fix-type-order
Fix union type order in unique node hash
2020-01-18 18:45:07 +01:00
Tomas Votruba
35cbc9f36a
[AddArrayReturnDocTypeRector] Allow mixed[] and iterable<mixed>… (#2630)
[AddArrayReturnDocTypeRector] Allow mixed[] and iterable<mixed> in place of Rector's setting wrong infered types
2020-01-18 18:42:01 +01:00
TomasVotruba
a36f12d71d Fix union type order in unique node hash 2020-01-18 18:38:45 +01:00
Tomas Votruba
f41736b3b2
Merge pull request #2700 from Aerendir/failing-test-case-for-2699
Failing test case for #2699.
2020-01-18 18:30:14 +01:00
TomasVotruba
e0eca7892b Fix ReturnTypeDeclarationRector for throws type void 2020-01-18 18:25:40 +01:00
TomasVotruba
4d573cd78c make use of unwrapStmts 2020-01-18 18:15:39 +01:00
Tomas Votruba
4ca86631cd
Fix UnwrapFutureCompatibleIfFunctionExistsRector for no else [c… (#2706)
Fix UnwrapFutureCompatibleIfFunctionExistsRector for no else [closes #2691]
2020-01-18 18:15:16 +01:00
Tomas Votruba
8be51a178b
Merge pull request #2694 from Aerendir/failing-test-case-for-2693
Failing test case for #2693.
2020-01-18 18:14:07 +01:00
TomasVotruba
ef0c88f958 Fix UnwrapFutureCompatibleIfFunctionExistsRector for no else [closes #2691] 2020-01-18 18:10:58 +01:00
Tomas Votruba
14a0ff297d
updated UnwrapFutureCompatibleIfRectorTest (#2691)
updated UnwrapFutureCompatibleIfRectorTest
2020-01-18 18:00:39 +01:00
TomasVotruba
05b6df31e6 [CI] Add check for duplicated fixture after before content 2020-01-18 01:03:39 +01:00
Aerendir
dea62fac89 Failing test case for #2699. 2020-01-17 17:57:37 +01:00
Aerendir
a9c5cd4fe3 Failing test case for #2693. 2020-01-17 17:03:00 +01:00
C0pyR1ght
fd90c03618
updated UnwrapFutureCompatibleIfRectorTest
added second test case to unittest
2020-01-17 15:26:38 +01:00
TomasVotruba
9d82c9e76a fix static 2020-01-17 15:21:54 +01:00
TomasVotruba
e1fa6aa628 skip non-empty methods 2020-01-17 15:14:48 +01:00
TomasVotruba
e343b39633 [PHPUnit] Improve GetMockRector 2020-01-17 14:55:07 +01:00
TomasVotruba
9944485d11 [PHPUnit] Add ClassMethod/RemoveEmptyTestMethodRector 2020-01-17 01:26:48 +01:00
TomasVotruba
eafea9d1c7 [PHPUnit] Add GetMockBuilderGetMockToCreateMockRector 2020-01-17 01:04:34 +01:00
TomasVotruba
e1e45ff02e add StaticTypeMapper 2020-01-16 02:04:17 +01:00
Tomas Votruba
15a8b19ba4
Merge pull request #2673 from staabm/patch-3
Added more functions to FunctionSupportResolver
2020-01-16 01:05:43 +01:00
Tomas Votruba
724350e0c6
Added CombineIfRector (#2674)
Added CombineIfRector
2020-01-16 01:05:05 +01:00
Tomas Votruba
80df8d0030
Merge pull request #2672 from jeroensmit/RemoveDelegatingParentCallDefault
Remove delegating parent call
2020-01-16 01:03:13 +01:00
Jeroen Smit
5b06f4828f style 2020-01-15 21:48:14 +01:00
Jeroen Smit
e856fb8ddb Added CombineIfRector 2020-01-15 21:32:51 +01:00
Markus Staab
be2244c8d8
fix CS 2020-01-15 21:01:19 +01:00
Markus Staab
564d05e381
Added list functions supported by the symfony/polyfill* components 2020-01-15 20:57:39 +01:00
Markus Staab
dd8d0322db
Added more functions to FunctionSupportResolver 2020-01-15 20:52:07 +01:00
Tomas Votruba
f680cdf828
Add support for invokable and array callables in CallReflection… (#2670)
Add support for invokable and array callables in CallReflectionResolver
2020-01-15 15:17:40 +01:00
TomasVotruba
ccc63bbb75 decopule ArrayTypeMapper and TypeWithClassNameTypeMapper 2020-01-15 14:51:42 +01:00
TomasVotruba
71cdc8fe40 add mapToDocString() 2020-01-15 14:51:42 +01:00
TomasVotruba
a4e90efb7c use @required 2020-01-15 14:38:40 +01:00
Lctrs
8368644b03 Add support for invokable and array callables in CallReflectionResolver 2020-01-15 14:24:18 +01:00
Lctrs
85fed6766d Add support for stringy calls in CallReflectionResolver
eg `$f = 'date'; $f();`
2020-01-15 09:47:48 +01:00