Commit Graph

15602 Commits

Author SHA1 Message Date
Tomas Votruba
fd25bb9710 Updated Rector to commit 28e9cdb10785dc382ba2c9251cf1dde9024affa2
28e9cdb107 [CodeQuality] Skip with ascii on JoinStringConcatRector (#3497)
2023-03-21 02:20:08 +00:00
Tomas Votruba
3dd95533c1 Updated Rector to commit 6481ecdb4f118da8e42e1d7123fc21e6fac21a7f
6481ecdb4f Bump paratest to v7.1.2 to support phpunit 10.0.17 (#3496)
2023-03-20 15:28:39 +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
b17ced80d5 Updated Rector to commit ea0c6c15d9a937b1aebd4991815c7a0bab7f30c0
ea0c6c15d9 [Core] Refactor AstResolver to locate node with SimpleCallableNodeTraverser (#3494)
2023-03-20 11:31:04 +00:00
Tomas Votruba
9186224c78 Updated Rector to commit 172d354a23c7b437f255709c7b85dcf667f41adb
172d354a23 [Core] Ensure locate on same ClassLike name on AstResolver (#3493)
2023-03-20 10:27:23 +00:00
Tomas Votruba
5acf36baff Updated Rector to commit 7dcd5f6503afa3ee7ab086cbfe6afb71cbd6d6ec
7dcd5f6503 Performance: Improve AstResolver caching (#3485)
2023-03-20 08:30:24 +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
1391f51af4 Updated Rector to commit 13a25fea9ad99131399bc9f79050cc382627254b
13a25fea9a [Config] Increase default nested chain method call limit to 120 (#3491)
2023-03-19 20:14:35 +00:00
Tomas Votruba
97d7f10164 Updated Rector to commit 4abcd4cde6f5e65232a6c14ef3fa88baba125e6b
4abcd4cde6 [automated] Apply Coding Standard (#3489)
2023-03-19 00:37:38 +00:00
Tomas Votruba
38aa496a3d Updated Rector to commit fd7a99af15609fd33962c0468e2f8a7de191f980
fd7a99af15 [Printer] Handle commented code before closing tag on no rule applied print on PhpFileProcessor (#3488)
2023-03-18 12:29:53 +00:00
Tomas Votruba
239ddef8d4 Updated Rector to commit fd7a99af15609fd33962c0468e2f8a7de191f980
fd7a99af15 [Printer] Handle commented code before closing tag on no rule applied print on PhpFileProcessor (#3488)
2023-03-18 09:45:25 +00:00
Tomas Votruba
cefea0d869 Updated Rector to commit 4225ebf21b1feebdf8e09b1234ceb67e3ce82cd5
4225ebf21b [TypeDeclaration] Handle infinite loop on type recursive itself on ReturnTypeFromStrictTypedCallRector (#3487)
2023-03-18 03:52:50 +00:00
Tomas Votruba
73a02c4fb1 Updated Rector to commit e1dd98dc51c214a743fe1785fd264d2ea27efd72
e1dd98dc51 [DowngradePhp73][DowngradePhp74] Fix infinite loop on DowngradeNullCoalescingOperatorRector+DowngradePhp73JsonConstRector (#3484)
2023-03-17 12:44:08 +00:00
Tomas Votruba
f6c94163d8 Updated Rector to commit e1dd98dc51c214a743fe1785fd264d2ea27efd72
e1dd98dc51 [DowngradePhp73][DowngradePhp74] Fix infinite loop on DowngradeNullCoalescingOperatorRector+DowngradePhp73JsonConstRector (#3484)
2023-03-17 11:53:24 +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
a19af42611 Updated Rector to commit 26c881973810ea90a3061efa5dc57487af184e3b
26c8819738 [TypeDeclaration] Skip mixed condition string on TypedPropertyFromStrictConstructorRector (#3482)
2023-03-16 10:44:18 +00:00
Tomas Votruba
6ac3776e07 Updated Rector to commit 107914ea0b9152a1651f25478a0785db4e96f5f5
107914ea0b [CodingStyle] Skip var ArrayDimFetch on SplitDoubleAssignRector (#3481)
2023-03-16 10:27:27 +00:00
Tomas Votruba
bee2d189ab Updated Rector to commit c240c69f45c29685eeace5ad0737ef049dff5211
c240c69f45 [PostRector] Allow unused alias removal from Use_ on UnusedImportRemovingPostRector (#3477)
2023-03-14 10:21:20 +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
7ff93790bb Updated Rector to commit 113810116956135df1b1862c9b87ea1bd211c94f
1138101169 [CodeQuality] Add indirect return scalar on ReturnTypeFromStrictScalarReturnExprRector (#3478)
2023-03-13 14:54:55 +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
045769c9ec Updated Rector to commit c077c9dda470028f1128a45403fe955caa632133
c077c9dda4 [automated] Apply Coding Standard (#3474)
2023-03-12 00:37:04 +00:00
Tomas Votruba
4ae0d7c74c Updated Rector to commit 874f5e14cbdde6c8094cedcd483eba8764ff1883
874f5e14cb [TypeDeclaration] Skip on ArrayDimFetch on EmptyOnNullableObjectToInstanceOfRector (#3473)
2023-03-11 11:49:02 +00:00
Tomas Votruba
019f8252db Updated Rector to commit a0a6b55350c8199858d63a7302653c8ff87d40ee
a0a6b55350 [Renaming] Remove FileWithoutNamespace from getNodeTypes() on RenameClassRector (#3470)
2023-03-10 15:23:02 +00:00
Tomas Votruba
b4b2b8f25e Updated Rector to commit dc52f2b5bfc3b31c474555ba0155b50ea6211d18
dc52f2b5bf [TypeDeclaration] Handle return from array_map() on ReturnTypeFromStrictTypedCallRector (#3471)
2023-03-10 15:21:11 +00:00
Tomas Votruba
e27f3e5b0b Updated Rector to commit f87827ca264302c24015bc9d2a27a4a288a05682
f87827ca26 Implement  (#3430)
2023-03-09 22:50:19 +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
973f98cb62 Updated Rector to commit c6bd995f8131911e478e24788dd12791ef4b4835
c6bd995f81 Re-enable paratest (#3466)
2023-03-08 15:40:01 +00:00
Tomas Votruba
5e6f195e17 Updated Rector to commit 291aab4a2afd397cff1a37078b0c5b559f5299de
291aab4a2a [AutoImport] Add mirror comment support on first Use_ on no namespace code (#3465)
2023-03-08 15:24:58 +00:00
Tomas Votruba
84c00e601b Updated Rector to commit ed5caee5b1cdecf12b77b1f2944dde539a3b004f
ed5caee5b1 [Renaming] Remove Use_ from getNodeTypes() on RenameClassRector (#3464)
2023-03-08 14:09:44 +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
3cdd9d3ecb Updated Rector to commit b3da981d01f2caa1534033e208a6131c9e61b9c3
b3da981d01 [Renaming] Keep unused import unless configured ->removeUnusedImports() on RenameClassRector on no namespace (#3460)
2023-03-06 20:21:39 +00:00
Tomas Votruba
5059435ef4 Updated Rector to commit b3da981d01f2caa1534033e208a6131c9e61b9c3
b3da981d01 [Renaming] Keep unused import unless configured ->removeUnusedImports() on RenameClassRector on no namespace (#3460)
2023-03-06 12:01:42 +00:00
Tomas Votruba
1cee8cc5d6 Rector 0.15.21 2023-03-06 11:44:29 +00:00
Tomas Votruba
3a55fbcd59 Updated Rector to commit 0433671480db4a41267eddcab741ba1739b58f1f
0433671480 typo
2023-03-06 11:44:19 +00:00
Tomas Votruba
9a50d02173 Updated Rector to commit d8dae934146cb5b99c6bd9eba340aa1863dce08c
d8dae93414 styling
2023-03-06 11:34:27 +00:00
Tomas Votruba
7a5d9d8a62 Updated Rector to commit 6091bdd821a72aa9df52363d944b003ec2fbaf1d
6091bdd821 [Printer] Avoid undefined index 0 on printing FileWithoutNamespace (#3459)
2023-03-05 23:49:34 +00:00
Tomas Votruba
16c8379cdf Updated Rector to commit ee55387e6a9171be6dfa446323eac57d247f7c45
ee55387e6a [e2e] Update nikic/php-parser ^4.15.4 to fix commented alternative if elseif syntax (#3458)
2023-03-05 20:13:41 +00:00
Tomas Votruba
b1ccc29dac Updated Rector to commit 00b6703cdc1c7dde6a568b1121fb7ba5c2dc06a7
00b6703cdc make the link clickable (#3457)
2023-03-05 20:07:02 +00:00
Tomas Votruba
c3c4fb3825 Rector 0.15.20 2023-03-05 11:25:23 +00:00
Tomas Votruba
2f750e7ff5 Updated Rector to commit bf6fdc70b4b903a27367926d189400d279dcb411
bf6fdc70b4 [CodingStyle] Use ExprAnalyzer::isDynamicExpr() to detect dynamic value case cond on BinarySwitchToIfElseRector (#3456)
2023-03-04 10:17:04 +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
4077ceef46 Updated Rector to commit 64a96e39ebbb3b3c00cb2c1f23addc4017388845
64a96e39eb [CodingStyle] Skip case not constant value on BinarySwitchToIfElseRector (#3452)
2023-03-04 08:53:24 +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
b3c8106e73 Updated Rector to commit adfc65ab9500d1a6066bcb05944dd9c5e7c4c7d1
adfc65ab95 [Core] Use is_dir() instead of ! is_file() on FileAndDirectoryFilter::filterDirectories() (#3451)
2023-03-04 08:52:18 +00:00