Commit Graph

15636 Commits

Author SHA1 Message Date
Tomas Votruba
8cbca2ef81 Updated Rector to commit 180d9a4fad89124d3f547af178f5179e4d4277ee
180d9a4fad [DeadCode] Remove previous attribute usage on RemoveDeadConditionAboveReturnRector (#3538)
2023-03-29 20:32:46 +00:00
Tomas Votruba
31bf5eb875 Updated Rector to commit 26e570f0d9f0a623cb315f58272f9b96161d3743
26e570f0d9 [CodeQuality] Add SwitchTrueToIfRector (#3535)
2023-03-29 07:34:40 +00:00
Tomas Votruba
bee65d65f2 Updated Rector to commit 8ff7747eab74154d32f76c9db4443762567e6dda
8ff7747eab RemoveNonExistingVarAnnotationRector: Allow return annotations (#3534)
2023-03-29 01:53:56 +00:00
Tomas Votruba
71617cf3ae Updated Rector to commit 8ff7747eab74154d32f76c9db4443762567e6dda
8ff7747eab RemoveNonExistingVarAnnotationRector: Allow return annotations (#3534)
2023-03-28 22:41:17 +00:00
Tomas Votruba
2b57174b33 Updated Rector to commit b3ea98f636dc6f965589eaf5fcf6dcda6e38cd9b
b3ea98f636 [NodeTypeResolver] Make NodeTraverser as property on NodeScopeAndMetadataDecorator (#3532)
2023-03-28 19:24:10 +00:00
Tomas Votruba
dc695d1925 Updated Rector to commit d0d87702a7b9a8140575d4bee3e9695199bb6338
d0d87702a7 [NodeTypeResolver] Make NodeTraverser as property on PHPStanNodeScopeResolver (#3533)
2023-03-28 19:22:16 +00:00
Tomas Votruba
3398669910 Updated Rector to commit 02df44373272ac230c2d8463e0d101a3ce927da2
02df443732 [NodeTraverser] Add NodeConnectingTraverser (#3531)
2023-03-28 16:34:39 +00:00
Tomas Votruba
d1b207c569 Updated Rector to commit 87186dd873893b15bc4ef881348e02a224e16c07
87186dd873 [NodeTypeResolver] Remove NodeScopeAndMetadataDecorator::decorateStmtsFromString() method (#3530)
2023-03-28 15:38:13 +00:00
Tomas Votruba
1cfb5269d3 Updated Rector to commit 9c95c6068576bbb6e76bd2edc8f4ce4588804b2c
9c95c60685 [NodeManipulator] Reduce parent attribute usage on VariableManipulator (#3528)
2023-03-28 01:08:10 +00:00
Tomas Votruba
e96ee0ceef Updated Rector to commit 48f84c3acc91d32e4b0fb9bcb4785acd0e1bcad2
48f84c3acc [CodeQuality] Handle multiple ifs on SimplifyIfExactValueReturnValueRector (#3527)
2023-03-27 20:20:32 +00:00
Tomas Votruba
8178893c28 Updated Rector to commit c260d97de91a056449703ddea5641aba179703b1
c260d97de9 [Privatization] Remove parent attribute usage on PrivatizeFinalClassMethodRector (#3526)
2023-03-27 18:32:49 +00:00
Tomas Votruba
de30caff39 Updated Rector to commit 0f0b936c98b56f89c3ddf262f757dfd2a68853cb
0f0b936c98 Performance: Use faster hashing algo for cache key generation (#3508)
2023-03-27 08:10:28 +00:00
Tomas Votruba
1cbaed467e Updated Rector to commit ae2355d5616d51bff232786ff7604eef2760362f
ae2355d561 [CodingStyle] Remove next node attribute on NewlineAfterStatementRector (#3525)
2023-03-27 07:32:51 +00:00
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