2579 Commits

Author SHA1 Message Date
Tomáš Votruba
fb41b38f01
Merge pull request #2159 from rectorphp/screen-file
Screen file command improvements
2019-10-14 20:11:10 +02:00
Tomas Votruba
f0f20c457e fix cs 2019-10-14 19:06:43 +02:00
Tomas Votruba
20921aeb8e make use of TypeUtils 2019-10-14 19:06:14 +02:00
Tomáš Votruba
a98d6f93d0
Merge pull request #2132 from keulinho/add-console-execute-return-int-rector
[Symfony] Add ConsoleExecuteReturnIntRector
2019-10-14 16:38:56 +02:00
Tomas Votruba
557ec94cd7 improve screen file command 2019-10-14 15:22:14 +02:00
Jonas Elfering
c016a810d4 Fix static analysis 2019-10-14 08:24:21 +02:00
Jonas Elfering
cce6f32dd8 Use isName() instead of string compare 2019-10-14 08:12:12 +02:00
Tomas Votruba
042e1c45e0 [PHPUnit 6] Add AddDoesNotPerformAssertionToNonAssertingTestRector 2019-10-13 17:01:38 +02:00
Jonas Elfering
1ecef4cedd Cast return value if its not an int 2019-10-13 11:19:27 +02:00
Tomas Votruba
9f3f49437e [PHPUnit] [Doc] Add FixDataProviderAnnotationTypoRector 2019-10-13 08:32:06 +02:00
Tomas Votruba
d1118c1ab4 [PHPUnit] [Doc] Add EnsureDataProviderInDocBlockRector 2019-10-13 08:21:10 +02:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
ac60f8ac09 add Closure type to StaticTypeMapper 2019-10-13 02:47:12 +02:00
Tomas Votruba
73aba872b1 fix get property by class 2019-10-13 01:33:59 +02:00
Tomas Votruba
26213d5465 make ReturnTypeDeclarationRector keep implementation 2019-10-13 01:24:47 +02:00
Tomas Votruba
803682ab1e phpstan - add getContainer() after boot() 2019-10-13 01:10:36 +02:00
Tomas Votruba
642ab6073a prevent doc type of child array override 2019-10-12 18:57:31 +02:00
Tomas Votruba
d6d337e85e [TypeDeclaration] Prevent array-iterable-Iterator override in ReturnTypeDeclarationRector 2019-10-12 18:39:58 +02:00
Tomas Votruba
d22b998bd3 fix string-named func 2019-10-12 16:06:40 +02:00
Tomas Votruba
0a6349fbc7 [DeadCode] Make RemoveDefaultArgumentValueRector skip native functions to prevent full-PHP-stub loading to get that value 2019-10-12 15:37:17 +02:00
Tomáš Votruba
4fd1cde4b7
Merge pull request #2144 from rectorphp/phpunit-provider
[PHPUnit] Add RemoveDataProviderTestPrefixRector
2019-10-12 13:51:52 +02:00
Jonas Elfering
16e225ba06 Add ability to refactor called methods 2019-10-11 23:01:02 +02:00
Tomáš Votruba
3fce9aa551
Merge pull request #2114 from jeroensmit/ConstructorInjectionToActionInjectionRectorFix2
Fix for issue #2090
2019-10-11 13:41:11 +01:00
Tomas Votruba
8246bcb38a [PHPUnit] Add RemoveDataProviderTestPrefixRector 2019-10-11 12:03:07 +01:00
Tomas Votruba
39c1008c87 add inter support 2019-10-11 00:50:32 +01:00
Tomas Votruba
b1d031031b Fix EncapsedStringsToSprintfRector for non-var exprs 2019-10-10 15:26:03 +01:00
Tomáš Votruba
cdc8696819
EncapsedStringsToSprintfRector fails when using class properties (#2128)
EncapsedStringsToSprintfRector fails when using class properties
2019-10-10 15:18:44 +01:00
Jonas Elfering
33a41ddb4a Add ConsoleExecuteReturnIntRector
Fixes: https://github.com/rectorphp/rector/issues/2119
2019-10-10 15:34:56 +02:00
Tomas Votruba
a609b0b368 fix dynamic return type 2019-10-10 13:28:34 +01:00
Dorian Villet
1cf50c6aaf Add a failing test for EncapsedStringsToSprintfRector. 2019-10-09 14:59:30 +02:00
Tomas Votruba
471abfbcca add CommanderCollector 2019-10-09 02:40:52 +01:00
Tomas Votruba
0dcd2b0014 [Solid] Add UseInterfaceOverImplementationInConstructorRector 2019-10-09 01:41:51 +01:00
Tomas Votruba
ff5403aa8b skip property and missing name 2019-10-08 18:58:32 +01:00
Tomas Votruba
eb222877eb [StrictCodeQuality] Add freshly created node support to var inline assert 2019-10-08 18:30:32 +01:00
Tomáš Votruba
c077548770
Merge pull request #2121 from rectorphp/template-less
Allow @Template to get nullable values
2019-10-08 17:15:12 +01:00
Tomas Votruba
a38b60bf27 make SensioTemlateTagValue open to nullable valubes 2019-10-08 17:07:43 +01:00
Tomas Votruba
5e65ebe503 add test reference 2019-10-08 17:02:56 +01:00
Tomas Votruba
f25f303dc8 [DeadCode] Add SimplifyIfElseWithSameContentRector 2019-10-08 16:53:32 +01:00
Jeroen Smit
d8a281bca2 Merge branch 'master' of github.com:rectorphp/rector into ConstructorInjectionToActionInjectionRectorFix2 2019-10-05 20:34:31 +02:00
Jeroen Smit
2f06f0f836 Fix for issue #2090 2019-10-05 20:31:05 +02:00
Tomas Votruba
f807ba3a73 cover Table entity as well 2019-10-05 16:41:46 +02:00
Tomas Votruba
0c8542dc40 fix joinColumns always fallback 2019-10-05 16:41:46 +02:00
Tomas Votruba
058dd5aeb5 skip var type in anonymous class for PropertyTypeDeclarationRector 2019-10-05 13:51:02 +02:00
Tomas Votruba
01b4c78e47 skip required in delegating parent call method 2019-10-05 13:44:54 +02:00
Tomas Votruba
ecf0a430dd improve doc tests 2019-10-05 12:39:48 +02:00
Tomas Votruba
8516d0363e restart changed doc 2019-10-05 12:00:01 +02:00
Tomas Votruba
ea5126622b keep comments in ReturnArrayClassMethodToYieldRector 2019-10-05 11:37:40 +02:00
Tomáš Votruba
299ad8705a
Merge pull request #2096 from gnutix/ImportFullyQualifiedNamesRector/fix-docblocks
ImportFullyQualifiedNamesRector : add a failing test about modified annotations that shouldn't be
2019-10-05 11:10:33 +02:00
Tomas Votruba
116399a830 small tests refactoring 2019-10-05 11:04:00 +02:00
Tomáš Votruba
345d4774e8
Merge pull request #2084 from gnutix/ReturnArrayClassMethodToYieldRector/add-testcase
Add failing test case for ReturnArrayClassMethodToYieldRector (removing comments)
2019-10-05 10:17:50 +02:00