Commit Graph

3546 Commits

Author SHA1 Message Date
Tomas Votruba 73258064e6 Updated Rector to commit 29a450266e9b34d7cc2e31e96390f52abcebc76e
29a450266e Update doc links (#3523)
2023-03-26 11:59:34 +00:00
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 093f3c0641 Updated Rector to commit ad9b5973ebff338b17452fb0240c1834126f388e
ad9b5973eb [automated] Re-Generate Nodes/Rectors Documentation (#3521)
2023-03-26 00:33:56 +00:00
Tomas Votruba 2955c40fce Updated Rector to commit 6c8aa924ca0e92555f8c8cf30b01ff0ff4fff052
6c8aa924ca [Core] Remove ParentConnectingVisitor usage on AbstractRector (#3519)
2023-03-25 16:53:21 +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 4e1a8b2170 Updated Rector to commit d2459d13d512d780cc22f7822bf630717d888969
d2459d13d5 [CodeQuality] Remove next node attribute usage on SimplifyIfNotNullReturnRector (#3517)
2023-03-25 05:15:57 +00:00
Tomas Votruba 4218f60ee4 Updated Rector to commit da3eb400a7a88c180869590fc6cbbcf0ba30ce11
da3eb400a7 [CodingStyle] Make EncapsedStringsToSprintfRector work with two string concat (#3515)
2023-03-24 08:09:24 +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 2ba3739f7b Updated Rector to commit 6cec8c5e70017c9374ca0135092bd4cb6934ce3d
6cec8c5e70 [CodingStyle] Remove previous node attribute on WrapEncapsedVariableInCurlyBracesRector (#3512)
2023-03-23 19:21:21 +00:00
Tomas Votruba d8c7bccf74 Updated Rector to commit 5d95d496e4a7583f355a228cca599cab60b09b41
5d95d496e4 [CodeQuality] Remove next node attribute usage on SimplifyIfExactValueReturnValueRector (#3511)
2023-03-23 19:16:38 +00:00
Tomas Votruba ebdc9526fb Updated Rector to commit d7e8477ce3227d5459fcab5ff8255705614781fd
d7e8477ce3 [CodeQuality] Skip static class const fetch on InlineConstructorDefaultToPropertyRector (#3510)
2023-03-23 17:47:23 +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 8e44614ce3 Updated Rector to commit 8609d3b83b7ff1242df1ca54219068e0308dfafa
8609d3b83b Performance: use direct find() instead of lookup all nodes then filter on BetterNodeFinder (#3507)
2023-03-23 08:47:56 +00:00
Tomas Votruba 88b0ceb1d4 Updated Rector to commit b8a0d66cc4eacbc8926e4f9639072007d016a9a3
b8a0d66cc4 Performance: using findFirst() when possible at BetterNodeFinder (#3505)
2023-03-22 20:15:04 +00:00
Tomas Votruba 87fa2ca3ff Updated Rector to commit 5c985c8b82300bdf066861d52b6b9560bb7b38e1
5c985c8b82 Performance: reduce parent attribute usage on BetterNodeFinder (#3504)
2023-03-22 18:11:07 +00:00
Tomas Votruba f4984ebd62 Rector 0.15.23 2023-03-22 15:22:45 +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 5c499ec662 Rector 0.15.22 2023-03-22 09:37:21 +00:00
Tomas Votruba 76fd71553e Updated Rector to commit fa4c805047d25cd7024c1d415aa5550b884101eb
fa4c805047 Reuse AstResolver memoizing on ClassLikeAstResolver (#3498)
2023-03-21 13:15:15 +00:00
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