2726 Commits

Author SHA1 Message Date
Tomas Votruba
3017b511f6 Updated Rector to commit fabc27e1229c75ae5920f3a010b7af0d52f2ff8d
fabc27e122 Cherry picks (#1074)
2021-10-26 23:10:48 +00:00
Tomas Votruba
855541443a Updated Rector to commit edd1ebd5f6fffd80706efec452804494af20a0a3
edd1ebd5f6 [PHPStan 1.0] Make SelfType, StaticType and ThisType use ClassReflection over string (#1072)
2021-10-26 20:57:53 +00:00
Tomas Votruba
8623331797 Updated Rector to commit fd990e550c2547cbca8f7e79a62c7fc2854699ea
fd990e550c Improve self/static/parent object reference (#1071)
2021-10-26 13:57:56 +00:00
Tomas Votruba
2732176c18 Updated Rector to commit 0ff81a9d2af46ed4b54e579a6400ac16d69c788c
0ff81a9d2a Various cleanup, stmts naming, split big test fixture (#1070)
2021-10-26 12:39:52 +00:00
Tomas Votruba
af94400357 Updated Rector to commit fbeecb22d40d3b7a45097983f8f8a1a564ab379a
fbeecb22d4 [PHPStan 1.0] upgrade deprecated getNativeMethods() method (#1069)
2021-10-26 12:03:56 +00:00
Tomas Votruba
9ea41904f8 Updated Rector to commit ade120e97a533bccec81dd35d178ebdf573f2d3c
ade120e97a [CodeQuality] Skip Variable may be immutable via New_ or Clone_ on SimplifyUselessVariableRector (#1060)
2021-10-26 09:28:24 +00:00
Tomas Votruba
192b2b5c45 Updated Rector to commit e060d008baa27f0aef19b7758f81fb2b4f475c32
e060d008ba Decopule helper template/mixin services from PHPStanNodeScopeResolver (#1067)
2021-10-26 09:20:50 +00:00
Tomas Votruba
c676389932 Updated Rector to commit ceccbad0ea397dc66bde0f91a88d5ededbe3bbb6
ceccbad0ea Type improvements (#1065)
2021-10-26 08:04:21 +00:00
Tomas Votruba
04db37fabd Updated Rector to commit 461cb9f38c1677e37d1988592ee18083435c7163
461cb9f38c [Defluent] Remove often-breaking set (#1062)
2021-10-26 00:34:35 +00:00
Tomas Votruba
50818a1498 Updated Rector to commit 87a6907172fe8ca0d71ec9065c0d3402b2b0f583
87a6907172 [PSR4] Fix test on NormalizeNamespaceByPSR4ComposerAutoloadRector (#1063)
2021-10-26 00:21:45 +00:00
Tomas Votruba
1706dd9747 Updated Rector to commit 48cb8a256db8cabbf00d7a125fb838d843d9415e
48cb8a256d Tiny cherry-picks from PHPStan 1.0 update (#1058)
2021-10-25 15:06:02 +00:00
Tomas Votruba
5dadc46e95 Updated Rector to commit c0e95a02334240be0055efd4105afcffa738ce88
c0e95a0233 Unrelated cherry picks from PHPStan 1.0 upgrade (#1057)
2021-10-25 14:24:14 +00:00
Tomas Votruba
b3f23cffbf Updated Rector to commit fd72d082337152b5c606775396b6f444eaf7b088
fd72d08233 Extract ObjectReference enum for self, static and parent keywords (#1056)
2021-10-25 13:44:53 +00:00
Tomas Votruba
20d4f35d27 Updated Rector to commit b305c4edf20ef844be4ce482dafbb1849518bf06
b305c4edf2 [DX] Decouple PropertyTypeDecorator (#1055)
2021-10-25 11:14:32 +00:00
Tomas Votruba
a23095a462 Updated Rector to commit 8e2908c2a19705494b2260629bd2195026da6e22
8e2908c2a1 Cleanup (#1054)
2021-10-24 20:43:49 +00:00
Tomas Votruba
cef09b47a1 Updated Rector to commit a5048195a7fbdf8d6f7ec09e4869e1a9510e55fe
a5048195a7 [Php73] Skip JsonThrowOnErrorRector on passed exact value (#1051)
2021-10-24 13:05:59 +00:00
Tomas Votruba
f4b82f4b45 Updated Rector to commit 7f73cf017214257c170d34db3af7283eaeeab657
7f73cf0172 [automated] Re-Generate Nodes/Rectors Documentation (#1050)
2021-10-24 00:34:27 +00:00
Tomas Votruba
7877a97943 Updated Rector to commit ec905575c78c30c69920142f1af58334743584ff
ec905575c7 [Php71] Skip typed array property on CountOnNullRector (#1049)
2021-10-23 22:01:02 +00:00
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