2708 Commits

Author SHA1 Message Date
Tomas Votruba
070eedc010 Updated Rector to commit fd5edffa386fba605d2a4243d67e56e78571d7a5
fd5edffa38 [TypeDeclaration] Add TypedPropertyFromStrictGetterMethodReturnTypeRector (#1048)
2021-10-23 21:09:26 +00:00
Tomas Votruba
f24d3a51b1 Updated Rector to commit f9fdebfe589e145aacb7b4d4e99f2be80589d2b2
f9fdebfe58 [DowngradePhp74] Handle nested uses on ArrowFunctionToAnonymousFunctionRector (#1040)
2021-10-23 01:58:01 +00:00
Tomas Votruba
20dc105d45 Updated Rector to commit 06994b8ff38f65e68a93633d4430ce16b47f506b
06994b8ff3 [Core] Avoid hang on file has template-extends (#1034)
2021-10-22 03:28:32 +00:00
Tomas Votruba
5a1e87ef38 Updated Rector to commit c5426f60d668deb0f099b3a2eb86c871cbb92151
c5426f60d6 [AnonymousFunctionFactory] Do not pass variables defined in foreach or parameters list to closure uses (#1038)
2021-10-21 19:12:05 +00:00
Tomas Votruba
f3927bad9a Updated Rector to commit d916d486bc7da8f8d7593b33f8a1c59cac78c31c
d916d486bc [DowngradePhp54] Add DowngradeStaticClosureRector (#1037)
2021-10-21 18:43:06 +00:00
Tomas Votruba
81b8ebf250 Updated Rector to commit 831aca46a3bfc6d4d937746aac50361f40e64db3
831aca46a3 [DowngradePhp74] handle static arrow functions to static closures (#1036)
2021-10-21 17:54:08 +00:00
Tomas Votruba
f3f7bbc63b Updated Rector to commit 1f2a4e9eac6d4ae152a37ca5528799b0a965e814
1f2a4e9eac Check for  instance in  (#1033)
2021-10-21 07:30:29 +00:00
Tomas Votruba
aa46d2f915 Updated Rector to commit 4c3de1251e18ced1757dfe6e7dbde7bb08ebe153
4c3de1251e [Php56] Skip AddDefaultValueForUndefinedVariableRector on has isset check (#1028)
2021-10-20 19:38:55 +00:00
Tomas Votruba
46f7c4b1c9 Updated Rector to commit 860603f58e9383217700622e873b857f2136b4e4
860603f58e [Renaming] Handle rename property too when parent property renamed (#1031)
2021-10-20 17:23:41 +00:00
Tomas Votruba
1099eab862 Updated Rector to commit 36fc840488d73e890869a36ce876b9cdea3f78eb
36fc840488 Trigger notification (#1027)
2021-10-20 01:31:18 +00:00
Tomas Votruba
40a40360b8 Updated Rector to commit 3ba32894dfebb1e746c8d1c1520b2d792145308a
3ba32894df [Defluent][Rector-Symfony] Handle TypeError on AddFlashRector (#1026)
2021-10-19 14:52:23 +00:00
Tomas Votruba
4a269dfc0b Updated Rector to commit d51b8494eb8140b5b09e382ef0fea2e52dd0b42c
d51b8494eb [DX] Add DowngradeLevelSetList (#1023)
2021-10-19 09:00:23 +00:00
Tomas Votruba
e37558a911 Updated Rector to commit 600a3e9be177fa8642f3b249249ab56a85ee2e6e
600a3e9be1 [Core] Refactor AbstractRector (#959)
2021-10-18 19:19:09 +00:00
Tomas Votruba
b32a8b1d6d Updated Rector to commit 34b254affb2faa6152d9db717803320b9916082d
34b254affb [Php73] Handle named argument on JsonThrowOnErrorRector (#1021)
2021-10-18 13:12:30 +00:00
Tomas Votruba
b8bc5f986a Updated Rector to commit 33e5cab8d53facaa6753fc26b755e9ce3634d940
33e5cab8d5 [DowngradePhp80] Handle Throw Exception on DowngradeMatchToSwitchRector (#1019)
2021-10-18 09:22:13 +00:00
Tomas Votruba
2a5f710b51 Updated Rector to commit adb6e3cd10a628ad262cf12054a17538802c678d
adb6e3cd10 [Php73] Skip undetected namespaced constant on SensitiveConstantNameRector (#1017)
2021-10-18 08:52:38 +00:00
Tomas Votruba
cdbc308200 Updated Rector to commit 33e5cab8d53facaa6753fc26b755e9ce3634d940
33e5cab8d5 [DowngradePhp80] Handle Throw Exception on DowngradeMatchToSwitchRector (#1019)
2021-10-18 08:52:15 +00:00
Tomas Votruba
6593b462b3 Updated Rector to commit cdd8a1aefceba3a97448cc62a0a2e9ee33fde093
cdd8a1aefc [Naming][Php56] Another better approach for AddDefaultValueForUndefinedVariableRector+RenameVariableToMatchMethodCallReturnTypeRector (#1014)
2021-10-17 07:14:48 +00:00
Tomas Votruba
93d9d433fc Updated Rector to commit 4992b8c6aa81642bc28d55002951b4cdeb46b356
4992b8c6aa [Naming][Php56] Better patch for AddDefaultValueForUndefinedVariableRector+RenameVariableToMatchMethodCallReturnTypeRector (#1013)
2021-10-17 06:52:57 +00:00
Tomas Votruba
427b9ce357 Updated Rector to commit 8bb31f25562b83504ca36b5c94797c87131afa8f
8bb31f2556 [automated] Re-Generate Nodes/Rectors Documentation (#1012)
2021-10-17 00:30:43 +00:00
Tomas Votruba
100f186ff7 Updated Rector to commit fee0135ec197fd8e0bde1fca3444c70ed2efa8a0
fee0135ec1 [Naming][Php56] Handle AddDefaultValueForUndefinedVariableRector+RenameVariableToMatchMethodCallReturnTypeRector (#1010)
2021-10-16 13:05:59 +00:00
Tomas Votruba
6409895073 Updated Rector to commit caba58dfd0b2fb8494ad88e65eec3aa051297e6b
caba58dfd0 [PHPStan] Clean up PHPStan ignore error (#1008)
2021-10-16 09:57:47 +00:00
Tomas Votruba
4accd5f026 Updated Rector to commit 2d6a25bc49178fd8977a0e707b6519e3523fd703
2d6a25bc49 [Php73] Skip double escape dash on next with quantifier outside bracket on RegexDashEscapeRector (#1006)
2021-10-15 16:37:49 +00:00
Tomas Votruba
67d83c7b32 Updated Rector to commit 4e377b26af1762f9fb8c968341df5d742ec0160f
4e377b26af Add option of case-insensitive ReplaceStringWithClassConstantRector (#1004)
2021-10-15 16:34:45 +00:00
Tomas Votruba
a31da29e2b Updated Rector to commit 25f4b8dc31304dcfbd4f41c03174d0bd176a8601
25f4b8dc31 [CodingStyle] Skip inside do while next not Stmt on NewlineAfterStatementRector (#1003)
2021-10-14 20:26:27 +00:00
Tomas Votruba
9e28d44a9b Updated Rector to commit 01cb29e5d431df6e3ec5674fdd09b0dc77c17c88
01cb29e5d4 [Transform] Add AttributeKeyToClassConstFetchRector (#1002)
2021-10-14 15:34:01 +00:00
Tomas Votruba
fadc7bb98d Updated Rector to commit bc39e1c3e839b1af6a5bb452b16eb372a517f0ce
bc39e1c3e8 [CodeQuality] Skip getter in assign var and on this var type on ExplicitMethodCallOverMagicGetSetRector (#999)
2021-10-14 14:35:01 +00:00
Tomas Votruba
432b09c234 Updated Rector to commit 5975e13884530154f8a9f870d95bc92218330f7b
5975e13884 [Php80] Fix PHPStan on AnnotationToAttributeRector (#997)
2021-10-13 19:26:54 +00:00
Tomas Votruba
aa1201976c Updated Rector to commit f5c1f19b54fb00d1f6d41ef385f8beed5a0b9eda
f5c1f19b54 [Php80] Add handle UniqueConstraint and Index on AnnotationToAttributeRector inside Entity (#994)
2021-10-13 12:11:53 +00:00
Tomas Votruba
58e0571fcb Updated Rector to commit ba130afc93d7e36b0f8b1d62bf21bb397ed1835b
ba130afc93 bump to fixed rules-generator
2021-10-13 11:51:00 +00:00
Tomas Votruba
785101045c Updated Rector to commit 78c6226bceb7649c8482f8a49e2f9428d9d5fa4a
78c6226bce Allow resolving names on dynamic property fetch (#996)
2021-10-13 11:50:37 +00:00
Tomas Votruba
ebd0863c09 Updated Rector to commit ccd8e898af997a1a21af6159c6b85f04ab418552
ccd8e898af [Naming][Php56] Handle AddDefaultValueForUndefinedVariableRector + RenameParamToMatchTypeRector (#993)
2021-10-12 12:52:00 +00:00
Tomas Votruba
100023d71a Updated Rector to commit 26ac10318950d641fcd7df94c9fd2d42eb87921c
26ac103189 [Php80] Copy array generic doc on ClassPropertyAssignToConstructorPromotionRector (#988)
2021-10-12 08:14:21 +00:00
Tomas Votruba
3163961fe7 Updated Rector to commit 90c1d09a33d2675b5b60d8bc08d3853cfbfcf75a
90c1d09a33 [PHPStanStaticTypeMapper] Add UnionTypeAnalyzer::isNullable() (#987)
2021-10-12 01:37:01 +00:00
Tomas Votruba
dbec2c82cd Updated Rector to commit 5f915d861b2a48043d8783568f4b825560b0a00b
5f915d861b handle cases where strlen arg is a Stringable object (#981)
2021-10-11 23:20:15 +00:00
Tomas Votruba
c6a9b6bdf0 Updated Rector to commit 65c3a44c638f203cb2c10affa6dcc70af920e6f8
65c3a44c63 [TypedPropertyRector] Handle nullable collection on TypedPropertyRector (#986)
2021-10-11 06:45:23 +00:00
Tomas Votruba
7a1714be31 Updated Rector to commit f6d00371f97e79946fcd8ac9f6f468f7c424b2d3
f6d00371f9 [TypeDeclaration] Skip nullable generic typed on ReturnTypeDeclarationRector (#985)
2021-10-10 08:58:47 +00:00
Tomas Votruba
9056c6c3a5 Updated Rector to commit 3c0cb22a58e6b8dc4195631046ba4a62ceabf279
3c0cb22a58 [automated] Re-Generate Nodes/Rectors Documentation (#984)
2021-10-10 00:30:12 +00:00
Tomas Votruba
8fc6af697d Updated Rector to commit 9a6afde216ed9afa954dd4fc6fd196b3a5b803b9
9a6afde216 [DX] Add LevelSetList (#971)
2021-10-09 16:11:30 +00:00
Tomas Votruba
62d76e35e7 Updated Rector to commit f1b772ab3a72a8f546280a4600efff6addb49bec
f1b772ab3a [DX] Add EmptyConfigurableRectorChecker (#960)
2021-10-09 13:51:00 +00:00
Tomas Votruba
da332c4235 Updated Rector to commit 7c20d2d7021038ddd013940769a994cb2998b073
7c20d2d702 validate config input in AddMethodCallBasedStrictParamTypeRector (#978)
2021-10-09 13:44:48 +00:00
Tomas Votruba
9ef423f227 Updated Rector to commit 58d4ab79fea9bde9f44e882d6487353e16e58a4f
58d4ab79fe [TypeDeclaration]: support  phpdoc instead of native  in AddVoidReturnTypeWhereNoReturnRector (#977)
2021-10-09 13:43:57 +00:00
Tomas Votruba
45d3e63a94 Updated Rector to commit ff32aed8c3ad9498af2017a342ec02d5f1914561
ff32aed8c3 fix: Attempt to assign property type on null error (#979)
2021-10-09 05:23:01 +00:00
Tomas Votruba
9a92488e2c Updated Rector to commit 82b689d71324d0872ca688dddcf2157bfb7d5d3c
82b689d713 add trigger warning about deprecated resolve() and getStaticType() methods in NodeTypeResolver + update all packages (#976)
2021-10-07 19:40:12 +00:00
Tomas Votruba
6154cc59ea Updated Rector to commit f2afe8ed6edb2e91082158c3a7b317b72a46fde8
f2afe8ed6e [DX] Move from deprecated getStaticType() to getType() (#974)
2021-10-07 18:52:22 +00:00
Tomas Votruba
61389a9b2c Updated Rector to commit f6f7431ce7aa36124efcda10e1b9ed16a5ccc343
f6f7431ce7 [DX] Merge getObjectType() and getStaticType() methods to single getType() (#973)
2021-10-07 17:46:41 +00:00
Tomas Votruba
4fa8da0c31 Updated Rector to commit 5ba14990349db5141c98b373d3360018f8bd00a0
5ba1499034 [Strict] Skip stripos on BooleanInIfConditionRuleFixerRector (#966)
2021-10-07 17:03:55 +00:00
Tomas Votruba
7d712af5a2 Updated Rector to commit eb811b13b9197e4e9c3994274ed05c2e47993c5a
eb811b13b9 [CodeQuality] Add ExplicitMethodCallOverMagicGetSetRector (#972)
2021-10-07 16:13:11 +00:00
Tomas Votruba
a2ed31d38b Updated Rector to commit cddcebf132cb9ea7f1f33d77a35b89305cbb2ff4
cddcebf132 [DowngradePhp74] Handle fn inside fn on ArrowFunctionToAnonymousFunctionRector (#967)
2021-10-07 08:01:49 +00:00
Tomas Votruba
dec07bda16 Updated Rector to commit 97a8d8ee10ebaf78cc6eb4a64c30de3a7bb4c5e6
97a8d8ee10 [TypeDeclaration] Handle param description in next line on ParamTypeDeclarationRector (#969)
2021-10-07 08:00:22 +00:00