Commit Graph

15602 Commits

Author SHA1 Message Date
Tomas Votruba
d15c6b74f6 Updated Rector to commit f9aa52afe48fa20eb1328d4e9bf5acddde79d2b6
f9aa52afe4 [PSR4] Remove clone  on PseudoNamespaceToNamespaceRector (#3554)
2023-04-02 19:03:30 +00:00
Tomas Votruba
f91fd0c896 Updated Rector to commit 141f1b0b46f35a1fcd9a5d4ee5d60f4d9976b0d8
141f1b0b46 [PSR4] Remove clone  on NormalizeNamespaceByPSR4ComposerAutoloadRector (#3553)
2023-04-02 18:55:27 +00:00
Tomas Votruba
dadf4ab6f2 Updated Rector to commit d6ecd7340691b5c5cef8bc8a6e02583f110992cd
d6ecd73406 [Php81] Handle assign op append on ReadOnlyPropertyRector (#3552)
2023-04-02 18:27:50 +00:00
Tomas Votruba
925056da62 Updated Rector to commit 2c244ae76817497300cff1943602045748358bb4
2c244ae768 Improve ArraySpreadInsteadOfArrayMergeRector (#3551)
2023-04-02 09:02:48 +00:00
Tomas Votruba
4c6d730e14 Updated Rector to commit 58f00bfd68219a515d8ae49f2bbfcc6a55f8a575
58f00bfd68 [automated] Apply Coding Standard (#3550)
2023-04-02 00:35:49 +00:00
Tomas Votruba
c04c8097dc Updated Rector to commit 1f8d359d731ec0ecd4f92320626e74d2e1b41d05
1f8d359d73 [automated] Re-Generate Nodes/Rectors Documentation (#3549)
2023-04-02 00:33:26 +00:00
Tomas Votruba
77c06429df Updated Rector to commit 53f549df59999185aba90f5043982dec1973d230
53f549df59 [DeadCode] Remove property comment same line on RemoveUnusedPrivatePropertyRector (#3547)
2023-04-01 19:30:08 +00:00
Tomas Votruba
4ee24449c6 Updated Rector to commit a66b295ddf18885a44d7b177ccf65a0014d25b5c
a66b295ddf [Php81] Merge attributes on NewInInitializerRector (#3546)
2023-04-01 17:08:23 +00:00
Tomas Votruba
06c42060c7 Updated Rector to commit 00abc16e64e63e95d534931c6b1f4ef853dbbeb1
00abc16e64 Bump peter-evans/enable-pull-request-automerge from 1 to 3 (#3545)
2023-04-01 15:27:36 +00:00
Tomas Votruba
9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba
0e412b55cb Updated Rector to commit f7e1b1f57e8746e07627799b5d9813e12c1c7b56
f7e1b1f57e [NodeAnalyzer] Use PHPStan ClassReflection to detect anonymous class on ClassAnalyzer (#3543)
2023-03-31 21:41:53 +00:00
Tomas Votruba
817a8ccc28 Updated Rector to commit 58d862b6f54529f25ecb994ea5e7d2c3eb69f210
58d862b6f5 [DeadCode] Remove previous and parent attribute usage on RemoveNullPropertyInitializationRector (#3541)
2023-03-30 20:44:38 +00:00
Tomas Votruba
9b6b4fafd3 Updated Rector to commit fd2e1a181d96cee745529f345d77be55de3f5d17
fd2e1a181d [CodingStyle] Remove previous node attribute on TernaryConditionVariableAssignmentRector (#3540)
2023-03-30 16:42:45 +00:00
Tomas Votruba
ebdd5e73b4 Updated Rector to commit 34ff3246d3d5f040ca66f30a1eb883923962aecd
34ff3246d3 [CodingStyle] Remove parent attribute usage on RemoveFinalFromConstRector (#3536)
2023-03-30 09:04:49 +00:00
Tomas Votruba
45a0f2ccd4 Updated Rector to commit 34ff3246d3d5f040ca66f30a1eb883923962aecd
34ff3246d3 [CodingStyle] Remove parent attribute usage on RemoveFinalFromConstRector (#3536)
2023-03-29 20:33:54 +00:00
Tomas Votruba
bd5371c774 Updated Rector to commit 0d5169dd77c909421aa1de31aac7bdcd502d66aa
0d5169dd77 [Php70] Remove previous attribute usage on ReduceMultipleDefaultSwitchRector (#3537)
2023-03-29 20:33:15 +00:00
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