Tomas Votruba
12c115e6f6
Updated Rector to commit 5193d43b644f9d059d9964ebcc6820181a7bca18
...
5193d43b64
[NodeTypeResolver] Remove unnecessary loop SourceLocator collection on DynamicSourceLocatorProvider (#5852 )
2024-05-02 02:21:56 +00:00
Tomas Votruba
3fdaba944f
Updated Rector to commit 52aa64ffe2cc0add4cbffede6ce36cbec576ef2f
...
52aa64ffe2
[DeadCode] Clean up TypeHasher on Union Type (#5792 )
2024-04-03 06:21:54 +00:00
Tomas Votruba
664f4e3a6b
Updated Rector to commit 0f1987b0faa8dc1c5e086c9b95457d6018b2cd82
...
0f1987b0fa
Adds a link to the PHP Static Analysis Attributes rector rules (#5787 )
2024-04-01 16:51:34 +00:00
Tomas Votruba
b38b8f3e85
Updated Rector to commit 26890958bc539e9a2234f1457a81d37f5972bf79
...
26890958bc
[Php80] Use identical compare on PromotedPropertyCandidateResolver (#5745 )
2024-03-20 14:21:32 +00:00
Tomas Votruba
e94ff85194
Updated Rector to commit 765338ec5a4a725ce9b6788582372f24c09a3f82
...
765338ec5a
[Php80] Skip var property usage on ClassPropertyAssignToConstructorPromotionRector (#5744 )
2024-03-20 14:11:05 +00:00
Tomas Votruba
ea97f93f74
Updated Rector to commit fbba8606a56e0643a7b3d1ae9af5fded082eea06
...
fbba8606a5
[Php80] Skip ObjectType on ChangeSwitchToMatchRector (#5719 )
2024-03-14 08:27:29 +00:00
Tomas Votruba
de9745c9cb
Updated Rector to commit 7f9113531a256794a5e598663644897ba108d9a2
...
7f9113531a
[Php80] Fix typo class name: DoctrineCoverterterAttributeDecorator -> DoctrineConverterAttributeDecorator (#5689 )
2024-03-04 22:12:31 +00:00
Tomas Votruba
d31429d029
Updated Rector to commit dea2e16665cf567c20664c7ef9bac38d0d7d4f49
...
dea2e16665
[PHP 8.0] Fix case insenstive false positive replacement for str_ends_with (#5677 )
2024-03-02 13:08:36 +00:00
Tomas Votruba
695c190be3
Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
...
94b5561ca8
chore: bump min version of github actions (fix deprecations) (#5675 )
2024-03-01 20:02:28 +00:00
Tomas Votruba
d7100344be
Updated Rector to commit 7e741fee0551af70bb6b3f45c95905fdf9d618ce
...
7e741fee05
Keep comments in annotations when converting them to attributes (#5650 )
2024-02-21 15:17:39 +00:00
Tomas Votruba
476bd88e73
Updated Rector to commit a533e70fca40571ab9504fbb857205b2be2eccb6
...
a533e70fca
[Php80] Add DoctrineCoverterterAttributeDecorator to convert "false"/"true" string to false/true on nullable arg on Doctrine\ORM\Mapping\Column (#5629 )
2024-02-17 10:59:16 +00:00
Tomas Votruba
055cd31f66
Updated Rector to commit 2ff0f08bd7f7f6c848821bcabf0872f81a9c440b
...
2ff0f08bd7
[PHP 8.0] Add always class to AnnotationToAttribute to include string to ::class reference conversion (#5619 )
2024-02-14 19:28:57 +00:00
Tomas Votruba
64ecb6b387
Updated Rector to commit 82d1e1b0c8b80d7a2f30aa4b0fa988a683427db9
...
82d1e1b0c8
[Php81] Handle nested Fqcn UniqueConstraint on NestedAnnotationToAttributeRector (#5614 )
2024-02-13 14:47:21 +00:00
Tomas Votruba
b9e54635e9
Updated Rector to commit 7afec9a02c39848257341c4d2d08e1ddf52bc58b
...
7afec9a02c
Add unique PHP 8.1 constraints (#5612 )
2024-02-13 04:45:07 +00:00
Tomas Votruba
b0c6aaf812
Updated Rector to commit 625bc7eee281d46b0e7c706d9ca9e259b7ef0db6
...
625bc7eee2
Fix platform version resolution, use require first (#5555 )
2024-02-04 23:14:35 +00:00
Tomas Votruba
8cb186674a
Updated Rector to commit 037153ba50e85666dc8bdc90f832ea4c0ff3677e
...
037153ba50
[DX] Fix missing Rector\RectorGenerator\Exception\ConfigurationException (#5558 )
2024-02-04 21:53:39 +00:00
Tomas Votruba
b0211bc3d8
Updated Rector to commit fa75fcf0d1445f90cff9199875aba352671795f9
...
fa75fcf0d1
[Performance][PhpVersionResolver] Cache resolve platform/require from composer.json on ProjectComposerJsonPhpVersionResolver (#5542 )
2024-02-01 23:54:40 +00:00
Tomas Votruba
c49de5a16c
Updated Rector to commit 5e7ecb623ad7fe78a660fe3d2275166492ebdb40
...
5e7ecb623a
[stabilize] Remove child classes from MixedTypeRector as not reliable (#5537 )
2024-01-31 22:01:40 +00:00
Tomas Votruba
bebd959a24
Updated Rector to commit ac072bc8af186b2c86256aa7d29e52bb608ece27
...
ac072bc8af
feat: add an option to skip renaming promoted property (#5457 )
2024-01-11 23:02:48 +00:00
Tomas Votruba
7e7a2f067a
Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
...
476cfb00cb
disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
7ba32aac1f
Updated Rector to commit e12c73eb339a847bcd717025abf5bc43f1cd0e4c
...
e12c73eb33
[psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407 )
2024-01-01 00:20:45 +00:00
Tomas Votruba
1731eeac5d
Updated Rector to commit befe096ca10f7476efeb082fb7c736ba7bd07af5
...
befe096ca1
[phpstan] tidy up bin files, group complex errors + Cleanup AddTypeToConstRector (#5405 )
2023-12-31 20:56:31 +00:00
Tomas Votruba
3f2b3edab8
Updated Rector to commit 6ebab94b971a930457c8e217dcb699c671ad617b
...
6ebab94b97
Add related polyfill interface to other PHP 8.0/7.3 rules (#5389 )
2023-12-25 00:55:45 +00:00
Tomas Votruba
8775d2e083
Updated Rector to commit ebb2d2df55887c25f74af39b400194039dff78d4
...
ebb2d2df55
[DX] Add "Related polyfill" feature to upgrade based on used symfony/polyfill-* packages (#5388 )
2023-12-24 12:52:27 +00:00
Tomas Votruba
f9f96d6bb9
Updated Rector to commit 00b442f2d79f1536e9dc59c2fa7ff541a0cba1e8
...
00b442f2d7
Fix variable to property fetch update in ClassPropertyAssignToConstructorPromotionRector (#5385 )
2023-12-24 00:51:27 +00:00
Tomas Votruba
bd56d13367
Updated Rector to commit 39cce5ccb84ce4ac40eeae113db339a961db9489
...
39cce5ccb8
[ECS] Skip SelfAccessorFixer on *Rector.php to skip example code for using using self:: (#5363 )
2023-12-16 15:42:57 +00:00
Tomas Votruba
e7fa7d1aa0
Updated Rector to commit 18617f9880d098bceae210512c190c8d44aa7811
...
18617f9880
Remove isPositiveInteger() check for third argument to strpos() (#5257 )
2023-12-03 16:56:59 +00:00
Tomas Votruba
77ce00c02a
Updated Rector to commit 483aca176cd25b478a99fe213a98ec5bd348bd13
...
483aca176c
[Php80] Skip PDO::query() on AddParamBasedOnParentClassMethodRector (#5313 )
2023-12-03 09:17:50 +00:00
Tomas Votruba
c5421dfd82
Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
...
e48234e239
Skip RenameMethodRector in never (#5305 )
2023-12-01 09:49:11 +00:00
Tomas Votruba
1c5fde5d65
Updated Rector to commit 8615d40f4c8acb58a000f5bc7e0d0a0cfd353b7f
...
8615d40f4c
[NodeTypeResolver] Handle nullable extended class on ->isObjectType() on DowngradeReflectionGetAttributesRector (#5224 )
2023-11-05 13:58:20 +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
90920e009e
Updated Rector to commit 6aed089476ea0167835fbbdb42d876cddb4c77d4
...
6aed089476
[Php80] Skip when already implements Stringable and has string return type on StringableForToStringRector (#5120 )
2023-10-05 08:21:59 +00:00
Tomas Votruba
9696ef6862
Updated Rector to commit a6732a5b0e80868a6542c9bd5443f27750577e64
...
a6732a5b0e
[FamilyTree] Remove AstResolver on FamilyRelationsAnalyzer (#5117 )
2023-10-05 07:33:50 +00:00
Tomas Votruba
68e74833fe
Updated Rector to commit fe2c85cde9f06c2ccb0e6e7bbbb24f8def25efa9
...
fe2c85cde9
[NodeFactory] Add new method: createReprintedExpr() to create re-printed Expr that can be used to pull default Expr from Param to be re-used (#5114 )
2023-10-04 11:38:51 +00:00
Tomas Votruba
489d95e83b
Updated Rector to commit b491f42c2acd125671c7908a3dacd86316048809
...
b491f42c2a
[Php80] Remove unnecessary re-create default value param from ConstFetch on AddParamBasedOnParentClassMethodRector, set origNode = null instead (#5112 )
2023-10-04 11:17:20 +00:00
Tomas Votruba
dfbbc5179f
Updated Rector to commit 4e56b7c4a9fa9747cb12025c94e07b85a30155bc
...
4e56b7c4a9
[Php80] Remove AstResolver usage on PhpAttributeAnalyzer (#5111 )
2023-10-04 08:45:47 +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
f642d08e09
Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
...
41235b8c7c
[Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091 )
2023-09-29 12:48:57 +00:00
Tomas Votruba
4b7d5cbe32
Updated Rector to commit 8bfaf450145e25e27e33e0ba2ead4c7348c6aa43
...
8bfaf45014
[Php80] Mirror switch comment to match to ChangeSwitchToMatchRector (#5072 )
2023-09-23 13:19:03 +00:00
Tomas Votruba
4b8fc3fb05
Updated Rector to commit e698133cad1a85f2384a6cf450d66c54df1876a2
...
e698133cad
[DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5053 )
2023-09-20 12:55: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
b2b3a0f5cc
Updated Rector to commit 33fa6262970128e964fc4099d88d9a7369828e1a
...
33fa626297
[DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051 )
2023-09-20 12:41:26 +00:00
Tomas Votruba
d7b6d352e5
Updated Rector to commit 308178a058b057813283852029a7b2aaa026568a
...
308178a058
Adding collectors - step 3 (#5043 )
2023-09-18 17:12:03 +00:00
Tomas Votruba
4d86ccbb88
Updated Rector to commit 848c2ad9415b0e536b7864872f895f64104ecb50
...
848c2ad941
Improve Use_ const types in docblocks (#5005 )
2023-09-12 20:17:09 +00:00
Tomas Votruba
3c6c1c03f8
Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
...
a2f70054a7
[DocBlock] Update docblock contents right in the rule (#4999 )
2023-09-11 21:30:42 +00:00
Tomas Votruba
549bed6da9
Updated Rector to commit b3639f72d73d9471ea8a843f93eb2ca61cd54a56
...
b3639f72d7
Update docblock only when changed, directly in rector rule (#4986 )
2023-09-11 13:16:45 +00:00
Tomas Votruba
0a6aef3c00
Updated Rector to commit c9c3d78d3c5e583b541d06e5827f4f019adc3e40
...
c9c3d78d3c
Remove ununnecesary markAsChanged() in PhpDocTypeChanger (#4984 )
2023-09-11 10:41:08 +00:00
Tomas Votruba
282e5517d7
Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
...
ae3608b3d6
Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983 )
2023-09-11 09:08:21 +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
dd562a4b59
Updated Rector to commit 9e8ed6c33f39aa9d7d859fb39b6f2d0344cdea0d
...
9e8ed6c33f
Remove SwapFuncCallArgumentsRector as keeps swaping to infinity, use custom rule instead (#4874 )
2023-08-28 12:45:54 +00:00