Tomas Votruba
28f5dbde13
Updated Rector to commit c14f8d45175bd4c10fef503e350d677c4a73ce29
...
c14f8d4517
[Php72][TypeDeclaration] Rollback tweak infinite loop handling on DeclareStrictTypesRector (#5700 )
2024-03-08 06:34:02 +00:00
Tomas Votruba
2e30301381
Updated Rector to commit 13bafcba1524782c349fe6523ce9c18d0f765452
...
13bafcba15
[Php72][TypeDeclaration] Fix infinite loop on ParseStrWithResultArgumentRector+DeclareStrictTypesRector (#5699 )
2024-03-07 21:09:46 +00:00
Tomas Votruba
a9ac2b236c
Updated Rector to commit 62254600d1d3f036ae3e9c502613c4ac96a8b71b
...
62254600d1
[CodeQuality] Add support for compare $this::class compare with string on UseIdenticalOverEqualWithSameTypeRector (#5698 )
2024-03-07 16:34:25 +00:00
Tomas Votruba
a49cabd869
Updated Rector to commit 4a1880bd2976e3cda6db8b1ca27c44c2c933b9e4
...
4a1880bd29
[CodeQuality] Add Equal and NotEqual support on SimplifyIfReturnBoolRector (#5697 )
2024-03-07 13:46:36 +00:00
Tomas Votruba
5cc97f5690
Updated Rector to commit 643814dc92ceacb159adbac79c1ab6fb6e5cc2ee
...
643814dc92
[TypeDeclaration] Add ChildDoctrineRepositoryClassTypeRector (#5695 )
2024-03-06 20:37:05 +00:00
Tomas Votruba
bd3297e237
Updated Rector to commit 84639e6aa9c5daa4958121e9aa19e36b5b6bb9b6
...
84639e6aa9
[Php83] Add support +/- value on constant on AddTypeToConstRector (#5694 )
2024-03-05 22:49:19 +00:00
Tomas Votruba
daa84a6ddf
Updated Rector to commit 10c7bc6a4114dddde311e49efcd9c441ea92babc
...
10c7bc6a41
[Performance][Php81] Ensure check readonly on param only on __construct() method (#5693 )
2024-03-05 11:36:28 +00:00
Tomas Votruba
ae1f64a7a0
Updated Rector to commit e29b97e4b5d6dd5a0c5ee442067cb52f7dbb7f25
...
e29b97e4b5
[Php81] Handle with attribute on ReadOnlyPropertyRector on property promotion (#5692 )
2024-03-05 11:28:48 +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
bd2820567f
Updated Rector to commit 8c52d614891043c1310fb120e0871b4183a33a53
...
8c52d61489
[CodingStyle] Skip anonymous class on MakeInheritedMethodVisibilitySameAsParentRector (#5688 )
2024-03-04 21:33:44 +00:00
Tomas Votruba
9c449858d7
Updated Rector to commit 7df4894bc7bd1bec704f8e428efb768d101e8984
...
7df4894bc7
[Performance][DeadCode] Early check has private methods before find() on dynamic call checks on RemoveUnusedPrivateMethodRector (#5687 )
2024-03-04 17:14:34 +00:00
Tomas Votruba
6fc08102f7
Updated Rector to commit b4212ed99d3aadc3ce6371c984b644b54252752e
...
b4212ed99d
[Performance] Combine repetitive find() usage on RemoveUnusedVariableAssignRector (#5686 )
2024-03-04 14:03:11 +00:00
Tomas Votruba
769ac36c32
Updated Rector to commit 1cd83bef6196e8b8913d2252a6c8a826bafcf62a
...
1cd83bef61
[CodeQuality] Handle array destructuring of unpack on ArrayMergeOfNonArraysToSimpleArrayRector (#5682 )
2024-03-03 02:33:19 +00:00
Tomas Votruba
c34bb45766
Updated Rector to commit 2846b015388fb1eb6d65941481fe9340908c1f79
...
2846b01538
[CodeQuality] Skip combine var with property fetch on InlineArrayReturnAssignRector (#5681 )
2024-03-03 02:19:56 +00:00
Tomas Votruba
659d1a42fb
Updated Rector to commit c591bd291650ab22554ffd819e76d01a1a405719
...
c591bd2916
[CodeQuality] Skip nested array on InlineArrayReturnAssignRector (#5680 )
2024-03-03 02:09:46 +00:00
Tomas Votruba
6986e1fbdb
Updated Rector to commit c9fe3caacced982e1c21d7203e9ea0f1bb2092c8
...
c9fe3caacc
[Transform] Allow transform phpVersion() to withPhpVersion() on RectorConfigBuilderRector (#5678 )
2024-03-03 01:03:16 +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
42b37a76a2
Updated Rector to commit 827992ae9784abb4a2a5f5f3aecbe52606f3c737
...
827992ae97
[Performance] [DeadCode] Early check no params in __construct() on RemoveUnusedPromotedPropertyRector (#5672 )
2024-02-28 15:52:40 +00:00
Tomas Votruba
dc6d59d8bb
Updated Rector to commit 4a2811d0be372ef590c253a493f49bbb6745b524
...
4a2811d0be
[Naming] Handle crash with numeric-string doc on RenamePropertyToMatchTypeRector (#5670 )
2024-02-28 12:35:38 +00:00
Tomas Votruba
d148fa379c
Updated Rector to commit 8b1a181c243346b1c47c50f3e4513b117ebebc9d
...
8b1a181c24
[DeadCode] Skip implements interface __construct() on RemoveUnusedPromotedPropertyRector (#5669 )
2024-02-28 11:20:28 +00:00
Tomas Votruba
e8cdd78f11
Updated Rector to commit 04e62d38cd1f1a0e01d8efc19b19b384cd8726e6
...
04e62d38cd
Revert " [Php81] Skip execution operator on NullToStrictStringFuncCallArgRect…" (#5668 )
2024-02-28 01:07:46 +00:00
Tomas Votruba
4da7518a07
Updated Rector to commit b95ff29edfb93a3f6d0abc62a89b4a5362838f17
...
b95ff29edf
[Php81] Skip execution operator on NullToStrictStringFuncCallArgRector (#5667 )
2024-02-27 18:31:13 +00:00
Tomas Votruba
d24ee522ce
Updated Rector to commit a56ee1ed01bbbdae515b49fe4d820f219208f768
...
a56ee1ed01
[DeadCode] Fix infinite loop on RemoveDeadStmtRector + RemoveUnusedVariableAssignRector (#5666 )
2024-02-27 12:11:43 +00:00
Tomas Votruba
3240f9e962
Updated Rector to commit 58abec4c5663a5d92ac6cd0a2eef6aace80ab408
...
58abec4c56
[automated] Apply Coding Standard (#5665 )
2024-02-25 00:28:21 +00:00
Tomas Votruba
b02be823eb
Updated Rector to commit b6f5a0392d90d8f8b7f6fc42db896fdc3562d2d8
...
b6f5a0392d
[Php83] add type to final class constant (#5662 )
2024-02-24 01:20:55 +00:00
Tomas Votruba
cd427d527e
Updated Rector to commit 3ef3e35c45970bce4000f45f9c1cb651f078c5a0
...
3ef3e35c45
[Php71] Skip re-assign as string on AssignArrayToStringRector part 2 (#5661 )
2024-02-23 19:28:49 +00:00
Tomas Votruba
dcd788c4dd
Updated Rector to commit 2d1f468bc6e41bc84dc273c8ac94033b60761a76
...
2d1f468bc6
[Privatization] Skip with suffix "TestCase" on FinalizeTestCaseClassRector (#5660 )
2024-02-23 13:06:33 +00:00
Tomas Votruba
94501442a5
Updated Rector to commit d754bec5f11ce2d37928901c6998e1cc62e6f20d
...
d754bec5f1
[Php71] Skip re-assign as string on AssignArrayToStringRector (#5659 )
2024-02-23 10:03:16 +00:00
Tomas Votruba
e08ae92529
Updated Rector to commit fb312e00c38b17b096a7257151a4ec0571cd8607
...
fb312e00c3
[PHPStanStaticTypeMapper] Avoid double \ prefix on IntersectionTypeMapper (#5656 )
2024-02-22 10:08:06 +00:00
Tomas Votruba
5c2a81061c
Updated Rector to commit 18a8aecd13cbe87766c38de95dcba08673493d3a
...
18a8aecd13
[TypeDeclaration] Adds AddParamTypeForFunctionLikeWithinCallLikeArgDeclarationRector rule (#5547 )
2024-02-22 09:09:42 +00:00
Tomas Votruba
08cec1591e
Updated Rector to commit 4951accb91a39af88d3903930112f2752e497076
...
4951accb91
[Renaming] New Rule: RenameFunctionLikeParamWithinCallLikeArgRector (#5554 )
2024-02-22 09:08:40 +00:00
Tomas Votruba
adbf03fcec
Updated Rector to commit f9b3312035a4e5baee7105b19715d057587e1f59
...
f9b3312035
[TypeDeclaration] Include MockObject&ClassName docblock with IntersectionTypeNode on TypedPropertyFromStrictSetUpRector (#5655 )
2024-02-22 08:46:08 +00:00
Tomas Votruba
e8568e6d97
Updated Rector to commit 8038ee15844b7753e5698bd42b62669d9ebca12b
...
8038ee1584
[TypeDeclaration] Skip possible returns false on ReturnTypeFromStrictNewArrayRector (#5654 )
2024-02-21 20:27:59 +00:00
Tomas Votruba
9ae89c0674
Updated Rector to commit 6095e3216f057fbf8dded18cf982bfab034f8086
...
6095e3216f
[TypeDeclaration] Allow abs() to return int when pass int arg on ReturnTypeFromStrictTypedCallRector (#5653 )
2024-02-21 19:55:12 +00:00
Tomas Votruba
283153802a
Updated Rector to commit 99a79f8df18f4202f7c939b7996b9714abb78fe4
...
99a79f8df1
[TypeDeclaration] Fix abs() returns on ReturnTypeFromStrictTypedCallRector (#5652 )
2024-02-21 16:18:55 +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
c2f97b2f3a
Updated Rector to commit 23179d00859ca75e0b2e1ceff61bba93a9558806
...
23179d0085
[Transform] Allow transform fileExtensions() to withFileExtensions() (#5641 )
2024-02-20 15:50:51 +00:00
Tomas Votruba
7105619218
Updated Rector to commit 70b1985921960bb02afbbfe16870bee2605e43b3
...
70b1985921
[Transform] Allow transform disableParallel() to withoutParallel() on RectorConfigBuilderRector (#5640 )
2024-02-20 14:56:13 +00:00
Tomas Votruba
e68f6c257d
Updated Rector to commit f107b4c82435c69068a7bb93aadaa288952e9901
...
f107b4c824
[Rector] Allow transform sets() to withSets() on RectorConfigBuilderRector (#5638 )
2024-02-19 16:14:10 +00:00
Tomas Votruba
a8232e0579
Updated Rector to commit d5c3fc753e321db315a8205ce5853ccf878b9f1e
...
d5c3fc753e
[Transform] Allow transform ruleWithConfiguration() to withConfiguredRule() on RectorConfigBuilderRector (#5637 )
2024-02-19 13:23:36 +00:00
Tomas Votruba
35b646559b
Updated Rector to commit 914349ca92cb1df4463b46f541c6e249045bd4ca
...
914349ca92
[CodeQuality] Skip not autoloaded parent class on CompleteDynamicPropertiesRector (#5636 )
2024-02-18 18:32:48 +00:00
Tomas Votruba
6c843cb4e4
Updated Rector to commit 287deb27d125f599680faab4fec715dad4e61feb
...
287deb27d1
[PHPStan] Clean up ignore errors (#5634 )
2024-02-18 15:45:54 +00:00
Tomas Votruba
b3c461facb
Updated Rector to commit a8d0dbeb7191d57af0ac9068adf644730f728c83
...
a8d0dbeb71
Add const fetch to class const fetch rector. (#5627 )
2024-02-18 09:11:32 +00:00
Tomas Votruba
2f5015d654
Updated Rector to commit a4f28525c9df28ed142eabe1cde70035715fa785
...
a4f28525c9
[Transform] Allow transform bootstrapFiles() to withBootstrapFiles() on RectorConfigBuilderRector (#5633 )
2024-02-18 00:33:46 +00:00
Tomas Votruba
30b36b6a9d
Updated Rector to commit b621800bef5b820ef28b3d90d670b3f644e0c808
...
b621800bef
[Transform] Allow transform autoloadPaths() to withAutoloadPaths() on RectorConfigBuilderRector (#5630 )
2024-02-18 00:23:41 +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
0d8881ecb3
Updated Rector to commit 39d9c321b99b58ebe32131f08e42cfa4b517ed79
...
39d9c321b9
[Php83] Early check private method in child before check parent on AddOverrideAttributeToOverriddenMethodsRector (#5622 )
2024-02-16 14:42:02 +00:00
Tomas Votruba
6ef7f81fc3
Updated Rector to commit c4dd05e2e3ae6359ff4eb57ce7d7bd7619da139d
...
c4dd05e2e3
[CodeQuality] Add StaticToSelfStaticMethodCallOnFinalClassRector (#5621 )
2024-02-15 12:52:16 +00:00
Tomas Votruba
53742c371b
Updated Rector to commit 70fa502a59dfb8f81011a46a456e1ccb4051be76
...
70fa502a59
[CodeQuality] Skip private static call from static:: on LocallyCalledStaticMethodToNonStaticRector (#5620 )
2024-02-15 09:08:32 +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
f863e8b003
Updated Rector to commit 7de77e518f7b47b7c7ba0d96152d4acdad958639
...
7de77e518f
[TypeDeclaration] Add AddTestsVoidReturnTypeWhereNoReturnRector (#5611 )
2024-02-12 22:55:41 +00:00
Tomas Votruba
a120574816
Updated Rector to commit 14eb72c7bb6edc4a6e80c73c722f54465d947531
...
14eb72c7bb
[DeadCode] Handle used in assign return on RemoveUnusedPrivatePropertyRector (#5608 )
2024-02-12 14:51:52 +00:00
Tomas Votruba
7f9bb2ae80
Updated Rector to commit df8d2b78edd46542e6426fec606c3ea98d712532
...
df8d2b78ed
Copy subtype phpdoc on ClassPropertyAssignToConstructorPromotionRector (#8438 ) (#5603 )
2024-02-11 09:00:00 +00:00
Tomas Votruba
54904b716f
Updated Rector to commit 77ec96e4e8ec9e3a1d514df878e6eadcd199feb8
...
77ec96e4e8
[Transform] Allow class const fetch value on rules() on RectorConfigBuilderRector (#5596 )
2024-02-10 13:37:38 +00:00
Tomas Votruba
3f928476d9
Updated Rector to commit 2c65489cfd178fbd0e4d2b52b504a7541e34bc59
...
2c65489cfd
[Php81] Skip another possible cast array to string on NullToStrictStringFuncCallArgRector (#5589 )
2024-02-09 08:50:13 +00:00
Tomas Votruba
e5f35d1a39
Updated Rector to commit 178ce5c65a820a5c42c7928486a044b44a976436
...
178ce5c65a
[Php81] Skip possible array on NullToStrictStringFuncCallArgRector (#5587 )
2024-02-08 13:13:45 +00:00
Tomas Votruba
7bb5d0c0c4
Updated Rector to commit 5b3d656a003e72540050d47e00285341a96b5796
...
5b3d656a00
[Custom] Add "detect-node" command to help with writing custom rules (#5576 )
2024-02-07 16:28:52 +00:00
Tomas Votruba
af18c3962f
Updated Rector to commit 667983116e7c8ec828a0b9b1877f90e4faf532e0
...
667983116e
[Transform] Transform skip() to withSkip() on RectorConfigBuilderRector (#5575 )
2024-02-07 13:22:56 +00:00
Tomas Votruba
0d0320e989
Updated Rector to commit 5a5ea60f6dffdd0a63e04a64f8061f53facd46b3
...
5a5ea60f6d
[Transform] Transform paths() to withPaths() on RectorConfigBuilderRector (#5574 )
2024-02-07 13:11:49 +00:00
Tomas Votruba
ed0dadf714
Updated Rector to commit bd37496639378be3e1b72dec430ef906f0a6e94d
...
bd37496639
[DeadCode] Skip with magic __get() on RemoveUnusedPromotedPropertyRector (#5573 )
2024-02-07 12:31:25 +00:00
Tomas Votruba
914c0a8e27
Updated Rector to commit af4d3db31bacab922d47b2551cec66644e3568b7
...
af4d3db31b
[PHP81] Skip after is_string on object call on NullToStrictStringFuncCallArgRector (#5572 )
2024-02-07 10:34:12 +00:00
Tomas Votruba
c65d65d663
Updated Rector to commit 7976482b3b067758fc88b000794e8cb94a4b2389
...
7976482b3b
ExplicitBoolCompareRector: skip phpdoc (#5567 )
2024-02-06 14:37:09 +00:00
Tomas Votruba
64d401b643
Updated Rector to commit 9a44c19598a21aff4b6b38f9a0db3b5ca30337c6
...
9a44c19598
[Transform] Transform rules() to withRules() on RectorConfigBuilderRector (#5566 )
2024-02-06 06:23:36 +00:00
Tomas Votruba
428336c22c
Updated Rector to commit 09398c3d4f07bb6ad664a55b87cab955278a467e
...
09398c3d4f
Decouple AddFunctionVoidReturnTypeWhereNoReturnRector to allow leveling by simple node first (#5563 )
2024-02-05 16:07:43 +00:00
Tomas Votruba
d00ebb838c
Updated Rector to commit 56c250771518c2aa2e17bc64c9986c2dbe9b6fd8
...
56c2507715
Decouple AddClosureVoidReturnTypeWhereNoReturnRector to allow leveling by simple node first (#5562 )
2024-02-05 15:56:19 +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
8e25ebe2a2
Updated Rector to commit ba1cad35898880f6de97c9743aab96d2ac90ba73
...
ba1cad3589
[Privatization] Fix reprint with attribute on FinalizeTestCaseClassRector (#5557 )
2024-02-04 21:10:29 +00:00
Tomas Votruba
e394be7dd2
Updated Rector to commit 2dd395167cdc146a1b566bae9c5c2f2885e55c16
...
2dd395167c
[TypeDeclaration] Skip assign in construct with method call property same name on RestoreDefaultNullToNullableTypePropertyRector (#5556 )
2024-02-04 20:46:49 +00:00
Tomas Votruba
b707660218
Updated Rector to commit 081cf7f7e508428f259b83125883178632e350dc
...
081cf7f7e5
[Transform] Add RectorConfigBuilderRector (#5551 )
2024-02-04 11:05:31 +00:00
Tomas Votruba
59f9eb1491
Updated Rector to commit 715103cdf1ecad0b4668f3b9e38582b3e5b55fbe
...
715103cdf1
Add support for YieldFrom into places where Yield_ is checked (#5499 )
2024-02-03 22:50:20 +00:00
Tomas Votruba
e45bc25429
Updated Rector to commit 06fa177cb6524bdd1a3338ed5d98871ef7a5590e
...
06fa177cb6
Fix make ReadOnlyPropertyRector skip if traits are used, as not reliable (#5548 )
2024-02-03 21:46:29 +00:00
Tomas Votruba
2080c1456d
Updated Rector to commit 1848724bf2308c31e53d0937013715fa7a40a9c3
...
1848724bf2
[EarlyReturn] Skip append variable in PreparedValueToEarlyReturnRector (#8390 ) (#5545 )
2024-02-02 21:56:32 +00:00
Tomas Votruba
5c93328f48
Updated Rector to commit cdc57233696fd680c8ebe3040b02c54d1da9c779
...
cdc5723369
[TypeDeclaration] Change bool to false or true docblock when union has false/true standalone type on ReturnUnionTypeRector (#5543 )
2024-02-02 06:45:48 +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
22c18b8179
Updated Rector to commit f03a6fd7d060535a5c124fe461190aafc527364e
...
f03a6fd7d0
[Privatization] Add FinalizeTestCaseClassRector (#5539 )
2024-01-31 23:36:35 +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
dc77b4b2a6
Updated Rector to commit cbc077340ed5ee4a062caa32ab91cd8cb0d4ec6e
...
cbc077340e
[stabilize] Deprecate FinalizeClassesWithoutChildrenRector as causing bugs without full context (#5535 )
2024-01-31 21:40:00 +00:00
Tomas Votruba
e377d35b97
Updated Rector to commit 2efd564640e94edf09f95f3872adb11e059f5fb8
...
2efd564640
[stabilize] Deprecate FinalizePublicClassConstantRector as not reliable and causes uncontroller changed (#5534 )
2024-01-31 14:27:18 +00:00
Tomas Votruba
a28aa22831
Updated Rector to commit 27791d1456c5ade373a0ba9d818404805eee89f4
...
27791d1456
[Php81] Allow nullable union on NullToStrictStringFuncCallArgRector (#5532 )
2024-01-31 13:37:12 +00:00
Tomas Votruba
aace6ea006
Updated Rector to commit 7294e98a19531d580c3ba901c147ea0a52282595
...
7294e98a19
Fix AddMethodCallBasedStrictParamTypeRector if already has a type (#5530 )
2024-01-30 23:57:24 +00:00
Tomas Votruba
97c24103e6
Updated Rector to commit 6046c24443d9bfdfe5bf8638fb82e03703ee1df8
...
6046c24443
[CodingStyle] Return null on no change on StrictArraySearchRector (#5528 )
2024-01-30 20:48:28 +00:00
Tomas Votruba
8fe9717aee
Updated Rector to commit 3c51cd8ebebd6840a0374e367308049c36761ee0
...
3c51cd8ebe
[EarlyReturn] Improve RemoveAlwaysElseRector to handle multiple ElseIfs (#8178 ) (#5521 )
2024-01-30 09:02:15 +00:00
Tomas Votruba
3c3170a04e
Updated Rector to commit 171fddb1a1e9c54e194130ffe039809721d1f465
...
171fddb1a1
add withPhpSets() methods (#5519 )
2024-01-29 23:52:40 +00:00
Tomas Votruba
826292d8c1
Updated Rector to commit 52398c81f9e88bde858cd2d79d481ae66190abc7
...
52398c81f9
[Php83] add string type to concat constant (#5516 )
2024-01-29 16:18:28 +00:00
Tomas Votruba
cd34331aa7
Updated Rector to commit c2cdcd3922d06924acfbf4a792eec61dccbee03e
...
c2cdcd3922
[CodeQuality] Fix logic start with [^ on SimplifyRegexPatternRector to ensure only skip on this case (#5495 )
2024-01-23 16:37:59 +00:00
Tomas Votruba
aa518bb95d
Updated Rector to commit dd02659ec90240c9452ccb86e48fb53879572935
...
dd02659ec9
[CodeQuality] Skip surplus open square bracket on SimplifyRegexPatternRector (#5494 )
2024-01-23 15:52:42 +00:00
Tomas Votruba
e4d714cf5f
Updated Rector to commit f7caedf1b61070322bfb44bb266fbf26f8c993d3
...
f7caedf1b6
[Performance][PhpParser] Deprecate InlineCodeParser::parse(), extract into parseFile() and parseString() (#5482 )
2024-01-23 09:41:00 +00:00
Tomas Votruba
c36d19ef56
Updated Rector to commit aa66151ff14da601b4b155f4a876ad2a2070259c
...
aa66151ff1
[Performance] Remove unnecessary FunctionLikeParamPositionNodeVisitor (#5491 )
2024-01-22 14:26:31 +00:00
Tomas Votruba
0fc99839e2
Updated Rector to commit a2ff229df99785b6b51721d929a750f51e72f57a
...
a2ff229df9
Fix phpstan (#5489 )
2024-01-21 23:21:57 +00:00
Tomas Votruba
b140c86242
Updated Rector to commit 46dd96122bdeb7b893f518bd131c69093b6da752
...
46dd96122b
[Renaming] Remove rename class name (#5488 )
2024-01-21 23:15:27 +00:00
Tomas Votruba
599ee7833e
Updated Rector to commit be53faca08c2f5c3ebafb636e766788676f54d28
...
be53faca08
[Renaming] Remove namespace renames in ClassRename, as it should only rename references, not move to new namespace (#5487 )
2024-01-21 21:13:24 +00:00
Tomas Votruba
6cacf30624
Updated Rector to commit 7e2495e5f572bb566a845a0e1a6329cf141f872d
...
7e2495e5f5
[Php70] Skip inside Encapsed on ThisCallOnStaticMethodToStaticCallRector (#5481 )
2024-01-19 14:05:32 +00:00
Tomas Votruba
f605aeb93f
Updated Rector to commit 76714b95f240409a6fad92725ea19c870ed3ff14
...
76714b95f2
[Printer] Remove unnecessary BetterStandardPrinter::pStmt_Use() (#5478 )
2024-01-18 20:41:36 +00:00
Tomas Votruba
566e0f2b70
Updated Rector to commit 985d5ea5109e1282f35370006ad7ac26df7789de
...
985d5ea510
cs
2024-01-17 14:38:19 +00:00
Tomas Votruba
0d611d897a
Updated Rector to commit 07df7dc1a344c52711441149d61251a4fe10366d
...
07df7dc1a3
Remove collector interface and fix SpatieEnumClassToEnumRector already has underscore to double underscore (#5473 )
2024-01-16 10:21:57 +00:00
Tomas Votruba
ec3d78eef4
Updated Rector to commit 5a3a59c50c7810296274eb4408737c8f2f8921e7
...
5a3a59c50c
Remove collectors, as performance very costly and not practically useful (#5470 )
2024-01-15 22:10:40 +00:00
Tomas Votruba
455fba49f9
Updated Rector to commit 9d310ce5daca61f51f35e3c8755a442998f1c536
...
9d310ce5da
Skip null type in ReturnTypeFromStrictScalarReturnExprRector as often not desired (#5462 )
2024-01-13 09:43:24 +00:00
Tomas Votruba
8b20f236c0
Updated Rector to commit 2ec55701f292770fc7be3ca6e434d437e59c333b
...
2ec55701f2
[Performance] Fix filter cache on SkippedClassResolver (#5460 )
2024-01-13 01:44:47 +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
e61f4b3c7b
Updated Rector to commit f24b01ae0af6cdf4517fee0d74d79cc39d31f602
...
f24b01ae0a
Remove CI status for rector/phpstan-rules on Readme (#5456 ) (#5458 )
2024-01-11 15:31:55 +00:00
Tomas Votruba
ca876bf90c
Updated Rector to commit 9193b276de2d9e51e063740a9fea61a559750f19
...
9193b276de
Clean up concat empty string on regex constant usage (#5449 )
2024-01-10 05:55:03 +00:00
Tomas Votruba
bddc91bccd
Updated Rector to commit b71c3265d5f90745d52b081a1201e3d97617e14a
...
b71c3265d5
fix: RenameMethodRector should handle NullsafeMethodCall (#5444 )
2024-01-07 16:56:38 +00:00
Tomas Votruba
29eada363c
Updated Rector to commit d3791938add9fe1faddfd404ab76183235c1df2f
...
d3791938ad
[automated] Apply Coding Standard (#5440 )
2024-01-07 00:31:04 +00:00
Tomas Votruba
1142f3d356
Updated Rector to commit 86e740248314edf23ef3307ac2a804a54c898282
...
86e7402483
Allows to convert Spatie enum names to snake upper case (#5435 )
2024-01-06 13:17:15 +00:00
Tomas Votruba
3c0a61462c
Updated Rector to commit 9a794f4ac4a100c1bffbf6af5a0c15f9628f3b90
...
9a794f4ac4
[TypeDeclaration] Handle with default null on ParamTypeByMethodCallTypeRector (#5437 )
2024-01-06 06:01:40 +00:00
Tomas Votruba
8728d93e41
Updated Rector to commit 55a787b9a2a18d7b131e74f0bc0d244989f6c92e
...
55a787b9a2
[CodeQuality] Handle crash with call inside loop on SimplifyForeachToCoalescingRector (#5436 )
2024-01-06 05:25:58 +00:00
Tomas Votruba
2b45fbe814
Updated Rector to commit 3d71ae36b00e22fb5430e1812af95182c0e58904
...
3d71ae36b0
[TypeDeclaration] Skip re-assign with call and use as arg on StrictArrayParamDimFetchRector (#5434 )
2024-01-05 13:43:19 +00:00
Tomas Votruba
b433dedda4
Updated Rector to commit d4f6b91f922bd52289d923aff07691d07e455cb1
...
d4f6b91f92
[TypeDeclaration] Allow both integer and string index array on StrictArrayParamDimFetchRector (#5433 )
2024-01-05 13:13:40 +00:00
Tomas Votruba
feacfd524a
Updated Rector to commit 971571be0cbcc21f1d6c7861c17423aef053b499
...
971571be0c
[TypeDeclaration] Skip with empty() check on StrictArrayParamDimFetchRector (#5432 )
2024-01-05 12:46:00 +00:00
Tomas Votruba
41a86add1d
Updated Rector to commit b007a8bd11ea0451b50dbafbacd5450b295f6266
...
b007a8bd11
[Php83] Add implements interface support on AddOverrideAttributeToOverriddenMethodsRector (#5429 )
2024-01-04 19:14:21 +00:00
Tomas Votruba
5457aea4e0
Updated Rector to commit 1f9829d2a3820f39fe0601b996c5cba71ffb42b0
...
1f9829d2a3
[Strict] Add StaticProperty supporton may be unitialized static property on DisallowedEmptyRuleFixerRector (#5428 )
2024-01-04 15:49:28 +00:00
Tomas Votruba
5c10ef9158
Updated Rector to commit 09c077e25801da58834be284a792c3987ea806ef
...
09c077e258
[TypeDeclaration] Add false and true in union support on ReturnUnionTypeRector (#5355 )
2024-01-03 07:52:06 +00:00
Tomas Votruba
1daa932d00
Updated Rector to commit 5c0397910fbd9735c375c4632ec116ebe8609f25
...
5c0397910f
Add missing rule doc (#5426 )
2024-01-02 21:38:33 +00:00
Tomas Votruba
350042dba4
Updated Rector to commit 9144efc05cf4d084d4af69f4df0be9d7a66e5869
...
9144efc05c
Keep called method in RemoveEmptyClassMethodRector (#5425 )
2024-01-02 20:43:50 +00:00
Tomas Votruba
3a49fcd8d5
Updated Rector to commit 8724feefea91743e05006cb1329c5cd1675b5003
...
8724feefea
Skip cond with side effect in RemoveDeadConditionAboveReturnRector (#5424 )
2024-01-02 20:16:55 +00:00
Tomas Votruba
35d4ae5ad9
Updated Rector to commit d886cffeded58fb4b5a55182f4b98b796545c18e
...
d886cffede
[build] Try removing scope aliases
2024-01-02 02:50:51 +00:00
Tomas Votruba
0601eaa986
Updated Rector to commit cf0d54eb5996ded864208ee940fb794e7440ea6a
...
cf0d54eb59
fix Core namespace
2024-01-02 02:42:51 +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
3916887582
Updated Rector to commit 9f937086898498f37d71977895312cbdb7fdbc6a
...
9f93708689
[Strict] Handle may be unitialized property on DisallowedEmptyRuleFixerRector (#5409 )
2024-01-01 13:26:19 +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
4bfd1e7acf
Updated Rector to commit 0d424e1b978cd70d0aafe6e095f19fb67adb8de3
...
0d424e1b97
[psr-4] Move tests to main namespace, as part of /src and /packages merge (#5406 )
2023-12-31 23:42:36 +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
6b98134b54
Updated Rector to commit 9c7842f036e9164616582ea6e8b2ce95f90426e4
...
9c7842f036
[ecs] tidy up config (#5403 )
2023-12-31 19:44:21 +00:00
Tomas Votruba
67d86f3aa4
Updated Rector to commit fff370b2c0f029203b7c53b96e4a7b8e9217af76
...
fff370b2c0
[Php83] Handle dynamic host and port values on CombineHostPortLdapUriRector (#5401 )
2023-12-31 12:20:56 +00:00
Tomas Votruba
b1b95d1c64
Updated Rector to commit e044d50e9b7b04c5ef7454044721dbf16b4b75f8
...
e044d50e9b
[TypeDeclaration] optionally only add types for hard coded return values in `ReturnTypeFromStrictScalarReturnExprRector` (#5364 )
2023-12-30 11:58:36 +00:00
Tomas Votruba
38b33113ca
Updated Rector to commit 109d734969100cf97bdc820e7c369c90e9e4016a
...
109d734969
[Php83] Add CombineHostPortLdapUriRector (#5397 )
2023-12-27 22:04:09 +00:00
Tomas Votruba
95ed962a15
Updated Rector to commit 6646d23fe0cea4b4a871ca1931e33f0cb2a574c7
...
6646d23fe0
[CodingStyle] Add RemoveUselessAliasInUseStatementRector (#5394 )
2023-12-26 17:40:03 +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
462b60a70a
Updated Rector to commit c6ca4f1f5ccdf73d9aa0f8f441267725e07aee67
...
c6ca4f1f5c
[Performance][TypeDeclaration] Avoid using AstResolver on class is on same file on AllAssignNodePropertyTypeInferer (#5387 )
2023-12-24 03:11:42 +00:00
Tomas Votruba
06a8e6394a
Updated Rector to commit 012e8bb2ed77516c792e3fb9c777066c3776abcc
...
012e8bb2ed
Skip non-final class method with no content in AddVoidReturnTypeWhereNoReturnRector (#5386 )
2023-12-24 01:21:59 +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
3d9b6b2c99
Updated Rector to commit 620321b3833dd450a7de79a620a07c7131342422
...
620321b383
Add ReturnTypeFromStrictBoolReturnExprRector support for if/else returns (#5384 )
2023-12-23 21:26:40 +00:00
Tomas Votruba
f77e8b8450
Updated Rector to commit 16f8d19db32108740794a68a011c78328bb69aed
...
16f8d19db3
Fix StrictArrayParamDimFetchRector for string access (#5383 )
2023-12-23 20:44:18 +00:00
Tomas Votruba
80dad1d8c8
Updated Rector to commit a644d0d4a2f1e457f77cf8e384fd32b78b5ff388
...
a644d0d4a2
[Arguments] Allow no default value on ArgumentAdderRector (#5382 )
2023-12-23 19:44:26 +00:00
Tomas Votruba
a4aba10ad7
Updated Rector to commit 3cef752763be750ea221c5c5eb1681d27398a3d5
...
3cef752763
Skip classes without final and exception as possibly invoke child implement in AddVoidReturnTypeWhereNoReturnRector (#5381 )
2023-12-23 15:28:34 +00:00
Tomas Votruba
94baa5fede
Updated Rector to commit 8df2120b3f546dd7f0eb89bf199a042dfc9283e7
...
8df2120b3f
Skip void without final keyword in ReturnNeverTypeRector as could be implemented with more precise children (#5379 )
2023-12-23 14:51:47 +00:00
Tomas Votruba
1ce9a4da5a
Updated Rector to commit c2c6558cde8138d5509b306bd499e013ac5da2e9
...
c2c6558cde
[TypeDeclaration] Allow add void return type on magic __invoke() method on AddVoidReturnTypeWhereNoReturnRector (#5376 )
2023-12-22 17:39:40 +00:00
Tomas Votruba
949ab12adb
Updated Rector to commit 7ca4de097ed6b2f0f2b20a8f2b55ea2121120173
...
7ca4de097e
[DeadCode] Skip nullable array on RemoveUnusedNonEmptyArrayBeforeForeachRector (#5375 )
2023-12-21 15:22:15 +00:00
Tomas Votruba
40ac5bade5
Updated Rector to commit 4283beff2f78d5820f27384826d5d1b75d3ff62a
...
4283beff2f
[CodeQuality] Skip method call on else on TernaryFalseExpressionToIfRector (#5373 )
2023-12-18 12:32:23 +00:00
Tomas Votruba
335a3861f8
Updated Rector to commit 63201f76725831988f1484476f6f84e0976a5742
...
63201f7672
[CodeQuality] Skip Superglobals variable on SimplifyEmptyCheckOnEmptyArrayRector (#5369 )
2023-12-17 09:24:20 +00:00
Tomas Votruba
785ac22e33
Updated Rector to commit 89d2c9c4eb2bfddc226136899b1fdb0a99d19a8a
...
89d2c9c4eb
[Php72] Remove usage on PrivatesAccessor on AnonymousFunctionFactory (#5367 )
2023-12-17 06:37:00 +00:00
Tomas Votruba
d525e926d3
Updated Rector to commit 1dcebfe29713124a43504c9a4bac322fa2f41f59
...
1dcebfe297
[automated] Apply Coding Standard (#5365 )
2023-12-17 00:30:16 +00:00
Tomas Votruba
168d6a72a1
Updated Rector to commit 120e0ccfc40bc696d23a9e1d93b6662ea7dfa682
...
120e0ccfc4
Bump to php parser 4.18 (#5362 )
2023-12-16 15:55:14 +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
7bf2453858
Updated Rector to commit 227e97477c44de40c165bba4b72e48dd954151d5
...
227e97477c
[Transform] Do not create a new node if the existing node is already the correct one on AttributeKeyToClassConstFetchRector (#5328 )
2023-12-16 02:55:33 +00:00