639 Commits

Author SHA1 Message Date
TomasVotruba
5cb1947407 skip null 2020-07-01 22:11:10 +02:00
TomasVotruba
00da1fde74 fix class name 2020-07-01 21:54:16 +02:00
Tomas Votruba
6f0c28469a
Merge pull request #3613 from dobryy/replace-in-string-classes-rule 2020-07-01 21:26:27 +02:00
dobryy
4a3fdf3705 Add new rector to replace hardcoded class name reference in string with class keyword reference 2020-07-01 20:30:28 +02:00
TomasVotruba
7c62955a53 remove MethodBody to ClassMethod 2020-07-01 01:44:14 +02:00
TomasVotruba
bf8e9c2e2f pass data to argument 2020-07-01 01:20:47 +02:00
TomasVotruba
577011ef68 add return response|null fixture 2020-07-01 01:14:38 +02:00
TomasVotruba
31a019b0d7 add constant return array support 2020-06-30 21:36:24 +02:00
TomasVotruba
b0250a558c cover return new case 2020-06-30 20:21:24 +02:00
TomasVotruba
59dbe98883 cover return array method 2020-06-30 10:58:45 +02:00
TomasVotruba
c08d874107 make use PhpDocTrait 2020-06-30 02:27:55 +02:00
TomasVotruba
cf29b1dacb skip array in call 2020-06-30 02:20:09 +02:00
TomasVotruba
2758fd5339 re-use hasPhpDocTagValueNode() 2020-06-30 02:20:09 +02:00
TomasVotruba
a8a6e7bcad rename file to fileInfo 2020-06-30 01:45:05 +02:00
TomasVotruba
547e15099d use explicit xBuilder classes to prevent typos and PHPStan and PHPStorm confussion 2020-06-30 01:34:19 +02:00
TomasVotruba
0cb82c2a6f apply new Naming_ 2020-06-30 00:57:38 +02:00
TomasVotruba
477308c030 [Naming] Add RenameVariableToMatchNewTypeRector 2020-06-29 23:09:51 +02:00
TomasVotruba
e08f834af5 [Symfony] remove template annotatoin if returns response 2020-06-29 14:21:45 +02:00
TomasVotruba
828d8cf67f prevent remove false template 2020-06-29 13:50:36 +02:00
TomasVotruba
3d8205661b make sure only annotatoins is not removed 2020-06-29 03:00:34 +02:00
TomasVotruba
4c4e306c2b add support for union of response and array 2020-06-29 02:24:57 +02:00
TomasVotruba
40a58dbf4c rename TemplateAnnotationRector to TemplateAnnotationToThisRender 2020-06-29 00:30:20 +02:00
TomasVotruba
b4bc085103 decouple PhpDocInfoManipulator 2020-06-29 00:21:00 +02:00
TomasVotruba
c4dfdd0293 add getPhpDocTagValueNode() method 2020-06-29 00:13:46 +02:00
TomasVotruba
058ce1f1ce decopule ThisRenderFactory 2020-06-29 00:04:47 +02:00
TomasVotruba
d8dfc39df1 decouple ReturnTypeDeclarationUpdater 2020-06-28 23:59:33 +02:00
TomasVotruba
bba3327993 merge template annotation rector version to 5 2020-06-28 23:26:45 +02:00
TomasVotruba
f1ee5065bc move ReturnThisRemoveRector to MagicDisclosure 2020-06-28 20:08:08 +02:00
TomasVotruba
ec99343c38 move MagicDisclosure rules to own package 2020-06-28 19:59:06 +02:00
TomasVotruba
4755ba8c88 move FluentInterfaceClass to MagicDisclosure package 2020-06-28 19:41:54 +02:00
TomasVotruba
b5981133a9 [Decouple] Add DecoupleClassMethodToOwnClassRector 2020-06-28 14:13:29 +02:00
TomasVotruba
b3ba3c8dfa add uniontype support for CallableThisArrayToAnonymousFunctionRector 2020-06-26 12:22:55 +02:00
TomasVotruba
190847e94d skip tests in ContextGetByTypeToConstructorInjectionRector 2020-06-26 00:27:35 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
f713c16afd make use of Symplify/EasyTesting 2020-06-25 19:15:40 +02:00
andyexeter
cb46829aa3 Fix cs 2020-06-25 16:35:54 +01:00
andyexeter
b3c955b889 Replace Symfony imports with fully qualified class names 2020-06-25 16:35:54 +01:00
Andy Palmer
283fb4941e
Include AbstractController in allowed object types 2020-06-25 15:50:14 +01:00
TomasVotruba
15ac2c6647 check for missing doc 2020-06-25 00:16:59 +02:00
TomasVotruba
9796048c8c Merge branch 'breaking_runnable_test_for__ChangeNestedForeachIfsToEarlyContinueRector' 2020-06-24 23:39:40 +02:00
TomasVotruba
05d01aa455 fix missing continue 2020-06-24 23:38:52 +02:00
TomasVotruba
8b34ab3821 remove double negate 2020-06-24 23:28:21 +02:00
TomasVotruba
ab2f83c4f7 cs 2020-06-24 23:26:31 +02:00
TomasVotruba
2064e3cc4b cs 2020-06-24 23:26:27 +02:00
derrickschoen
e72ed987e6
reduce size of array 2020-06-24 17:06:39 -04:00
derrickschoen
740dd752ac
reduce size of array 2020-06-24 17:03:50 -04:00
TomasVotruba
fa0d8d238c [NetteCodeQuality] Add MoveInjectToExistingConstructorRector 2020-06-24 22:19:10 +02:00
TomasVotruba
c88f34fafc prefer local __construct 2020-06-24 21:26:40 +02:00
TomasVotruba
1357806ae1 re-use parent property 2020-06-24 20:07:31 +02:00
TomasVotruba
138598cc36 add inject in case of parent __construct 2020-06-24 19:15:45 +02:00