Commit Graph

5241 Commits

Author SHA1 Message Date
Tomas Votruba
44b210bff3 Updated Rector to commit b167b7109dd698b3f473bd3927a9677e46c2b887
b167b7109d [core] Remove ParentConnectingVisitor from SimpleCallableNodeTraverser (#3520)
2023-03-26 09:53:46 +00:00
Tomas Votruba
3cb738e57e Updated Rector to commit 6d3efd5be7ab2de0a25aebabddb26c497611d4fb
6d3efd5be7 [Core] Set configured file extensions to analyzed files for NodeScopeResolver (#3522)
2023-03-26 08:46:54 +00:00
Tomas Votruba
7294170d53 Updated Rector to commit 3445422189028175f9d99563c3ec5e5bad86e9b5
3445422189 Remove deprecated @noRector warning (#3518)
2023-03-25 11:20:04 +00:00
Tomas Votruba
0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba
9d7d2b3376 Updated Rector to commit 697479f14891c51f53e64144826cbe65e2c48dcc
697479f148 Performance: Improve node name resolver performance (#3506)
2023-03-23 15:26:18 +00:00
Tomas Votruba
b5afb126a3 Updated Rector to commit 5e29a35bb60f92bece6fede8080645e7ba7fc421
5e29a35bb6 Performance: Reduce isObjectType calls (#3502)
2023-03-22 14:20:22 +00:00
Tomas Votruba
6438137a64 Updated Rector to commit b411755c297647bf0350c849e35b63c0de5f20b2
b411755c29 Performance: Prevent trait resolving in NodeTypeResolver (#3501)
2023-03-22 10:18:06 +00:00
Tomas Votruba
765799a37b Updated Rector to commit ed11caa6ada99a91a251b94c28b89856f20588af
ed11caa6ad Performance: Memoize sipped file paths (#3495)
2023-03-20 15:16:46 +00:00
Tomas Votruba
1af1cd5c12 Updated Rector to commit 5371408babdacb17ccbbe89b4c74281dcb4825c1
5371408bab [Container] Add RectorConfig::containerCacheDirectory() (#3490)
2023-03-19 20:28:32 +00:00
Tomas Votruba
08280085d7 Updated Rector to commit e11572a6f1004d905766ae88ee7ce8f667009007
e11572a6f1 [Caching] Alternative Fix caching on change config cache not cleared (#3483)
2023-03-16 12:59:13 +00:00
Tomas Votruba
30f75fc21f Updated Rector to commit c240c69f45c29685eeace5ad0737ef049dff5211
c240c69f45 [PostRector] Allow unused alias removal from Use_ on UnusedImportRemovingPostRector (#3477)
2023-03-13 22:32:36 +00:00
Tomas Votruba
65a343d35a Updated Rector to commit 6cc0a40d5d64b45408f830563aa22c73a41a6e9e
6cc0a40d5d  [Renaming] Remove FileWithoutNamespace from getNodeTypes() on RenameNamespaceRector (#3475)
2023-03-12 01:48:24 +00:00
Tomas Votruba
1306eeaceb Updated Rector to commit b66c8d3174539832217ef9eb805064eb876c83af
b66c8d3174 [PostRector] Add support for no-namespaced code on UnusedImportRemovingPostRector (#3476)
2023-03-12 01:38:32 +00:00
Tomas Votruba
bd50266270 Updated Rector to commit 9d33ac92be2ac793d06d2da7f13a2008544d8d30
9d33ac92be Fix downgrade vendor/tracy .phtml file (#3469)
2023-03-09 14:26:00 +00:00
Tomas Votruba
e6981ca53c Updated Rector to commit 4d9b7e841f026d0566ba7afa356503e7d4466e15
4d9b7e841f [Renaming] Remove RenameClassRector::processCleanUpUse() as already covered on ClassRenamingPostRector (#3463)
2023-03-08 07:33:37 +00:00
Tomas Votruba
c086693921 Updated Rector to commit 1142c99af7380356e2d1c8e572fb6d19830db51f
1142c99af7 [PostRector][AutoImport] Move check duplicate use of rename class from UseAddingPostRector to ClassRenamingPostRector (#3462)
2023-03-07 13:36:57 +00:00
Tomas Votruba
b146658bb5 Updated Rector to commit f9900dd236001d117a7b3fdb9fcc2d0d5ec569bc
f9900dd236 [AutoImport][PostRector] Handle duplicated import on namespaced class on UseAddingPostRector (#3461)
2023-03-07 00:55:13 +00:00
Tomas Votruba
6fea23a820 Updated Rector to commit d9dc05621793de2fa23815b73e8db94c8f56b30d
d9dc056217 [Core] Remove RenamedClassesSourceLocator (#3454)
2023-03-04 09:04:54 +00:00
Tomas Votruba
57f48de22e Updated Rector to commit ed16cab5a2fa6982539e06ad70ac9c119c7dc346
ed16cab5a2 [Php80] Add typed property Closure support on ClassPropertyAssignToConstructorPromotionRector (#3453)
2023-03-04 08:55:37 +00:00
Tomas Votruba
b66a82808b Updated Rector to commit d9dc05621793de2fa23815b73e8db94c8f56b30d
d9dc056217 [Core] Remove RenamedClassesSourceLocator (#3454)
2023-03-04 08:55:31 +00:00
Tomas Votruba
2ddddb4e1a Updated Rector to commit c2a6d2217395ef9f6ba9a46188a62b97f2c4b250
c2a6d22173 [Core] Improve performance of ContextAnalyser: use findFirst instead of find all (#3449)
2023-03-04 08:52:32 +00:00
Tomas Votruba
9d9213d70c Updated Rector to commit 658e48f31fcb26a0e56740a49a994dbab3c1e6b5
658e48f31f Handle ->getDefaultValueExpression() return null (#3446)
2023-03-03 10:07:09 +00:00
Tomas Votruba
f2707dea96 Updated Rector to commit c9a621de856eac0be037169c3c07c1b279b3cc9f
c9a621de85 [Privatization] Remove ReplaceStringWithClassConstantRector as rather dynamic and can lead to unexpected results (#3443)
2023-03-03 03:15:36 +00:00
Tomas Votruba
7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba
cf1958e570 Updated Rector to commit 2eac878f538ddd1e20346c14d402f7e93ee6033b
2eac878f53 [TypeDeclaration] Only apply false type on php 8.2+ configured on TypedPropertyFromAssignsRector (#3422)
2023-02-28 18:23:25 +00:00
Tomas Votruba
bfb3b0cf14 Updated Rector to commit 4a583b6a777b38f14791374a8793f37ae024e6f9
4a583b6a77 [phpstan-extensions] Provide phpstan container to bootstrap file from extensions (#3401)
2023-02-23 09:42:39 +00:00
Tomas Votruba
908a3c39d3 Updated Rector to commit 648a2f5ca994605a85e8f10279936a864eefc09c
648a2f5ca9 Fix BleedingEdgeIncludePurifier to use random value on temporary file to avoid crash (#3396)
2023-02-21 17:09:39 +00:00
Tomas Votruba
f913db6069 Updated Rector to commit 62d8685ce5b653a71014231d6a7dbf6934c30e60
62d8685ce5 Reuse anonymous class detection via ClassAnalyzer on PHPStanNodeScopeResolver (#3393)
2023-02-19 17:53:18 +00:00
Tomas Votruba
c97a6c91a3 Updated Rector to commit c65e60f70b628fd0602a9107189a1e9b6f0d3adf
c65e60f70b [Php56] Skip after infinite loop on AddDefaultValueForUndefinedVariableRector (#3390)
2023-02-19 14:50:05 +00:00
Tomas Votruba
17ffb97ef9 Updated Rector to commit bf7648c317c5f12bc2964de223b494dbc73b79a4
bf7648c317 improve excpeiton message
2023-02-19 14:31:54 +00:00
Tomas Votruba
2a475d5b03 Updated Rector to commit 9c6f41e6c0b943912ca1fd2b6a289106b556efbe
9c6f41e6c0 Fix external packages bleeding edge includes (#3389)
2023-02-17 19:53:09 +00:00
Tomas Votruba
bb73357927 Updated Rector to commit 48228edf4647336d860ab24af7d4c62ea06c75a1
48228edf46 [config] include bootstrap files of extensions, to let rector know about types as well (#3380)
2023-02-14 15:08:14 +00:00
Tomas Votruba
2dc52bcb24 Updated Rector to commit 61db165a8fc8a52935610500826b11e87c4cc33d
61db165a8f [TypeMapper] Use Identifier instead of Name on bool and null (#3378)
2023-02-14 12:16:55 +00:00
Tomas Votruba
90ca96064c Updated Rector to commit 56e1633c826c009e643873ca8461ea45d0fff217
56e1633c82 [TypeMapper] Use Identifier instead of Name on ObjectWithoutClassType (#3377)
2023-02-14 11:52:01 +00:00
Tomas Votruba
e946e57476 Updated Rector to commit dbaf0da38ac23091d39d4df71749da474e8df8ac
dbaf0da38a [TypeMapper] Use Identifier instead of Name on non-object types (#3375)
2023-02-13 14:43:04 +00:00
Tomas Votruba
51f97eb7a9 Updated Rector to commit 7f9704010043e95a107d2a5fd5112fcfc2c2990b
7f97040100 [Php80][AutoImport] Do not import iterable on AutoImport enabled on UnionTypesRector (#3374)
2023-02-13 09:45:26 +00:00
Tomas Votruba
1044a9f5fe Updated Rector to commit db4ec0218f0ad9670790d5725c98bbb34120a97e
db4ec0218f [TypeDeclaration] Handle nullable intersection on TypedPropertyFromAssignsRector (#3372)
2023-02-12 17:34:35 +00:00
Tomas Votruba
5b5530d0ab Updated Rector to commit 67fd1651d647fca53597dbd6afe795ffe0ea75ca
67fd1651d6 [Php72] Handle crash on variable as operator on CreateFunctionToAnonymousFunctionRector (#3370)
2023-02-11 17:57:17 +00:00
Tomas Votruba
3483839cce Updated Rector to commit 2acb78be7361011f47c301344d8bb8ef4aa0e33d
2acb78be73 [Php55] Handle crash on direct $ without double quote backreference on PregReplaceEModifierRector (#3369)
2023-02-11 11:34:35 +00:00
Tomas Votruba
561809dcd2 Updated Rector to commit beb6e9127c74b5844dc6165cd60cba9c7136a411
beb6e9127c Skip namespaced use no backslash on removeUnusedImports() (#3366)
2023-02-08 17:54:26 +00:00
Tomas Votruba
637250b084 Updated Rector to commit 9807d95c6b83a852c60d103e148cca123fd7ca01
9807d95c6b Skip namespaced use on removeUnusedImports() feature (#3365)
2023-02-08 17:11:31 +00:00
Tomas Votruba
9463a3bf8f Updated Rector to commit b9fef0f123d379125f7d946c49959c292feea723
b9fef0f123 Add unused import remover to cleanup use imports after changes (#3358)
2023-02-08 15:30:12 +00:00
Tomas Votruba
f0b34d4760 Updated Rector to commit 5fc8c1a0539ba0f4ff29ed90f29633d4414e3ff6
5fc8c1a053 Replace ParametersAcceptorSelector::selectSingle() with ParametersAcceptorSelectorVariantsWrapper::select() when possible (#3361)
2023-02-08 10:25:24 +00:00
Tomas Votruba
73d7bba3b0 Updated Rector to commit a3bc2dcf8045157aafb20645b9e3cf49fa0542fb
a3bc2dcf80 [TypeDeclaration] Handle crash Multiple variants - use selectFromArgs() on ReturnAnnotationIncorrectNullableRector (#3359)
2023-02-08 09:19:48 +00:00
Tomas Votruba
3b73a69c61 Updated Rector to commit b999639103204532273571a43e9a9d1b19ea4ff2
b999639103 Added RenameClassNonPhpRector dependency to ClassRenamingPostRector (#3360)
2023-02-08 09:16:54 +00:00
Tomas Votruba
6481c8dccc Updated Rector to commit 5f4edd9230355cadc311ba8e8954fb9ae5bdc849
5f4edd9230 Remove NonVariableToVariableOnFunctionCallRector, should be handled manually as might need attention (#3357)
2023-02-07 22:56:24 +00:00
Tomas Votruba
b971f67811 Updated Rector to commit 51fcdc2639267a875c3d5c1a985800104e984ead
51fcdc2639 [Cache] Replace Strings::webalize() with sha1_file() from resolved path on ChangedFilesDetector (#3356)
2023-02-07 16:56:38 +00:00
Tomas Votruba
1e09b81ddb Updated Rector to commit e68c8d23cbbdb9dbfef66133af6bb4f1857015ad
e68c8d23cb Fix CallableTypeParameterNode and IdentifierTypeParameterNode crash (#3353)
2023-02-07 12:26:09 +00:00
Tomas Votruba
5cc4e62142 Updated Rector to commit 74bb7a0a7153e3b4423dd816da23c5de55875fc2
74bb7a0a71 Remove deprecated TYPE_DECLARATION_SET (#3352)
2023-02-07 00:42:51 +00:00
Tomas Votruba
8c3f7d543f Updated Rector to commit b17d4a39222960783a78207f24d404d8dbc97eab
b17d4a3922 [Testing] Make temp fixture file names exposed next to the fixture file, to make easier fixes and path resolvements (#3338)
2023-02-06 14:23:37 +00:00