18142 Commits

Author SHA1 Message Date
Tomas Votruba
23b3490cd9 Updated Rector to commit 1561c90c6b9ef040532a34afa1c2f581ad5dfbc1
1561c90c6b [DeadCode] Clean up instanceof check on RemoveDeadInstanceOfRector.php (#6096)
2024-07-01 08:18:32 +00:00
Tomas Votruba
78890ded1d Updated Rector to commit 3c2100b3a8d2372094135efa9c4d0433078337b5
3c2100b3a8 Union mapper cleanup (#6094)
2024-07-01 07:18:28 +00:00
Tomas Votruba
738f33982e Updated Rector to commit ef333502fb722ef471049b492a257781d02d0d62
ef333502fb Make NameScopeFactory simpler (#6092)
2024-07-01 06:16:16 +00:00
Tomas Votruba
8ead3febe1 Updated Rector to commit ef333502fb722ef471049b492a257781d02d0d62
ef333502fb Make NameScopeFactory simpler (#6092)
2024-06-30 22:00:21 +00:00
Tomas Votruba
7d2f984874 Updated Rector to commit b94486c7b2663616901e4fd67047c963af9bd400
b94486c7b2 Simplify name scope factory (#6091)
2024-06-30 21:53:30 +00:00
Tomas Votruba
e6124b8871 Updated Rector to commit 554cad981917c1d402601c9fb158e3be9a66eeb1
554cad9819 Avoid pre-mature abstract of union type (#6090)
2024-06-30 21:11:54 +00:00
Tomas Votruba
2f18f17787 Updated Rector to commit 33655134e27ea56c99a01e159425d1f358c0b4a0
33655134e2 Remove direct Name support from getType(), as name is never a type (#6089)
2024-06-30 18:03:55 +00:00
Tomas Votruba
ed54ba9621 Updated Rector to commit 9fa1da9262ceb06912363981629a03e8666e9bce
9fa1da9262 Add few union type fixtures to ReturnTypeFromStrictTypedCallRector (#6088)
2024-06-30 17:51:28 +00:00
Tomas Votruba
f3e0e28a74 Updated Rector to commit 0482641eaf933bdb7ef52a89f7064126b61366c3
0482641eaf Use class name directly in RemoveDeadInstanceOfRector (#6087)
2024-06-30 17:49:54 +00:00
Tomas Votruba
33f4d6d989 Updated Rector to commit de0dda8f29453b36bcfa3728cf26662fb634fcd1
de0dda8f29 Compare type directly in CleanupUnneededNullsafeOperatorRector (#6086)
2024-06-30 17:49:38 +00:00
Tomas Votruba
91f015b264 Updated Rector to commit 296a2b2fbbe8d41393cc470eb97ec1c3ac5423cd
296a2b2fbb Cleanup TypeComparator (#6084)
2024-06-30 10:57:55 +00:00
Tomas Votruba
31a6c3af33 Updated Rector to commit e08473e7e1999f413d19d9f63a38eaec89d3b5dd
e08473e7e1 Clear up TypeComparator (#6083)
2024-06-30 10:46:13 +00:00
Tomas Votruba
9f439aaaf7 Updated Rector to commit 2d9ef9e6b876e6a5b7cdac01ca87d4b72ea3c895
2d9ef9e6b8 Remove UnionTypeCommonTypeNarrower as no longer needed, comparison handled by PHPStan (#6082)
2024-06-30 10:32:51 +00:00
Tomas Votruba
0d7785b246 Updated Rector to commit e82e643982359c05c71d0941ee9890aaac452c86
e82e643982 Remove union type mapper narrower, as no longer needed (#6081)
2024-06-30 10:21:05 +00:00
Tomas Votruba
d03b346d78 Updated Rector to commit 1d6d468e8b6b6713d029fe5e6ffc05344cf08130
1d6d468e8b Remove TypeWithClassTypeSpecifierInterface as unused and solve in PHPStan (#6080)
2024-06-30 09:28:21 +00:00
Tomas Votruba
fce5077ee4 Updated Rector to commit 8c0ac8546f05cffd14df4a5d0f43787bfbbecfbd
8c0ac8546f Fix grammar for report sart with short open tag (#6079)
2024-06-30 04:21:20 +00:00
Tomas Votruba
cba6a6c731 Updated Rector to commit 8c0ac8546f05cffd14df4a5d0f43787bfbbecfbd
8c0ac8546f Fix grammar for report sart with short open tag (#6079)
2024-06-29 17:20:09 +00:00
Tomas Votruba
155105e737 Updated Rector to commit 52e95e83fcca59cb53d96fa664d8839b42c90ed9
52e95e83fc Misc cleanup (#6078)
2024-06-29 09:30:38 +00:00
Tomas Votruba
041b312f9b Updated Rector to commit d2b050471bb9e555ee0fe7765dc86bb73cf99f54
d2b050471b Misc cleanup (#6076)
2024-06-29 07:25:59 +00:00
Tomas Votruba
4e82dded61 Updated Rector to commit acfde1aad14af1c5b318452fb1c14c232a38f920
acfde1aad1 [DX] Report files with start with <?= short php tag (#6075)
2024-06-29 06:30:41 +00:00
Tomas Votruba
50e25258eb Updated Rector to commit 926ff9551ce8d3e742ae2a553c3c64e704423f27
926ff9551c Pass file to every PostRector (#6074)
2024-06-28 20:59:39 +00:00
Tomas Votruba
0ffcae08fc Updated Rector to commit 0cf02b0af6531ed472b7f744f2829b0ad1f3c485
0cf02b0af6 Split docblock name imports and name imports as different scope, skip for HTML nodes (#6071)
2024-06-28 20:06:53 +00:00
Tomas Votruba
77a7a17ece Updated Rector to commit f2d4be8e1dd848ad2a00ea9b4af8511761f622d0
f2d4be8e1d [FileSystem] Move filter <?= on last for files filter to make consistent with filter in directories for performance (#6073)
2024-06-28 18:06:20 +00:00
Tomas Votruba
bd04bc4dd3 Updated Rector to commit b390886e366b6ed336d7c023e7fe3871d07c47f9
b390886e36 [Windows] Fix windows filter files with `<?=` start content on FilesFinder (#6072)
2024-06-28 17:27:50 +00:00
Tomas Votruba
a464e5db89 Updated Rector to commit 98ab86bafb914431513967d8bae90869b610bf3f
98ab86bafb Make loading of post rectors conditional, to avoid traversing with disabled features (#6070)
2024-06-28 15:36:50 +00:00
Tomas Votruba
0d9d2d9cdb Updated Rector to commit 27ca1f7b2d1e19b40cf235e1110fac8d582f7c0c
27ca1f7b2d Remove CurrentFileProvider from ValueResolver, let type resolver handle dir and filename (#6069)
2024-06-28 15:29:55 +00:00
Tomas Votruba
bcb11a7c3f Updated Rector to commit a77b00d92bb3e62063ba56c63f42502e6fe6f316
a77b00d92b Skip files with short <?= PHP tag as leads to invalid changes (#6068)
2024-06-28 15:14:22 +00:00
Tomas Votruba
c09e34bbdb Updated Rector to commit 1865d51f2f5e5045ac3b5e52fc45d79d8f36636b
1865d51f2f docs
2024-06-28 14:06:32 +00:00
Tomas Votruba
3732dae0b1 Updated Rector to commit 9c41ee08fd90edc940ad117ea79d6a316138e867
9c41ee08fd Make CatchExceptionNameMatchingTypeRector run without alias resolver (#6067)
2024-06-28 13:08:07 +00:00
Tomas Votruba
2c2b95988f Updated Rector to commit 0796b9267ec313696e57a3cf5d9cd06a923bb62b
0796b9267e [TypeDeclaration] Add AddClosureReturnTypeFromStrictNativeCallRector (#6059)
2024-06-28 07:33:59 +00:00
Tomas Votruba
9389093da3 Updated Rector to commit 2b94020bac39736b20c94b5f64841b57ec5b6398
2b94020bac Revert "[Printer] Remove AlwaysRememberedExpr check on BetterStandardPrinter …" (#6066)
2024-06-28 06:41:00 +00:00
Tomas Votruba
79a285ae73 Updated Rector to commit 0b867444475d26537e488742e437f73305f1a4c1
0b86744447 [Printer] Remove AlwaysRememberedExpr check on BetterStandardPrinter (#6065)
2024-06-28 03:48:53 +00:00
Tomas Votruba
2234db2c47 Updated Rector to commit 20d9565b93cfc4a8ea063b1fa9512c242218fa1f
20d9565b93 [NodeTypeResolver] Clean up unreachableStatementNode flag flip-flop check on NodeScopeAndMetadataDecorator (#6064)
2024-06-28 02:26:57 +00:00
Tomas Votruba
c950697298 Updated Rector to commit c1e0136582837d4322c76e4d7f5ea58a4cc1d68c
c1e0136582 [TypeDeclaration] Add AddClosureReturnTypeFromReturnCastRector (#6061)
2024-06-27 19:35:55 +00:00
Tomas Votruba
61c5d55be0 Updated Rector to commit 4841e576790b6a8e277ce3546e42212af734cd7f
4841e57679 fix: Add code as a named argument (#6062)
2024-06-27 19:35:05 +00:00
Tomas Votruba
b8a1ca3409 Updated Rector to commit 1a2fca653bb7f4c817cf624d0d4c317ef1a0115f
1a2fca653b Add `always` config for EncapsedStringsToSprintfRector (#6050)
2024-06-27 19:30:52 +00:00
Tomas Votruba
0226b2ea72 Updated Rector to commit 237e79105fe7e8ef22020c06ee1a456f27dbcf4b
237e79105f fix: Skip remove always true condition on method calls (#6063)
2024-06-27 18:53:09 +00:00
Tomas Votruba
457380f722 Updated Rector to commit ad8b64c8c158aadddeafa35313e8f5643babda28
ad8b64c8c1 [Php81] Add missing check changed on FuncCall no change on FirstClassCallableRector (#6060)
2024-06-27 12:59:42 +00:00
Tomas Votruba
8e436d37b3 Updated Rector to commit 2178a0559151516f18af39b012f81372bab15cf1
2178a05591 add explicit mixed types in strict declares (#6058)
2024-06-27 09:46:41 +00:00
Tomas Votruba
a8d6183cb0 Updated Rector to commit 33ccf7e416bb6314f17597b1735a399bf769acbf
33ccf7e416 [CI] Make linter simple (#6057)
2024-06-27 07:54:21 +00:00
Tomas Votruba
dad1e77265 Updated Rector to commit fafa4013f6996e47724aad11d4ef0c10d3a9cd14
fafa4013f6 Cleanup few duplicated test fixtures, fix SimplifyEmptyCheckOnEmptyArrayRector test namespace (#6056)
2024-06-27 07:46:59 +00:00
Tomas Votruba
2db7931b21 Updated Rector to commit 77a6000e2aab5a9c67d5c1d5a2cb7a168145b068
77a6000e2a Add min PHP version to RemoveUselessReadOnlyTagRector (#6055)
2024-06-27 07:36:17 +00:00
Tomas Votruba
7606c886a2 Updated Rector to commit fa93e6502bcb1d78f811c4a5af4e044c9b3bf73d
fa93e6502b [Php81] Handle usage as arg by ref key on falsy ObjectType on ReadOnlyPropertyRector (#6054)
2024-06-27 06:38:48 +00:00
Tomas Votruba
5ca1912734 Updated Rector to commit d9d0f3fe429ecf3d3b26f895baaf7229cf44667c
d9d0f3fe42 [DX] Skip post rules in skips (#6052)
2024-06-26 20:39:39 +00:00
Tomas Votruba
3e34f8ed87 Updated Rector to commit da6633d6a264c095d676d61f5bfe5faf52ced269
da6633d6a2 fix: Convert DateTime to Carbon properly when negative days/months are used (#6051)
2024-06-26 18:10:33 +00:00
Tomas Votruba
6be87806c2 Updated Rector to commit 716ee0baa0e116478ba30e06ce68c7431b5d8504
716ee0baa0 [Naming] Handle used in arrow function param, then used again outer ArrowFunction on RenameParamToMatchTypeRector (#6046)
2024-06-26 15:28:34 +00:00
Tomas Votruba
fbeb28108e Updated Rector to commit 6be29cb334c36a803a5a82a420f4b21e11b4389a
6be29cb334 remove e2eTestChangingRunnerWithCache (#6048)
2024-06-26 14:48:45 +00:00
Tomas Votruba
462ba01b9d Updated Rector to commit d6102594b3dd109267e5e5448206373cba8ad043
d6102594b3 [DX] Inform about deprecated rules in config (#6047)
2024-06-26 14:21:24 +00:00
Tomas Votruba
c22f5df110 Updated Rector to commit ca9d1f733f801a06ea23e786094ead5e9b5e4623
ca9d1f733f [TypeDeclaration] Add AddClosureReturnTypeFromStrictParamRector (#6044)
2024-06-26 13:34:02 +00:00
Tomas Votruba
5e279558fc Updated Rector to commit 5bb9cbafb58949e3e05c5c3a294d86df2c4902a0
5bb9cbafb5 Fix downgrade error: namespace Foreach should be Foreach_ (#6045)
2024-06-26 10:52:45 +00:00