4508 Commits

Author SHA1 Message Date
Tomas Votruba
504a41770d Updated Rector to commit f8e04774ad93d0979b0a9eee8fd2e2c555ff19ad
f8e04774ad Fixing scoped build (#1143)
2021-11-04 15:30:20 +00:00
Tomas Votruba
8db8a4be7b Updated Rector to commit 6cbc5d4caf64061bd69834a394573f78520f3dd1
6cbc5d4caf [Naming] Use aliased when exists on RenamePropertyToMatchTypeRector on promoted property (#1125)
2021-11-03 09:28:30 +00:00
Tomas Votruba
c69bc27db8 Updated Rector to commit b11942242883c965756d02faba8357884df8131c
b119422428 [TypeDeclaration] Skip ternary on ParamTypeByMethodCallTypeRector (#1131)
2021-11-03 09:04:47 +00:00
Tomas Votruba
f83732a356 Updated Rector to commit 6cbc5d4caf64061bd69834a394573f78520f3dd1
6cbc5d4caf [Naming] Use aliased when exists on RenamePropertyToMatchTypeRector on promoted property (#1125)
2021-11-03 09:03:16 +00:00
Tomas Votruba
4ca6af551e Updated Rector to commit aab9bcfa920b44e3316e4067dc2c91b0be4291b5
aab9bcfa92 Trigger CI to test removed classes in separate packages (#1135)
2021-11-03 00:08:12 +00:00
Tomas Votruba
afdf157297 Updated Rector to commit ff45ce65dd03e48bc4c63d4d68d4a9c7549c8698
ff45ce65dd Remove dead classes #2, remove unused PlatformAgnosticAssertions, remove ConsoleShowOutputFormatter (#1134)
2021-11-02 20:06:11 +00:00
Tomas Votruba
8e7dd2e640 Updated Rector to commit b7d37b828e90ea52b8f83eadc825598f087e27e6
b7d37b828e Remove dead classes (#1133)
2021-11-02 16:51:44 +00:00
Tomas Votruba
e19ec3e214 Updated Rector to commit 8e9ef8786ecc1a1b122b55b361c36b3fec734c7e
8e9ef8786e [DeadCode] Skip Union with Interface on RemoveUselessParamTagRector (#1127)
2021-11-02 08:10:20 +00:00
Tomas Votruba
20d25ed33b Updated Rector to commit 539f70a5b55e3e6964f3f6651a64fe6c6b86416d
539f70a5b5 [Php70][Visibility] Avoid error Argument #1 () must be of type PHPStan\Analyser\Scope, null given (#1120)
2021-11-01 16:20:41 +00:00
Tomas Votruba
53905d9ec8 Updated Rector to commit 99dfbea361b6a84f5f89d8ef681b344650c19957
99dfbea361 Fix parent converting of union type based on token position (#1123)
2021-11-01 15:44:03 +00:00
Tomas Votruba
79e2c681df Updated Rector to commit 222f44fd7490db0bea0d88835381ce0e3012b748
222f44fd74 update namespace for ContainerBuilderFactory
2021-11-01 15:16:28 +00:00
Tomas Votruba
607db8843e Updated Rector to commit f3556e6d6d70e2550cc8f17d6c57a2eae1a4ccc5
f3556e6d6d require symfony/contracts, to make downgrade of console work
2021-11-01 14:32:25 +00:00
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
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