4594 Commits

Author SHA1 Message Date
Tomas Votruba
31b82ed68d Updated Rector to commit 6a894b4939070e3e1f62b61a1ce9755203951ac8
6a894b4939 [PHPStan 1.0] Remove sorted union types, now handled by default (#1112)
2021-10-30 14:20:34 +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
87204a6592 Updated Rector to commit cfcd16acc7620cf95de1d72edd12265c05e12f12
cfcd16acc7 [PHPStan 1.0] Use processNodes() over processNodeStmts() (#1111)
2021-10-30 13:46:34 +00:00
Tomas Votruba
c90fff5b41 Updated Rector to commit 95ad690d94aacddc72af7ab6c33be0d4d15db22c
95ad690d94 [PHPStan 1.0] use selectFromArgs() for function reflectoin to get passed by reference positoins (#1113)
2021-10-30 13:43:30 +00:00
Tomas Votruba
9eb3a9755c Updated Rector to commit e5186a79b48bd11252f78a6439d8cd43d65a7f64
e5186a79b4 Improve InflectorSingularResolver (#1108)
2021-10-30 00:06:50 +00:00
Tomas Votruba
c935148592 Updated Rector to commit a7d8b395a35d4b05aec4192ecc000e3e79a377f8
a7d8b395a3 Fix type without class name mapping without substracted type (#1104)
2021-10-29 12:54:14 +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
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
59c1ff9298 Updated Rector to commit a5f8d529a9817fc17f9241cca0cbf8e98aa3750e
a5f8d529a9 Remove extends tempalte check, to avoid missing scope bugs (#1096)
2021-10-28 18:51:12 +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
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
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
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
0bc965473b Updated Rector to commit dcb61055d30dae407d8cef0608d429d6b1e3a3dd
dcb61055d3 Various type fixes (#1078)
2021-10-27 09:24:45 +00:00
Tomas Votruba
1e22db1b82 Updated Rector to commit add90158499b26f4e0876ddc155fe9147e8e3db7
add9015849 SelfType and StaticType are now handled in ObjectTypeSpecifier (#1077)
2021-10-27 09:07:15 +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
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
e79d4b8fe3 Updated Rector to commit 877cf17eb0977f056426e68df85cce72cae12d5e
877cf17eb0 Improve stmts and tokens context in Parser (#1061)
2021-10-25 18:49:32 +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
549f59ce92 Updated Rector to commit 06ea31c2de864de4af1a4766e46aa683214a71d0
06ea31c2de Fix Rector apply on Source locators (#1053)
2021-10-24 20:38:54 +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
070eedc010 Updated Rector to commit fd5edffa386fba605d2a4243d67e56e78571d7a5
fd5edffa38 [TypeDeclaration] Add TypedPropertyFromStrictGetterMethodReturnTypeRector (#1048)
2021-10-23 21:09:26 +00:00
Tomas Votruba
c5c32118fc Updated Rector to commit 6f7805560bab246e796debde6dece3a224ec65a8
6f7805560b [NodeTypeResolver] Handle hang on @template-extends in dependent Files (#1044)
2021-10-23 08:35:53 +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
9dc98e9112 Updated Rector to commit 39edeb3f2d5a890ed5472c278247329f579f3737
39edeb3f2d [Php74] Do not remove non-empty-string docblock on TypedPropertyRector (#1042)
2021-10-22 13:24:11 +00:00
Tomas Votruba
486b0da059 Updated Rector to commit 9eac8d451ae449fa96fe811ea6d2eeffee3f182e
9eac8d451a remove unused method (#1043)
2021-10-22 12:16:14 +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
f3927bad9a Updated Rector to commit d916d486bc7da8f8d7593b33f8a1c59cac78c31c
d916d486bc [DowngradePhp54] Add DowngradeStaticClosureRector (#1037)
2021-10-21 18:43:06 +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
1099eab862 Updated Rector to commit 36fc840488d73e890869a36ce876b9cdea3f78eb
36fc840488 Trigger notification (#1027)
2021-10-20 01:31:18 +00:00
Tomas Votruba
46767be627 Updated Rector to commit 0b8fcdaa57061662d684f2653d37f28f1eb8e53f
0b8fcdaa57 [BetterPhpDocParser] Handle illegal offset type of ConstExprIntegerNode on ArrayParser (#1024)
2021-10-19 09:52:41 +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
15381bde66 Updated Rector to commit 398744232e762c4f0b97ad02dff9c111589ff961
398744232e [Caching] Improve FileCacheStorage to avoid overlap remove directory (#1022)
2021-10-18 17:44:46 +00:00
Tomas Votruba
a91fc19e43 Updated Rector to commit 7d4d120e2d0507236381171db434e6e803d70c99
7d4d120e2d [Cache] Avoid to remove non empty cache directories on cache clearing (#1007)
2021-10-18 16:50:10 +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
427b9ce357 Updated Rector to commit 8bb31f25562b83504ca36b5c94797c87131afa8f
8bb31f2556 [automated] Re-Generate Nodes/Rectors Documentation (#1012)
2021-10-17 00:30:43 +00:00
Tomas Votruba
210698f252 Updated Rector to commit ed5be72a6686f54d5575f2449e1ae8708da304d6
ed5be72a66 [release] fix downgrade of phpstan types (#1009)
2021-10-16 10:48:33 +00:00