538 Commits

Author SHA1 Message Date
TomasVotruba
a00329a4f1 add ParsedClassConstFetchNodeCollector 2020-05-21 17:01:29 +02:00
TomasVotruba
42890d64c5 add Symfony @required 2020-05-21 09:52:04 +02:00
TomasVotruba
678a992a9d [SOLID] add InjectMethodFactory for multi parent abstract rector 2020-05-21 09:50:38 +02:00
TomasVotruba
5bad3274b9 [SOLID] Add MultiParentingToAbstractDependencyRector 2020-05-21 09:15:47 +02:00
Tim Ward
c772ce2f6b
Fix code style 2020-05-20 15:45:12 -04:00
Tim Ward
4899b1217c
Guard against ShouldNotHappenException
See #3391
2020-05-20 15:05:31 -04:00
Carlos C Soto
a8c07e624a Fix RenameAnnotationRector for null phpdoc 2020-05-19 13:56:16 -05:00
TomasVotruba
797cc53a38 note 2020-05-19 12:31:46 +02:00
TomasVotruba
d493363695 fix race-condition of name imports and class constant name 2020-05-19 12:21:58 +02:00
TomasVotruba
b48737ab07 fix missing doc for property type infering 2020-05-18 22:42:26 +02:00
TomasVotruba
32caab5376 fix doc FQN importing 2020-05-17 13:33:48 +02:00
TomasVotruba
9317ef2342 skip inject/handle methods too 2020-05-17 01:23:46 +02:00
TomasVotruba
12dc34daae [Privatization] skip controller action methods in PrivatizeLocalOnlyMethodRector 2020-05-17 01:19:59 +02:00
TomasVotruba
a8fbc060f0 apply cs of Symplify 8 2020-05-16 12:48:12 +02:00
TomasVotruba
a6598e5e82 [MockistaToMocker] init 2020-05-15 14:10:14 +02:00
TomasVotruba
8a28581ce1 [PSR-4] Add NormalizeNamespaceByPSR4ComposerAutoloadFileSystemRector 2020-05-14 01:42:17 +02:00
rector-bot
aa5b5d2ed6 fixup! [PSR-4] Add test for NormalizeNamespaceByPSR4ComposerAutoloadRector 2020-05-13 22:38:09 +00:00
TomasVotruba
ffeb6c9f53 [PSR-4] Add test for NormalizeNamespaceByPSR4ComposerAutoloadRector 2020-05-14 00:35:00 +02:00
TomasVotruba
cc6fef2492 [ElasticsearchDSL] Deprecate single custom rule, better handled by community 2020-05-13 18:15:35 +02:00
TomasVotruba
9e1fceba77 [Oxid] Deprecate single custom rule, better handled by community 2020-05-13 17:45:53 +02:00
TomasVotruba
e9ba820fa4 [Shopware] Deprecate single custom rule, better handled by community 2020-05-13 17:42:43 +02:00
TomasVotruba
0e220550d8 [Sylius] Deprecate single custom rule, better handled by community 2020-05-13 17:40:14 +02:00
TomasVotruba
a3bfaed373 [Silverstripe] deprecate, handled by community 2020-05-13 17:35:28 +02:00
TomasVotruba
87448dfa37 [PHP 5.5] Fix StringToClass name whilst import 2020-05-13 16:05:11 +02:00
TomasVotruba
6ae80bc07a [Legacy] Add FunctionToStaticMethodRector 2020-05-13 16:03:33 +02:00
kodiakhq[bot]
dbfaf6e11d
Merge pull request #3358 from rectorphp/functions-to-static-class
[Legacy] Add FunctionToStaticMethodRector
2020-05-13 13:59:20 +00:00
rector-bot
f107ee1bf3 fixup! fixup! [Legacy] Add FunctionToStaticMethodRector 2020-05-13 13:55:36 +00:00
rector-bot
16da4594f4 fixup! [Legacy] Add FunctionToStaticMethodRector 2020-05-13 13:54:39 +00:00
TomasVotruba
0c67709fd0 [Legacy] Add FunctionToStaticMethodRector 2020-05-13 15:50:30 +02:00
Bart Reunes
6f71e9d672
Check if $phpDocInfo is actually not null 2020-05-12 19:01:17 +02:00
Bart Reunes
e2409b791e
Create an empty node before moving on
If we don't redeclare the $phpDocInfo variable, it will fail at the next line, as calling a method on null will fail.
2020-05-12 18:06:49 +02:00
TomasVotruba
cb406e4d64 typo 2020-05-12 17:09:12 +02:00
TomasVotruba
cf6d2e0d02 move MinimalScope to Privatization, same purpose 2020-05-12 17:08:21 +02:00
TomasVotruba
97f8aece27 add test case for #3157 2020-05-12 16:41:59 +02:00
TomasVotruba
b5846db7a9 [PHPUnit] Fix CreateMockToCreateStubRector outside PHPUnit test case 2020-05-12 16:39:17 +02:00
TomasVotruba
84596b767f [CodeQuality] Fix SimplifyIfReturnBoolRector for else if 2020-05-12 16:30:20 +02:00
TomasVotruba
8017402e60 [CodingStyle] Add SplitGroupedUseImportsRector 2020-05-12 12:35:57 +02:00
TomasVotruba
e81044fd3b decouple ClassRenamer 2020-05-11 18:08:13 +02:00
TomasVotruba
db7248135a add multi-paths support 2020-05-10 22:33:39 +02:00
TomasVotruba
f63e4424b8 move MultipleClassFileToPsr4ClassesRector to PSR4 2020-05-10 00:54:56 +02:00
TomasVotruba
28c18eb663 make use of isLocalMethodCallNamed() 2020-05-09 22:37:22 +02:00
TomasVotruba
a7b9019437 making RemoveUnusedAliasRector case insensitive 2020-05-09 22:29:47 +02:00
TomasVotruba
4f41f06e5d apply Rector 2020-05-09 22:13:01 +02:00
TomasVotruba
515ee780fb apply constant on /compiler 2020-05-09 21:56:12 +02:00
TomasVotruba
ff88e4b37a fix another constant in repeated literal to class constant 2020-05-09 21:50:52 +02:00
TomasVotruba
83ef24bd9d add slash to repeated literal to class constant 2020-05-09 21:33:17 +02:00
TomasVotruba
f229a7a3f5 Fix RemoveUnusedAliasRector for lower/upper case 2020-05-09 21:32:57 +02:00
TomasVotruba
103a59b5b6 add isLocalMethodCall names 2020-05-07 00:30:00 +02:00
TomasVotruba
23e468de75 add isLocalMethodCall names 2020-05-07 00:13:47 +02:00
TomasVotruba
f0472b460c add createLocalMethodCall() 2020-05-07 00:08:46 +02:00