Tomas Votruba
c5421dfd82
Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
...
e48234e239
Skip RenameMethodRector in never (#5305 )
2023-12-01 09:49:11 +00:00
Tomas Votruba
39dc6141e7
Updated Rector to commit 42b697f65f0c648cc45abcc5b9e32a16a7967caa
...
42b697f65f
[deprecated] Remove deprecated properties from AbstractRector (#5243 )
2023-11-11 17:10:37 +00:00
Tomas Votruba
e51766f9ec
Updated Rector to commit 3f2fb29fe87904d779fb2f8d3e59492aaa9249f4
...
3f2fb29fe8
[DeadCode] Allow indirect duplicated grouping on RemoveDuplicatedCaseInSwitchRector (#5234 )
2023-11-09 22:08:11 +00:00
Tomas Votruba
b0251feb16
Updated Rector to commit 437f96a264be9b974d2c5abcc4f5097bfb57b20e
...
437f96a264
RestoreDefaultNullToNullableTypePropertyRector: skip `@readonly` phpdoc (#5233 )
2023-11-08 12:07:04 +00:00
Tomas Votruba
0cbee62160
Updated Rector to commit 9adc7a04b3a312957bb305edafcd0427fa6bd257
...
9adc7a04b3
[CodingStyle] Move ArraySpreadInsteadOfArrayMergeRector from php74 to codingstyle sets list (#5230 )
2023-11-07 18:56:36 +00:00
Tomas Votruba
184cf49468
Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
...
f9de5d311e
[Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219 )
2023-11-02 03:20:18 +00:00
Tomas Votruba
c6f40053b8
Updated Rector to commit a0d324465a4cbccb9236bc69f41069da89d01baf
...
a0d324465a
[Php74][Php81] Allow mixed key on ArraySpreadInsteadOfArrayMergeRector on php 8.1 version feature enabled (#5190 )
2023-10-22 10:12:20 +00:00
Tomas Votruba
671f50c702
Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
...
ee71539694
[NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099 )
2023-10-01 01:36:35 +00:00
Tomas Votruba
3827f75ecd
Updated Rector to commit 23d429233d37af0d743b4d4dc622828c704d2d2f
...
23d429233d
[DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5052 )
2023-09-20 12:53:23 +00:00
Tomas Votruba
44ac4c0b00
Updated Rector to commit b5c8f9a8930520277828986608fda0b75ef5381a
...
b5c8f9a893
use strlen() directly, as enough for string check (#4969 )
2023-09-10 14:40:14 +00:00
Tomas Votruba
326e84f967
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-09-01 11:10:35 +00:00
Tomas Votruba
1814d573d8
Updated Rector to commit e380cf8fdb65fe9929ed047dafdd49fadb00e01c
...
e380cf8fdb
[DX] Make MoneyFormatToNumberFormatRector wrap func call directly to keep simple (#4653 )
2023-08-04 17:46:10 +00:00
Tomas Votruba
aae549741f
Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
...
0cb3fd0feb
[Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626 )
2023-08-01 10:55:14 +00:00
Tomas Votruba
bff94f9200
Updated Rector to commit ceab6d71bb3436c1c613651a12af55954ab3f7bf
...
ceab6d71bb
Add currentStmt property on AbstractRector to allow pull Scope from it on deep Expr (#4437 )
2023-07-19 11:08:33 +00:00
Tomas Votruba
72fec64c3b
Updated Rector to commit 4fbeab88e1b505c0740e66d53864667cc3d7700a
...
4fbeab88e1
fix(rules): Skip readonly classes from restoring default null value. (#4479 )
2023-07-11 22:02:27 +00:00
Tomas Votruba
6981c70c9a
Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
...
9ed8c21b12
[DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388 )
2023-07-01 09:41:56 +00:00
Tomas Votruba
503a6059f8
Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
...
a8922f7431
skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7
Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
...
bb609b28e3
[Core] Always reset stopTraversal to false on next Rector visit (#4182 )
2023-06-11 14:17:34 +00:00
Tomas Votruba
2886ec2c81
Updated Rector to commit 5ba083c88dc02a30a03ecb2fc5925caa2d2f88c0
...
5ba083c88d
Remove parent node fetch (#4143 )
2023-06-09 17:42:49 +00:00
Tomas Votruba
075297ce56
Updated Rector to commit 0af705fb570340cb0e4fbc0b9e897b09bd172f5c
...
0af705fb57
debug
2023-06-06 16:41:24 +00:00
Tomas Votruba
1f621e91a4
Updated Rector to commit 88eed987cc361166359c158ffd22d264d165aa8b
...
88eed987cc
Ensure check isFirstClassCallable() before node->getArgs() on CallLike (#4049 )
2023-06-02 12:32:12 +00:00
Tomas Votruba
9a2931cbe4
Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
...
bdc2fc9963
[NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037 )
2023-06-01 08:56:46 +00:00
Tomas Votruba
c613309b06
Updated Rector to commit 1e0a1ceb897de085e3b8a68fbf88b4028d2064b0
...
1e0a1ceb89
Return nodes directly in MoneyFormatToNumberFormatRector (#3986 )
2023-05-27 10:18:32 +00:00
Tomas Votruba
d9bf6b5c97
Updated Rector to commit 0f412e7961d9c00f47185bd8ed235db950f2d3eb
...
0f412e7961
handle nested ternary have last and start with () (#3981 )
2023-05-27 03:07:15 +00:00
Tomas Votruba
3267b9499d
Updated Rector to commit 385a9cb5f1235808c7226c2efccdc10fc6de6542
...
385a9cb5f1
[Php74] Skip parenthesize ternary if on ParenthesizeNestedTernaryRector (#3980 )
2023-05-26 23:56:10 +00:00
Tomas Votruba
ce521dbd34
Updated Rector to commit bb3d37ab214177a4e2877a5e0b383d055c62b6ad
...
bb3d37ab21
Remove ChangeReflectionTypeToStringToGetNameRector as niche and overly detailed, better refactor reflectio na as a whole (#3976 )
2023-05-26 13:24:53 +00:00
Tomas Votruba
11b175ef12
Updated Rector to commit 6d4a73ed6e31a7fb64b547edad2270391ef03ca2
...
6d4a73ed6e
Remove PARENT_NODE from ParenthesizeNestedTernaryRector (#3974 )
2023-05-26 13:12:31 +00:00
Tomas Votruba
ee06436c96
Updated Rector to commit d603b00818cfabc8aa1699b1154145e68bdb60a0
...
d603b00818
Remove PARENT_NODE from RemoveUnusedVariableAssignRector (#3935 )
2023-05-23 13:36:55 +00:00
Tomas Votruba
da149bb5b0
Updated Rector to commit 645071a650fc50d7e084378facaebcc868a52ba1
...
645071a650
Add test fixture for sprintf number + make use of getArgs() to get always an Arg type (#3822 )
2023-05-13 17:20:02 +00:00
Tomas Votruba
26bbf728d6
Updated Rector to commit d8da061308902cf4ef7a30963d5c9f32b6b9ec02
...
d8da061308
Make SimplifyIfNullableReturnRector + ChangeNestedIfsToEarlyReturnRector work without next/prev (#3794 )
2023-05-11 11:52:57 +00:00
Tomas Votruba
8afa5f961e
Updated Rector to commit 074b1781b3fa7c7e23470c57ab85c0bd5fe0bfd2
...
074b1781b3
Remove RemoveUnusedVariableAssignRector, as could be breaking code in order of excution and hard to do reliable (#3793 )
2023-05-11 07:56:32 +00:00
Tomas Votruba
34a9ea6ade
Updated Rector to commit c63dd46e8d8881b576cee60ef09d68f52789a5ee
...
c63dd46e8d
Drop AttributeKey::SCOPE in Rector-classes (#3790 )
2023-05-10 18:50:31 +00:00
Tomas Votruba
a2c39b778e
Updated Rector to commit 13d81f90894396f7e443cb5cb9198aeacb6bc05a
...
13d81f9089
[Cleanup] Make use of getArgs() directly (#3766 )
2023-05-08 07:37:37 +00:00
Tomas Votruba
65abab80de
Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
...
5c1be93b80
PHP 8.2 is supported (#3717 )
2023-05-01 01:36:32 +00:00
Tomas Votruba
3f1c0e6187
Updated Rector to commit 9629890a306844ba49ea6689d58fbecb67a7980e
...
9629890a30
Use isInteger() (#3593 )
2023-04-09 00:51:38 +00:00
Tomas Votruba
679f8a6710
Updated Rector to commit 0389ec89d79713b46f280cc6f028783c1d4e48b8
...
0389ec89d7
Improve ArraySpreadInsteadOfArrayMergeRector (#3568 ) (#3589 )
2023-04-08 16:24:17 +00:00
Tomas Votruba
3da290e4ab
Updated Rector to commit dbb0e196a43d8c14a9de6abeef8fe081e95c51c2
...
dbb0e196a4
Revert all is* changes (#3584 )
2023-04-08 13:25:07 +00:00
Tomas Votruba
9d60770133
Updated Rector to commit e66317aeb276bb0b544e7b4b55057c9dab5fbb73
...
e66317aeb2
fix cs (#3579 )
2023-04-08 11:32:12 +00:00
Tomas Votruba
aaddfe2522
Updated Rector to commit 59cdfc8d814b094bffd814f4679c828cd45c7ec9
...
59cdfc8d81
Use isInteger() (#3571 )
2023-04-08 01:19:54 +00:00
Tomas Votruba
3ff4433fbb
Updated Rector to commit 073f2d62a5beb49e270b2eab2433b60adb974cb6
...
073f2d62a5
Improve ArraySpreadInsteadOfArrayMergeRector (#3568 )
2023-04-07 08:37:53 +00:00
Tomas Votruba
925056da62
Updated Rector to commit 2c244ae76817497300cff1943602045748358bb4
...
2c244ae768
Improve ArraySpreadInsteadOfArrayMergeRector (#3551 )
2023-04-02 09:02:48 +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
0b3c5d9bcc
Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
...
f22ddc8f18
Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513 )
2023-03-23 23:21:34 +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
7d0f151a40
Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
...
a2cd7283fb
Typo fix comment php 7.3 compat on rector workflow (#3432 )
2023-03-01 13:00:30 +00:00
Tomas Votruba
f923fd0998
Updated Rector to commit 43dd2efc5d663bc16327911fe31c6f6ecf60e753
...
43dd2efc5d
Remove deprecated ReturnTypeDeclarationRector, TypedPropertyRector, ParamTypeDeclarationRector rules (#3350 )
2023-02-06 19:23:07 +00:00
Tomas Votruba
66cc09e8b6
Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
...
d118ae38e2
Use phpstan-deprecation-rules (#3330 )
2023-02-02 09:24:12 +00:00
Tomas Votruba
764b0a2692
Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
...
cb5b01223d
[automated] Re-Generate Nodes/Rectors Documentation (#3259 )
2023-01-01 00:36:31 +00:00
Tomas Votruba
ff75474d25
Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
...
39f43c01cb
Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134 )
2022-12-01 14:10:32 +00:00
Tomas Votruba
7a4c4657bb
Updated Rector to commit 67ec259ce70190a02d29c697dfb2d325f781d8aa
...
67ec259ce7
[TypeDeclaration] Disable and deprecate PropertyTypeDeclarationRector and TypedPropertyRector, to avoid breaks; use split strict rules instead (#3122 )
2022-11-28 15:11:02 +00:00