2757 Commits

Author SHA1 Message Date
Tomas Votruba
54f8d6dc33 Updated Rector to commit da4d598bf0fc20b831e138407263b82645109bdf
da4d598bf0 [PHPStan 1.0] resolve FunctionReflection getFileName() from main interface (#1117)
2021-10-31 15:30:19 +00:00
Tomas Votruba
bc0758f741 Updated Rector to commit 4ddd98618df414831bf79c42fb29aab22b3cb81e
4ddd98618d [TypeDeclaration] Add mixed[] array back on complex class-string structure on CompleteVarDocTypePropertyRector (#1116)
2021-10-30 15:59:53 +00:00
Tomas Votruba
a94a50e863 Updated Rector to commit e525dad6ab1a005e79b751f4cfb1eaf94ae3c90f
e525dad6ab [PHPStan 1.0] Use Nette filesystem over phpstan filewriter (#1115)
2021-10-30 14:18:31 +00:00
Tomas Votruba
9eb3a9755c Updated Rector to commit e5186a79b48bd11252f78a6439d8cd43d65a7f64
e5186a79b4 Improve InflectorSingularResolver (#1108)
2021-10-30 00:06:50 +00:00
Tomas Votruba
76ed56b260 Updated Rector to commit c6d2339cb72f51d572918054389e04582619f16b
c6d2339cb7 Add InflectorSingularResolverTest (#1107)
2021-10-29 23:49:05 +00:00
Tomas Votruba
1eaf7106a4 Updated Rector to commit 3bec30af83142f34a31d00017222cda91781e5f3
3bec30af83 avoid prefixing
2021-10-29 21:23:11 +00:00
Tomas Votruba
d35a665d98 Updated Rector to commit 04354c2e3fbb1693023e81bd12a677d9586494d3
04354c2e3f [TypeDeclaratoin] Skip variadic param
2021-10-29 20:22:14 +00:00
Tomas Votruba
22b6e2bba7 Updated Rector to commit 9efb3a50f20e175b90d689fdfd46bfbed6609399
9efb3a50f2 [CodingStyle] Skip test method in UnSpreadOperatorRector (#1106)
2021-10-29 20:10:15 +00:00
Tomas Votruba
75be74acc1 Updated Rector to commit 5ca93fdca969579c4060713c25e00285f2f9c6e9
5ca93fdca9 [Php80] Skip union callable on ClassPropertyAssignToConstructorPromotionRector (#1101)
2021-10-29 14:22:26 +00:00
Tomas Votruba
b31309fa01 Updated Rector to commit 99f068161962e88b2a0184fc90f2ec1dcd2035e6
99f0681619 Skip union if parent type in ClassMethodParamTypeCompleter (#1103)
2021-10-29 12:33:58 +00:00
Tomas Votruba
bd33a4ffab Updated Rector to commit b8a1d72501141a63ff0717c4671120e0b705aa20
b8a1d72501 add mask support for skip to StringClassNameToClassConstantRector (#1102)
2021-10-29 12:16:51 +00:00
Tomas Votruba
be70721306 Updated Rector to commit 8895e1b58f899a77de8b7cc656b74258064026d0
8895e1b58f [CodeQuality] Refactor FixClassCaseSensitivityNameRector (#1093)
2021-10-29 11:18:16 +00:00
Tomas Votruba
d7e82575a8 Updated Rector to commit 87f6d1b0c41e2c266ea5a3ca1c442678e7a03ecb
87f6d1b0c4 [Php80] Handle Call to a member function getOriginalValues() on string on AnnotationToAttributeRector (#1099)
2021-10-29 11:12:52 +00:00
Tomas Votruba
03298f1783 Updated Rector to commit 0db02e27aa31748ea7e881ab76eb04e71e04be84
0db02e27aa [Core] Remove template-extends check as well on FileProcessor (#1098)
2021-10-29 03:37:36 +00:00
Tomas Votruba
3203dd5529 Updated Rector to commit 4c507636dc0be6edd08cbe587c51eca231436d8a
4c507636dc Skip too wide union types on AddMethodCallBasedStrictParamTypeRector (#1097)
2021-10-28 22:22:07 +00:00
Tomas Votruba
0e12053207 Updated Rector to commit 0a704afcef61900b02ad6a49992366ae124a8f1b
0a704afcef Improve configure() method types (#1094)
2021-10-28 15:29:52 +00:00
Tomas Votruba
50c5ae4a6c Updated Rector to commit 1e398bbcd4a01f250c81283c556e8f7f53af6ee8
1e398bbcd4 [CodingStyle] Refactor RemoveUnusedAliasRector (#1089)
2021-10-28 12:34:07 +00:00
Tomas Votruba
984561f522 Updated Rector to commit 67e44eff2634077627176a23c923fb9a40753bdb
67e44eff26 [Scoped] Fix build standalone and along other package on rector/rector (#1091)
2021-10-28 12:05:09 +00:00
Tomas Votruba
ecd1a481cf Updated Rector to commit 6a6dc6b6bfd1f664ac2bddaf92304a3da9170a69
6a6dc6b6bf [TypedPropertyRector] Refactor skip Type hint DummyTraitClass on TypedPropertyRector (#1088)
2021-10-28 12:03:27 +00:00
Tomas Votruba
756ef832ec Updated Rector to commit e2bbc2fd9d25cd04a9933c7507304af70bb7e76a
e2bbc2fd9d [DowngradePhp74] fix uses for nested arrow functions with same param names (#1090)
2021-10-28 12:01:11 +00:00
Tomas Votruba
0c54ea5aa9 Updated Rector to commit 4680c56d005b2dfade49fa14144e75862a9a8b1f
4680c56d00 Bump Rector package deps (#1087)
2021-10-27 23:25:15 +00:00
Tomas Votruba
6a0e872ef0 Updated Rector to commit 557c3c6071166462274dc9d44c4785e5bbab741b
cb028ac9c7 remove NodeNameResolver config, breaks much more rules 557c3c6071 fix cs
2021-10-27 19:25:02 +00:00
Tomas Votruba
0334d1bfd6 Updated Rector to commit 6bcdc92198efbfbb3990844816f11d18e16833d7
6bcdc92198 [Php80] Add Php8ResourceReturnToObjectRector (#1068)
2021-10-27 14:59:18 +00:00
Tomas Votruba
f4d0c0a039 Updated Rector to commit 7b848a71112ed256f669e0f25f461aaee137a89e
7b848a7111 comlexity
2021-10-27 13:59:21 +00:00
Tomas Votruba
e76ecdb78b Updated Rector to commit 3bda987e53dad19b5f5ae3db86a06f6c8ae5ded4
3bda987e53 fix intersection type with single type (#1086)
2021-10-27 13:57:53 +00:00
Tomas Votruba
f76af951dc Updated Rector to commit adff54933e8bd08957ae3b6b5d23a036081f0870
adff54933e avoid future getArgs() method that breaks package usage
2021-10-27 13:42:49 +00:00
Tomas Votruba
d73a6051ab Updated Rector to commit a9710acede09ef621cc420f674ce3998b07bbca0
a9710acede improve alias resolving in namespace-less files (#1085)
2021-10-27 12:31:55 +00:00
Tomas Votruba
0c20321ff6 Updated Rector to commit aa327fb24b17fabbd9af316899878a59b211f435
aa327fb24b [DowngradePhp74] Fix explicit class removal in case for return parent (#1084)
2021-10-27 12:06:08 +00:00
Tomas Votruba
9aee946272 Updated Rector to commit b26d27cc93a83fdd4a7f8d110ea7a78c25cd1fd2
b26d27cc93 [CI] allow to deploy code even if build fails, to see real diff in changes
2021-10-27 11:46:54 +00:00
Tomas Votruba
913a57d9de Updated Rector to commit d0e5496e3b040040c0d39e88e931ac41ffe10238
d0e5496e3b missing condigion
2021-10-27 09:46:55 +00:00
Tomas Votruba
2b6e4f5909 Updated Rector to commit d1e09e3d5eb1fb5db196c15dac3ebd45d38341c9
d1e09e3d5e [ECS] remove ignored rules that are now fixed, use SimplePhpParser for ad-hoc node resolving (#1076)
2021-10-27 08:50:45 +00:00
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