18165 Commits

Author SHA1 Message Date
Tomas Votruba
31b1d6440a Updated Rector to commit d945b22f31809a7e15b8d8663931ae128551e38c
d945b22f31 Various cleanups (#5982)
2024-06-20 05:58:14 +00:00
Tomas Votruba
fdbe0039e0 Updated Rector to commit e007104cf6348db447120feeb76a1b1e7b889b44
e007104cf6 [DX] Enable polyfill rules on withPhpSets() config (#5981)
2024-06-20 02:52:53 +00:00
Tomas Votruba
48397d3f81 Updated Rector to commit a787d4c8f6b15ba3590e91746326241efeec8656
a787d4c8f6 Remove deprecated and empty FinalizeClassesWithoutChildrenRector + FinalizePublicClassConstantRector (#5980)
2024-06-19 15:40:53 +00:00
Tomas Votruba
62cf2ca921 Updated Rector to commit 69872ef5930d31c13bb7c9b1650ff4137269c1a4
69872ef593 cs
2024-06-19 06:55:25 +00:00
Tomas Votruba
bcee52342f Updated Rector to commit ab06fea5b1a9e0a13353810e97d1c2e55047b3ca
ab06fea5b1 [StaticTypeMapper] Move namespaced name Name to specific NameNodeMapper (#5978)
2024-06-18 21:56:39 +00:00
Tomas Votruba
38f53da4d7 Updated Rector to commit ab06fea5b1a9e0a13353810e97d1c2e55047b3ca
ab06fea5b1 [StaticTypeMapper] Move namespaced name Name to specific NameNodeMapper (#5978)
2024-06-18 13:55:21 +00:00
Tomas Votruba
ce49022236 Updated Rector to commit ab06fea5b1a9e0a13353810e97d1c2e55047b3ca
ab06fea5b1 [StaticTypeMapper] Move namespaced name Name to specific NameNodeMapper (#5978)
2024-06-18 13:33:35 +00:00
Tomas Votruba
caa3d9876b Updated Rector to commit ab06fea5b1a9e0a13353810e97d1c2e55047b3ca
ab06fea5b1 [StaticTypeMapper] Move namespaced name Name to specific NameNodeMapper (#5978)
2024-06-18 13:21:06 +00:00
Tomas Votruba
107edcdc89 Updated Rector to commit 9678a2ce0df657b82cd4459dd178fbdcfddc49d2
9678a2ce0d [Php74] Add HebrevcToNl2brHebrevRector (#5977)
2024-06-18 12:50:53 +00:00
Tomas Votruba
366181bbbf Updated Rector to commit e6775f06209683494ed75f494022a1d8461327c5
e6775f0620 Bump dependencies, remove few legacy interfaces (#5975)
2024-06-18 08:34:51 +00:00
Tomas Votruba
b53e3c0d6a Updated Rector to commit 526a61b034c626be8c1c86ec5e08c8b64afcde20
526a61b034 [Php83] Skip multiple consts on AddTypeToConstRector when types are different (#5974)
2024-06-17 03:49:48 +00:00
Tomas Votruba
2058e5fc17 Updated Rector to commit 9a0d03a293b3a6aef9fb2c134c27586e2f046043
9a0d03a293 [Php74] Add RestoreIncludePathToIniRestoreRector (#5973)
2024-06-17 02:22:34 +00:00
Tomas Votruba
f57ed0a59b Updated Rector to commit 9a0d03a293b3a6aef9fb2c134c27586e2f046043
9a0d03a293 [Php74] Add RestoreIncludePathToIniRestoreRector (#5973)
2024-06-15 22:12:30 +00:00
Tomas Votruba
b9449048ac Updated Rector to commit 2741d3cf54674f78b729c9e65fea1cc1d8cc3376
2741d3cf54 Update react/promise comment from ignoreErrorsOnPackage() on composer dependency analyser config (#5972)
2024-06-15 00:02:40 +00:00
Tomas Votruba
6265f47a53 Updated Rector to commit 04e662edec757daf61d90c4502332c8cbc125067
04e662edec [Php81] Skip param variable used in next stmt after coalesce on NewInInitializerRector (#5971)
2024-06-14 13:59:37 +00:00
Tomas Votruba
cf6a9e0350 Updated Rector to commit 30abe1ddd49b95969a9e0921eb7052225a133591
30abe1ddd4 [NodeManipulator] Clean up double traverse on StmtsManipulator::isVariableUsedInNextStmt() (#5970)
2024-06-14 12:05:37 +00:00
Tomas Votruba
75cc5ace35 Updated Rector to commit ee948d2a30cc4b674c866bc41d34c9e16b45faab
ee948d2a30 [DeadCode] Reduce loop for used in next stmt on RemoveUnusedVariableAssignRector (#5969)
2024-06-14 11:47:18 +00:00
Tomas Votruba
6a6d8b94d2 Updated Rector to commit aa71d0e5f699df743279045c6f9cd4e7d08b7805
aa71d0e5f6 [DeadCode] Allow pass stmts instead of $node on StmtsManipulator::isVariableUsedInNextStmt() (#5968)
2024-06-14 10:35:06 +00:00
Tomas Votruba
9d34f08b91 Updated Rector to commit dfb55d1c65e483a0d826a4d583a37232cdd1854b
dfb55d1c65 Fix fixture typo (#5967)
2024-06-14 10:06:46 +00:00
Tomas Votruba
a23972fd51 Updated Rector to commit 3a7c8fee6aaeccb3d48beb6731743872ac0ecdd1
3a7c8fee6a [Arguments] Skip First class callable on FunctionArgumentDefaultValueReplacerRector (#5966)
2024-06-14 09:28:58 +00:00
Tomas Votruba
af3a0c090d Updated Rector to commit fb6bbeee075ff5b71901bacc8031abc4738b54d4
fb6bbeee07 [NodeTypeResolver] Early return on node checks set scope attribute on PHPStanNodeScopeResolver (#5965)
2024-06-14 00:13:54 +00:00
Tomas Votruba
c582b6cd76 Updated Rector to commit c3dc626fbf71d43dd52e8b4c2c136667ce4b4514
c3dc626fbf [DeadCode] Skip dynamic variable on RemoveUnusedVariableAssignRector (#5964)
2024-06-13 17:57:46 +00:00
Tomas Votruba
90c6e6b6f3 Updated Rector to commit de31e6f73765bef8a7285a00114037c07712add7
de31e6f737 [Naming] Allow rename variable in multiple statements on RenameVariableToMatchMethodCallReturnTypeRector (#5963)
2024-06-13 01:30:38 +00:00
Tomas Votruba
97b31838f3 Updated Rector to commit de31e6f73765bef8a7285a00114037c07712add7
de31e6f737 [Naming] Allow rename variable in multiple statements on RenameVariableToMatchMethodCallReturnTypeRector (#5963)
2024-06-11 23:11:24 +00:00
Tomas Votruba
5b56f97fec Updated Rector to commit 459843b1617a401d02e8cf5e6a1054f43f069f0d
459843b161 [DeadCode] Use PHPStan $functionReflection->hasSideEffects()->yes() early when possible on PureFunctionDetector (#5962)
2024-06-11 22:11:13 +00:00
Tomas Votruba
e952e0ba80 Updated Rector to commit 324bf249b01745819521490f3066f3a51a8f6249
324bf249b0 [PHPStan] Docblock fix on LocalMethodCallFinder::match() (#5961)
2024-06-11 09:40:47 +00:00
Tomas Votruba
66d6637cdd Updated Rector to commit 297853b887236d6770547058d0727a228385f87d
297853b887 [TypeDeclaration] Add Static Call support on AddMethodCallBasedStrictParamTypeRector (#5960)
2024-06-11 09:35:49 +00:00
Tomas Votruba
b0c2f67914 Updated Rector to commit 589c1e73399a17223ea93ad6a50d2abd8a68505a
589c1e7339 [Printer] Ensure use array_values() on FileWithoutNamespace stmts to make consistent with namespaced file on BetterStandardPrinter (#5959)
2024-06-10 22:22:25 +00:00
Tomas Votruba
71e5a86da3 Updated Rector to commit 2cdf4bc783081cb52c602b989577756e4782d18f
2cdf4bc783 [CodeQuality] Add support for (), {}, [], <> delimiter on RegexPatternDetector (#5957)
2024-06-10 22:00:09 +00:00
Tomas Votruba
7e814dec04 Updated Rector to commit 62fae6ac5b798f3842de0042739c7ddaa42d3bd2
62fae6ac5b [CodingStyle][Php80] Add join func call support on ConsistentImplodeRector (#5958)
2024-06-10 11:25:15 +00:00
Tomas Votruba
62bf7bd90a Updated Rector to commit ead309e168959b93454cdfdf7e091c4aba0b63a2
ead309e168 [FamilyTree] No need to lookup parent class on ClassChildAnalyzer::resolveParentClassMethods() on private method (#5956)
2024-06-10 00:16:59 +00:00
Tomas Votruba
83400dd81f Updated Rector to commit 615f917fa5d54d6efaec6f528b3f4d72dc7f62fe
615f917fa5 [VendorLocker] Move Magic method safe unsafe check into ClassMethodReturnVendorLockResolver from AddVoidReturnTypeWhereNoReturnRector (#5955)
2024-06-10 00:04:42 +00:00
Tomas Votruba
a2a5c87397 Updated Rector to commit 3376578a6e4ab5ec68ff56d863da9e36a36ab857
3376578a6e [VendorLocker] Move early private method check on ParentClassMethodTypeOverrideGuard to resolveParentClassMethod() for re-use (#5954)
2024-06-09 13:07:12 +00:00
Tomas Votruba
6c191927ee Updated Rector to commit 432357641c0de02e6efcbd2cdb2d8d68bc84ba6e
432357641c [automated] Apply Coding Standard (#5953)
2024-06-09 00:33:17 +00:00
Tomas Votruba
855e2b435b Updated Rector to commit a22c3b9ff9f1889902ec42ccd3f4e3c15ac42a4b
a22c3b9ff9 [PHPStan] Clean up VirtualNode check on ExprScopeFromStmtNodeVisitor (#5951)
2024-06-07 10:52:54 +00:00
Tomas Votruba
125524cee4 Updated Rector to commit d2c420909ad90503131eb2c9936d1d12ec8ba38c
d2c420909a [BetterPhpDocParser] Remove unnecessary PrivatesAccessor usage on BetterTokenIterator and TokenIteratorFactory (#5950)
2024-06-06 22:25:08 +00:00
Tomas Votruba
3f16b6500c Updated Rector to commit 962912da397184365e95f794cc8cfe0ece2125dd
962912da39 [VendorLocker] No need parent lookup on private method on ClassMethodParamVendorLockResolver::isVendorLocked() (#5949)
2024-06-06 14:25:22 +00:00
Tomas Votruba
b8683386b9 Updated Rector to commit e0442d70158527e2c505fb2fbadace7eb4c3c68c
e0442d7015 [NodeTypeResolver] Remove Property->type instanceof Node check on NodeTypeResolver->getType() (#5947)
2024-06-06 10:54:57 +00:00
Tomas Votruba
22b4006070 Updated Rector to commit 5aaf9c235c91572529a0c4ac4b77a6e49f56610f
5aaf9c235c [Naming] Handle nullable object @var docblock on RenamePropertyToMatchTypeRector (#5946)
2024-06-06 09:15:17 +00:00
Tomas Votruba
8b323e8472 Updated Rector to commit 548b17b590c459bea9e71a9047becf4416402c9f
548b17b590 [Naming] Handle rename property with only comment, without @var doc on RenamePropertyToMatchTypeRector (#5945)
2024-06-06 09:02:43 +00:00
Tomas Votruba
d9a260cb29 Updated Rector to commit 1fac01a1b0c1e4b36f703bae1cca6b5f0bbaf9e9
1fac01a1b0 [CodingStyle] Use array value for "comments" attribute to set on UseImportsAdder::mirrorUseComments() (#5944)
2024-06-05 12:06:54 +00:00
Tomas Votruba
fdaee6accb Updated Rector to commit 1c2e3d86a853a7b830f0c29a5cacd8a6ff76c977
1c2e3d86a8 Remove the renaming of apache_request_headers (#5943)
2024-06-05 09:25:18 +00:00
Tomas Votruba
f03228eece Updated Rector to commit 1c2e3d86a853a7b830f0c29a5cacd8a6ff76c977
1c2e3d86a8 Remove the renaming of apache_request_headers (#5943)
2024-06-05 02:13:02 +00:00
Tomas Votruba
0ab95c35cf Updated Rector to commit 3b23de7d2cc1d3cdc2556a871c13eb7b3bdbbed6
3b23de7d2c Clean up redefinition propertyName variable on MatchPropertyTypeExpectedNameResolver (#5942)
2024-06-04 22:33:26 +00:00
Tomas Votruba
93cf454345 Updated Rector to commit 035d47ac3bdc4d8159edf8dd50f23727a5f216a1
035d47ac3b [Test] Fix typo file extension test for ArrayItemNodeTest (#5941)
2024-06-04 08:04:33 +00:00
Tomas Votruba
ea4411ee21 Updated Rector to commit 035d47ac3bdc4d8159edf8dd50f23727a5f216a1
035d47ac3b [Test] Fix typo file extension test for ArrayItemNodeTest (#5941)
2024-06-03 22:26:45 +00:00
Tomas Votruba
3dc925f85c Updated Rector to commit 07a61c18f678a24c102a83a4498265c874fab617
07a61c18f6 [Strict] Fix double === 0 comparison on BooleanInBooleanNotRuleFixerRector (#5940)
2024-06-03 14:53:21 +00:00
Tomas Votruba
b7fd04453d Updated Rector to commit 07a61c18f678a24c102a83a4498265c874fab617
07a61c18f6 [Strict] Fix double === 0 comparison on BooleanInBooleanNotRuleFixerRector (#5940)
2024-06-03 12:05:04 +00:00
Tomas Votruba
d8b5e9fad8 Updated Rector to commit dc31daeb27044450eb8fac1532e872c389a3487a
dc31daeb27 [Cleanup] Remove deprecated AttributeKey::PARENT_NODE, remove deprecated NodeNameResolver::isCaseSensitiveName() (#5939)
2024-06-03 11:47:40 +00:00
Tomas Votruba
4521d8e885 Updated Rector to commit 916cc25414fe839fcf19b67c3e0045657f03fcaf
916cc25414 [CodeQuality] Allow check in current Class_ with multiple props on CompleteDynamicPropertiesRector (#5938)
2024-06-02 12:31:56 +00:00